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

discovery: add a balanced discovery test

This benchmark measure cases where both side has missing changed. pypy and
mozilla-try has partial variant for it.
parent 5b33a783ff35
No related branches found
No related tags found
No related merge requests found
......@@ -420,6 +420,16 @@
return self._track_discovery(self, *args, **kwargs)
track_discovery_superset.benchmark_name = 'basic_commands.DiscoveryTimeSuite.track_discovery_superset'
@setup_role
class DiscoveryStandardTimeSuite(BaseDiscoveryTimeSuite):
role_action = 'discovery'
role_subtype = 'balanced'
@params_as_kwargs
@not_broken_hgweb
def track_balanced(self, *args, **kwargs):
return self._track_discovery(self, *args, **kwargs)
track_balanced.benchmark_name = 'exchange.discovery.changesets.track_balanced'
class UnbundleTimeSuite(BaseExchangeTimeSuite):
params = BaseTestSuite.params + [
......
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