# HG changeset patch # User Pierre-Yves David <pierre-yves.david@octobus.net> # Date 1534240839 -7200 # Tue Aug 14 12:00:39 2018 +0200 # Node ID d4af0d776a23cdd4432ce0afb8e17978c05699aa # Parent 4be60bd91f2f89bd973fc4085fb9180a95473560 time_archive: disable the "files" variant The `time_archive` benchmark is a long and "files" tends to files on larger repository. We disable it for now. If in the future we start focusing on `hg archive` performance, we can start optimizing this tests. diff --git a/benchmarks/basic_commands.py b/benchmarks/basic_commands.py --- a/benchmarks/basic_commands.py +++ b/benchmarks/basic_commands.py @@ -128,7 +128,12 @@ class ArchiveTimeTestSuite(BaseTestSuite): timeout = 300 param_names = TimeTestSuite.param_names + ['type'] - params = TimeTestSuite.params + [['files', 'tar']] + # The "file" type have been disabled. It does not yield very different + # result than tar and taks a lot of time. creating and deleting many file + # is expensive compared to creating and deleting a single tar + # + # params = TimeTestSuite.params + [['files', 'tar']] + params = TimeTestSuite.params + [['tar']] def setup(self, *args, **kwargs): super(ArchiveTimeTestSuite, self).setup(*args, **kwargs)