diff --git a/benchmarks/basic_commands.py b/benchmarks/basic_commands.py index 6cd481c0200414611cc5b6dbcb659cf645519d4e_YmVuY2htYXJrcy9iYXNpY19jb21tYW5kcy5weQ==..8be82a2ffa5817cd9933b36169be17b0ea6efd0f_YmVuY2htYXJrcy9iYXNpY19jb21tYW5kcy5weQ== 100644 --- a/benchmarks/basic_commands.py +++ b/benchmarks/basic_commands.py @@ -6,6 +6,7 @@ from .utils import ( BaseTestSuite, + benchmark_name, params_as_kwargs, median, ) @@ -17,6 +18,7 @@ params = BaseTestSuite.params + [("create", "update")] param_names = BaseTestSuite.param_names + ["mode"] + @benchmark_name('simple_command.write.track_commit') @params_as_kwargs def track_commit(self, mode, **kwargs): timings = [] diff --git a/tests/test-smoke-test.t b/tests/test-smoke-test.t index 6cd481c0200414611cc5b6dbcb659cf645519d4e_dGVzdHMvdGVzdC1zbW9rZS10ZXN0LnQ=..8be82a2ffa5817cd9933b36169be17b0ea6efd0f_dGVzdHMvdGVzdC1zbW9rZS10ZXN0LnQ= 100644 --- a/tests/test-smoke-test.t +++ b/tests/test-smoke-test.t @@ -275,7 +275,7 @@ [ 0.00%] - For mercurial commit fe3ca1e6: [ 0.00%] -- Benchmarking virtualenv-py2.7-pyyaml-HGMODULEPOLICYrust+c [ 50.00%] --- Setting up utils:* ok (glob) - [ 50.00%] --- basic_commands.TestSuite.track_commit ok + [ 50.00%] --- simple_command.write.track_commit ok [ 50.00%] --- ============== ========================= =============================== ======================= ===================== ========================== ============================ ========================== ======== ===== repo repo-format-compression repo-format-compression-level repo-format-dotencode repo-format-fncache repo-format-generaldelta repo-format-plain-cl-delta repo-format-sparserevlog mode -------------- ------------------------- ------------------------------- ----------------------- --------------------- -------------------------- ---------------------------- -------------------------- -------- ----- @@ -287,7 +287,7 @@ [ 50.00%] -- Benchmarking virtualenv-py2.7-pyyaml-HGMODULEPOLICYc-HGWITHRUSTEXTcpython [100.00%] --- Setting up utils:* ok (glob) - [100.00%] --- basic_commands.TestSuite.track_commit ok + [100.00%] --- simple_command.write.track_commit ok [100.00%] --- ============== ========================= =============================== ======================= ===================== ========================== ============================ ========================== ======== ===================== repo repo-format-compression repo-format-compression-level repo-format-dotencode repo-format-fncache repo-format-generaldelta repo-format-plain-cl-delta repo-format-sparserevlog mode -------------- ------------------------- ------------------------------- ----------------------- --------------------- -------------------------- ---------------------------- -------------------------- -------- ---------------------