Skip to content
Snippets Groups Projects
Commit 40f4d4427be8 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

benchmark: also track the `hash` section of `perfrevlogrevision`

parent e70b0ab7afb6
No related branches found
No related tags found
No related merge requests found
......@@ -208,3 +208,11 @@
return float('nan')
return data["full"].get('median', float('nan'))
@params_as_kwargs
def track_hash(self, *args, **kwargs):
cmd = ["perfrevlogrevision", "--manifest", "--", "-1"]
data = self.getperfdata((-1,), cmd)
if data is None:
return float('nan')
return data["hash"].get('median', float('nan'))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment