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

benchmark: add some benchmark for `hg version`

For mercurial, this is close to getting some "hello work" timing, we should have
this.
parent d4a682de
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,18 @@
median,
)
class VersionTestSuite(BaseTestSuite):
@benchmark_name('simple_command.read.version.default.time_bench')
def time_version_default(self, *args, **kwargs):
self.hg('version')
@benchmark_name('simple_command.read.version.verbose.time_bench')
def time_version_verbose(self, *args, **kwargs):
self.hg('version', '--verbose')
class TestSuite(BaseTestSuite):
timeout = 300
......
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