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

benchmark: use getperfdata in RevlogReadOneTestSuite

This is a first step toward tracking the other data from `perfrevlogrevision`
parent 734c30302727
No related branches found
No related tags found
No related merge requests found
......@@ -202,7 +202,8 @@
@params_as_kwargs
def track_full(self, *args, **kwargs):
data = self.perfextjson("perfrevlogrevision", "--manifest", "--", "-1")
cmd = ["perfrevlogrevision", "--manifest", "--", "-1"]
data = self.getperfdata((-1,), cmd)
if data is None:
return float('nan')
return data["full"].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