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

workers: also benchmark work variation for diff

parent 7b399f85cddd
No related branches found
No related tags found
No related merge requests found
......@@ -9,4 +9,9 @@
values=[1, 2],
default=1,
targets=r"^simple_command.write.track_commit"),
migrations.AddBenchParam(
name="max_worker_count",
values=[1, 2],
default=1,
targets=r"^simple_command.read.diff.empty.time_bench"),
]
......@@ -87,4 +87,7 @@
class DiffTestSuite(BaseTestSuite):
param_names = BaseTestSuite.param_names + ["max_worker_count"]
params = BaseTestSuite.params + [(1, 2)]
@benchmark_name('simple_command.read.diff.empty.time_bench')
......@@ -90,4 +93,6 @@
@benchmark_name('simple_command.read.diff.empty.time_bench')
@params_as_kwargs
@use_workers
def time_emptydiff(self, *args, **kwargs):
self.hg('diff')
......
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