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

workers: also benchmark work variation for commit

parent c3f1b1fb065f
No related branches found
No related tags found
No related merge requests found
from asv import migrations
class Migration(migrations.Migration):
operations = [
migrations.AddBenchParam(
name="max_worker_count",
values=[1, 2],
default=1,
targets=r"^simple_command.write.track_commit"),
]
......@@ -28,8 +28,8 @@
timeout = 300
params = BaseTestSuite.params + [("create", "update")]
param_names = BaseTestSuite.param_names + ["mode"]
params = BaseTestSuite.params + [("create", "update")] + [(1, 2)]
param_names = BaseTestSuite.param_names + ["mode"] + ["max_worker_count"]
@benchmark_name('simple_command.write.track_commit')
@params_as_kwargs
......@@ -33,6 +33,7 @@
@benchmark_name('simple_command.write.track_commit')
@params_as_kwargs
@use_workers
def track_commit(self, mode, **kwargs):
timings = []
filename = None
......
......@@ -140,14 +140,16 @@
[ 25.00%] --- Setting up utils:*ok (glob)
[ 50.00%] -- Building for virtualenv-py3.7-pyyaml-HGMODULEPOLICYrust+c-HGWITHRUSTEXTcpython (?)
[ 25.00%] --- simple_command.write.track_commit ok
\[ 25.00%\] --- ============== ========================= =============================== ======================== ======================= ===================== ========================== ============================ ====================== ========================== ======== =+ (re)
repo repo-format-compression repo-format-compression-level repo-format-copies-sdc repo-format-dotencode repo-format-fncache repo-format-generaldelta repo-format-plain-cl-delta repo-format-sidedata repo-format-sparserevlog mode + (re)
-------------- ------------------------- ------------------------------- ------------------------ ----------------------- --------------------- -------------------------- ---------------------------- ---------------------- -------------------------- -------- -+ (re)
smoke-test-A zlib default False True True True True False True create +\d+\.\d+ * (re)
smoke-test-A zlib default False True True True True False True update +\d+\.\d+ * (re)
============== ========================= =============================== ======================== ======================= ===================== ========================== ============================ ====================== ========================== ======== =+ (re)
\[ 25.00%\] --- ============== ========================= =============================== ======================== ======================= ===================== ========================== ============================ ====================== ========================== ======== ================== =+ (re)
repo repo-format-compression repo-format-compression-level repo-format-copies-sdc repo-format-dotencode repo-format-fncache repo-format-generaldelta repo-format-plain-cl-delta repo-format-sidedata repo-format-sparserevlog mode max_worker_count + (re)
-------------- ------------------------- ------------------------------- ------------------------ ----------------------- --------------------- -------------------------- ---------------------------- ---------------------- -------------------------- -------- ------------------ -+ (re)
smoke-test-A zlib default False True True True True False True create 1 +\d+\.\d+ * (re)
smoke-test-A zlib default False True True True True False True create 2 +\d+\.\d+ * (re)
smoke-test-A zlib default False True True True True False True update 1 +\d+\.\d+ * (re)
smoke-test-A zlib default False True True True True False True update 2 +\d+\.\d+ * (re)
============== ========================= =============================== ======================== ======================= ===================== ========================== ============================ ====================== ========================== ======== ================== =+ (re)
[ 25.00%] -- Building for virtualenv-py2.7-pyyaml-HGMODULEPOLICYc-HGWITHRUSTEXTcpython
[ 25.00%] -- Benchmarking virtualenv-py2.7-pyyaml-HGMODULEPOLICYc-HGWITHRUSTEXTcpython
[ 50.00%] --- Setting up utils:* ok (glob)
[ 50.00%] --- simple_command.write.track_commit ok
......@@ -149,16 +151,18 @@
[ 25.00%] -- Building for virtualenv-py2.7-pyyaml-HGMODULEPOLICYc-HGWITHRUSTEXTcpython
[ 25.00%] -- Benchmarking virtualenv-py2.7-pyyaml-HGMODULEPOLICYc-HGWITHRUSTEXTcpython
[ 50.00%] --- Setting up utils:* ok (glob)
[ 50.00%] --- simple_command.write.track_commit ok
\[ 50.00%\] --- ============== ========================= =============================== ======================== ======================= ===================== ========================== ============================ ====================== ========================== ======== =+ (re)
repo repo-format-compression repo-format-compression-level repo-format-copies-sdc repo-format-dotencode repo-format-fncache repo-format-generaldelta repo-format-plain-cl-delta repo-format-sidedata repo-format-sparserevlog mode + (re)
-------------- ------------------------- ------------------------------- ------------------------ ----------------------- --------------------- -------------------------- ---------------------------- ---------------------- -------------------------- -------- -+ (re)
smoke-test-A zlib default False True True True True False True create +\d+\.\d+ * (re)
smoke-test-A zlib default False True True True True False True update +\d+\.\d+ * (re)
============== ========================= =============================== ======================== ======================= ===================== ========================== ============================ ====================== ========================== ======== =+ (re)
\[ 50.00%\] --- ============== ========================= =============================== ======================== ======================= ===================== ========================== ============================ ====================== ========================== ======== ================== =+ (re)
repo repo-format-compression repo-format-compression-level repo-format-copies-sdc repo-format-dotencode repo-format-fncache repo-format-generaldelta repo-format-plain-cl-delta repo-format-sidedata repo-format-sparserevlog mode max_worker_count + (re)
-------------- ------------------------- ------------------------------- ------------------------ ----------------------- --------------------- -------------------------- ---------------------------- ---------------------- -------------------------- -------- ------------------ -+ (re)
smoke-test-A zlib default False True True True True False True create 1 +\d+\.\d+ * (re)
smoke-test-A zlib default False True True True True False True create 2 +\d+\.\d+ * (re)
smoke-test-A zlib default False True True True True False True update 1 +\d+\.\d+ * (re)
smoke-test-A zlib default False True True True True False True update 2 +\d+\.\d+ * (re)
============== ========================= =============================== ======================== ======================= ===================== ========================== ============================ ====================== ========================== ======== ================== =+ (re)
[ 50.00%] -- Building for virtualenv-py3.7-pyyaml-HGMODULEPOLICYrust+c-HGWITHRUSTEXTcpython (?)
[ 50.00%] -- Benchmarking virtualenv-py3.7-pyyaml-HGMODULEPOLICYrust+c-HGWITHRUSTEXTcpython
[ 75.00%] --- Setting up utils:* ok (glob)
[ 75.00%] --- simple_command.write.track_commit ok
......@@ -160,16 +164,18 @@
[ 50.00%] -- Building for virtualenv-py3.7-pyyaml-HGMODULEPOLICYrust+c-HGWITHRUSTEXTcpython (?)
[ 50.00%] -- Benchmarking virtualenv-py3.7-pyyaml-HGMODULEPOLICYrust+c-HGWITHRUSTEXTcpython
[ 75.00%] --- Setting up utils:* ok (glob)
[ 75.00%] --- simple_command.write.track_commit ok
\[ 75.00%\] --- ============== ========================= =============================== ======================== ======================= ===================== ========================== ============================ ====================== ========================== ======== =+ (re)
repo repo-format-compression repo-format-compression-level repo-format-copies-sdc repo-format-dotencode repo-format-fncache repo-format-generaldelta repo-format-plain-cl-delta repo-format-sidedata repo-format-sparserevlog mode + (re)
-------------- ------------------------- ------------------------------- ------------------------ ----------------------- --------------------- -------------------------- ---------------------------- ---------------------- -------------------------- -------- -+ (re)
smoke-test-A zlib default False True True True True False True create +\d+\.\d+ * (re)
smoke-test-A zlib default False True True True True False True update +\d+\.\d+ * (re)
============== ========================= =============================== ======================== ======================= ===================== ========================== ============================ ====================== ========================== ======== =+ (re)
\[ 75.00%\] --- ============== ========================= =============================== ======================== ======================= ===================== ========================== ============================ ====================== ========================== ======== ================== =+ (re)
repo repo-format-compression repo-format-compression-level repo-format-copies-sdc repo-format-dotencode repo-format-fncache repo-format-generaldelta repo-format-plain-cl-delta repo-format-sidedata repo-format-sparserevlog mode max_worker_count + (re)
-------------- ------------------------- ------------------------------- ------------------------ ----------------------- --------------------- -------------------------- ---------------------------- ---------------------- -------------------------- -------- ------------------ -+ (re)
smoke-test-A zlib default False True True True True False True create 1 +\d+\.\d+ * (re)
smoke-test-A zlib default False True True True True False True create 2 +\d+\.\d+ * (re)
smoke-test-A zlib default False True True True True False True update 1 +\d+\.\d+ * (re)
smoke-test-A zlib default False True True True True False True update 2 +\d+\.\d+ * (re)
============== ========================= =============================== ======================== ======================= ===================== ========================== ============================ ====================== ========================== ======== ================== =+ (re)
[ 75.00%] -- Building for virtualenv-py3.7-pyyaml-HGMODULEPOLICYc-HGWITHRUSTEXTcpython
[ 75.00%] -- Benchmarking virtualenv-py3.7-pyyaml-HGMODULEPOLICYc-HGWITHRUSTEXTcpython
[100.00%] --- Setting up utils:* ok (glob)
[100.00%] --- simple_command.write.track_commit ok
......@@ -171,14 +177,16 @@
[ 75.00%] -- Building for virtualenv-py3.7-pyyaml-HGMODULEPOLICYc-HGWITHRUSTEXTcpython
[ 75.00%] -- Benchmarking virtualenv-py3.7-pyyaml-HGMODULEPOLICYc-HGWITHRUSTEXTcpython
[100.00%] --- Setting up utils:* ok (glob)
[100.00%] --- simple_command.write.track_commit ok
\[100.00%\] --- ============== ========================= =============================== ======================== ======================= ===================== ========================== ============================ ====================== ========================== ======== =+ (re)
repo repo-format-compression repo-format-compression-level repo-format-copies-sdc repo-format-dotencode repo-format-fncache repo-format-generaldelta repo-format-plain-cl-delta repo-format-sidedata repo-format-sparserevlog mode + (re)
-------------- ------------------------- ------------------------------- ------------------------ ----------------------- --------------------- -------------------------- ---------------------------- ---------------------- -------------------------- -------- -+ (re)
smoke-test-A zlib default False True True True True False True create +\d+\.\d+ * (re)
smoke-test-A zlib default False True True True True False True update +\d+\.\d+ * (re)
============== ========================= =============================== ======================== ======================= ===================== ========================== ============================ ====================== ========================== ======== =+ (re)
\[100.00%\] --- ============== ========================= =============================== ======================== ======================= ===================== ========================== ============================ ====================== ========================== ======== ================== =+ (re)
repo repo-format-compression repo-format-compression-level repo-format-copies-sdc repo-format-dotencode repo-format-fncache repo-format-generaldelta repo-format-plain-cl-delta repo-format-sidedata repo-format-sparserevlog mode max_worker_count + (re)
-------------- ------------------------- ------------------------------- ------------------------ ----------------------- --------------------- -------------------------- ---------------------------- ---------------------- -------------------------- -------- ------------------ -+ (re)
smoke-test-A zlib default False True True True True False True create 1 +\d+\.\d+ * (re)
smoke-test-A zlib default False True True True True False True create 2 +\d+\.\d+ * (re)
smoke-test-A zlib default False True True True True False True update 1 +\d+\.\d+ * (re)
smoke-test-A zlib default False True True True True False True update 2 +\d+\.\d+ * (re)
============== ========================= =============================== ======================== ======================= ===================== ========================== ============================ ====================== ========================== ======== ================== =+ (re)
+ ['./lib/before-check.sh']
+ ['asv', 'run', '--launch-method', 'spawn', '--skip-existing-successful', '8fda98a68427', '-b', 'track_commit', '--no-pull']
......
This diff is collapsed.
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