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

benchmarks: remove all sample_time usage

Setting sample_time to 10 means each variant will be run for 10s and 10 time at
mininum. For test with many fast variant the impact on runtime gets very
problementation. Dropping this move a full run back to a bit less than 2 hours (from
about 18 hours). In the future, we might carefully reintroduce more run in the
case where this seems problematic not to.
parent 87dce27d7298
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,6 @@
class TimeTestSuite(BaseTestSuite):
timer = timeit.default_timer
sample_time = 10
def time_emptystatus(self, *args, **kwargs):
self.hg('status')
......@@ -130,7 +129,6 @@
class ArchiveTimeTestSuite(BaseTestSuite):
timer = timeit.default_timer
sample_time = 10
timeout = 300
param_names = TimeTestSuite.param_names
params = TimeTestSuite.params + [['files', 'tar']]
......@@ -152,7 +150,6 @@
class LogTimeTestSuite(BaseNChangesetsTestSuite):
timer = timeit.default_timer
sample_time = 10
timeout = 300
def time_log_history(self, repo, n):
......@@ -163,7 +160,6 @@
timeout = 500
timer = timeit.default_timer
sample_time = 10
def time_up_tip(self, repo, n):
self.hg("up", "-r", "tip~%d" % n)
......@@ -173,7 +169,6 @@
class BundleTimeTestSuite(BaseNChangesetsTestSuite):
timer = timeit.default_timer
sample_time = 10
timeout = 500
def time_bundle(self, repo, n):
......@@ -234,7 +229,6 @@
get_strip_variants(),
[None, 'default']]
timer = timeit.default_timer
sample_time = 10
timeout = 1800
def _remote_path_cmd(self, path):
......
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