From e7e073160d2b6126faa37f73c8b4c11edf56f61d Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Thu, 7 Dec 2023 13:31:02 +0000 Subject: [PATCH] add pytest-bench (pytest) benchmark result for 601d9573c83d5b373512152c16c0a35df480f3a4 --- dev/bench/data.js | 124 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 123 insertions(+), 1 deletion(-) diff --git a/dev/bench/data.js b/dev/bench/data.js index 556461fd046..768b9dbe2e9 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1701955793728, + "lastUpdate": 1701955861840, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -317444,6 +317444,128 @@ window.BENCHMARK_DATA = { "extra": "mean: 166.83331079132282 nsec\nrounds: 195351" } ] + }, + { + "commit": { + "author": { + "email": "messense@icloud.com", + "name": "messense", + "username": "messense" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "601d9573c83d5b373512152c16c0a35df480f3a4", + "message": "Merge pull request #3631 from wyfo/doc_typo\n\ndocs: fix typos", + "timestamp": "2023-12-07T12:29:00Z", + "tree_id": "c650ab3e83df1e2d0208e96c89a849a2bdf90c85", + "url": "https://github.com/PyO3/pyo3/commit/601d9573c83d5b373512152c16c0a35df480f3a4" + }, + "date": 1701955849902, + "tool": "pytest", + "benches": [ + { + "name": "tests/test_pyclasses.py::test_empty_class_init", + "value": 3848901.0175330145, + "unit": "iter/sec", + "range": "stddev: 9.135117689932748e-8", + "extra": "mean: 259.8144237652956 nsec\nrounds: 160721" + }, + { + "name": "tests/test_pyclasses.py::test_empty_class_init_py", + "value": 7705072.355578883, + "unit": "iter/sec", + "range": "stddev: 1.5626791220590988e-8", + "extra": "mean: 129.78463456945303 nsec\nrounds: 53006" + }, + { + "name": "tests/test_pyfunctions.py::test_none_py", + "value": 13886183.84018899, + "unit": "iter/sec", + "range": "stddev: 5.561112061209853e-9", + "extra": "mean: 72.01402570415561 nsec\nrounds: 137099" + }, + { + "name": "tests/test_pyfunctions.py::test_none_rs", + "value": 11960856.770951608, + "unit": "iter/sec", + "range": "stddev: 4.605990652653136e-9", + "extra": "mean: 83.60605090001758 nsec\nrounds: 121139" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_py", + "value": 4655168.838671587, + "unit": "iter/sec", + "range": "stddev: 2.5232876519852722e-8", + "extra": "mean: 214.8149797903706 nsec\nrounds: 138046" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_rs", + "value": 3615981.7658198355, + "unit": "iter/sec", + "range": "stddev: 2.0433746492557277e-8", + "extra": "mean: 276.55006710833743 nsec\nrounds: 170620" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_py", + "value": 4056368.0977903586, + "unit": "iter/sec", + "range": "stddev: 1.982954214150378e-8", + "extra": "mean: 246.5259502816655 nsec\nrounds: 199204" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_rs", + "value": 1856837.256942696, + "unit": "iter/sec", + "range": "stddev: 1.5002387648405092e-7", + "extra": "mean: 538.5501590195964 nsec\nrounds: 164447" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_kwargs_py", + "value": 2707572.438060898, + "unit": "iter/sec", + "range": "stddev: 2.8507644749051837e-8", + "extra": "mean: 369.33453227060375 nsec\nrounds: 198060" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_kwargs_rs", + "value": 1630955.4178372028, + "unit": "iter/sec", + "range": "stddev: 1.4008269181609834e-7", + "extra": "mean: 613.1375444499225 nsec\nrounds: 138428" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py", + "value": 2568950.705047187, + "unit": "iter/sec", + "range": "stddev: 3.143720339953699e-8", + "extra": "mean: 389.2639893927555 nsec\nrounds: 193051" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs", + "value": 1554286.3915149933, + "unit": "iter/sec", + "range": "stddev: 1.247318659776219e-7", + "extra": "mean: 643.3820726084339 nsec\nrounds: 127146" + }, + { + "name": "tests/test_pyfunctions.py::test_args_kwargs_py", + "value": 3185479.74694431, + "unit": "iter/sec", + "range": "stddev: 2.737516928448259e-8", + "extra": "mean: 313.92445704897534 nsec\nrounds: 101544" + }, + { + "name": "tests/test_pyfunctions.py::test_args_kwargs_rs", + "value": 6386302.94923227, + "unit": "iter/sec", + "range": "stddev: 2.6299352469122652e-8", + "extra": "mean: 156.58511786075152 nsec\nrounds: 199204" + } + ] } ] }