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

benchmark: introduce a new boundary revision for status related perf

In this changesets, we introduced the `hg perfstatus --dirstate` command.
parent 39a4a5200e8d
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,9 @@
# lazy point to modern version if anything before 5.2rc0
PERF_REV0 = b"59338f956109"
# introduction of `hg perfstatus --dirstate
PERF_REV1 = b"bfc68404cccd"
class PerfDirstateSuite(BaseTestSuite):
......@@ -20,6 +23,11 @@
kwargs['perfextversion'] = PERF_REV0
return super(PerfDirstateSuite, self).perfextjson(*args, **kwargs)
def r1perfextjson(self, *args, **kwargs):
if not self._matchrevset(PERF_REV1+ b'::', self.get_asv_rev()):
kwargs['perfextversion'] = PERF_REV1
return super(PerfDirstateSuite, self).perfextjson(*args, **kwargs)
@benchmark_name('internal.dirstate.load.track_time')
@params_as_kwargs
def track_load(self, *args, **kwargs):
......
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