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

benchmark: remove the old rename variant

This test is no longer needed.
parent f937911243cf
No related branches found
No related tags found
No related merge requests found
......@@ -7,56 +7,6 @@
REPO_DETAILS,
)
class OldPerfTracecopiesSuite(BaseTestSuite):
params = BaseTestSuite.params + [
("default",),
]
param_names = BaseTestSuite.param_names + ["copies-data"]
timeout = 300
@benchmark_name('internal.rename.track_tracecopies_large')
@params_as_kwargs
def track_tracecopies_large(self, *args, **kwargs):
"""benchmark the tracecopies logic over a large amount of candidates
This benchmark requires the repository data to specify the following value:
benchmark-variables:
trace-copies:
large:
source: REV
destination: REV
"""
missing_cmd = b'::p1(2e9fe9e2671fee0a564ca77e2f3656248163cb51)'
if self._matchrevset(missing_cmd, self.get_asv_rev()):
raise NotImplementedError("perfpathcopies not available")
x = REPO_DETAILS.get(self.repo_name)
x = x.get('benchmark-variables', {})
x = x.get('trace-copies', {})
x = x.get('large', {})
source = x.get('source')
destination = x.get('destination')
if source is None or destination is None:
raise NotImplementedError("no target defined for this source")
cmd = ['perfpathcopies']
cmd.append(source)
cmd.append(destination)
return self.perfext(*cmd)
# If we want to add the changesets compatibility option, here was the
# old code
#
#if kwargs["copies-data"] == "changeset-compability":
# skip =self.should_skip_benchmark
# if skip("(not 49ad315b39ee::)", self.get_asv_rev(), None, None):
# return float('nan')
# cmd.append("--config")
# cmd.append("experimental.copies.read-from=compatibility")
PERFPATHCOPIES_NODE = "2e9fe9e2671fee0a564ca77e2f3656248163cb51"
class PerfTracecopiesSuite(BaseTestSuite):
......
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