From 5795f15ca62d8da920d7728898ea8555cc7a7979 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Thu, 21 Sep 2023 22:48:04 +0000 Subject: [PATCH] add pytest-bench (pytest) benchmark result for c2e7ad7e5694fe7133d3995d031167508de85e5e --- 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 4df1d3e6bb5..b3400e321f0 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1695336370957, + "lastUpdate": 1695336483805, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -278124,6 +278124,128 @@ window.BENCHMARK_DATA = { "extra": "mean: 187.9037935016065 nsec\nrounds: 196079" } ] + }, + { + "commit": { + "author": { + "email": "1939362+davidhewitt@users.noreply.github.com", + "name": "David Hewitt", + "username": "davidhewitt" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": false, + "id": "c2e7ad7e5694fe7133d3995d031167508de85e5e", + "message": "Merge pull request #3465 from jeffs/main\n\nFix a typo in a documentation page title", + "timestamp": "2023-09-21T20:38:50Z", + "tree_id": "e16bbb91edbce7113325ff6b59091e3be4b20c67", + "url": "https://github.com/PyO3/pyo3/commit/c2e7ad7e5694fe7133d3995d031167508de85e5e" + }, + "date": 1695336466539, + "tool": "pytest", + "benches": [ + { + "name": "tests/test_pyclasses.py::test_empty_class_init", + "value": 2421469.456035139, + "unit": "iter/sec", + "range": "stddev: 3.310499491640346e-7", + "extra": "mean: 412.97237820103584 nsec\nrounds: 142858" + }, + { + "name": "tests/test_pyclasses.py::test_empty_class_init_py", + "value": 6150936.499041629, + "unit": "iter/sec", + "range": "stddev: 2.3382234228555518e-8", + "extra": "mean: 162.57686941748938 nsec\nrounds: 60238" + }, + { + "name": "tests/test_pyfunctions.py::test_none_py", + "value": 9318590.368611686, + "unit": "iter/sec", + "range": "stddev: 1.517456389130439e-8", + "extra": "mean: 107.31236812046839 nsec\nrounds: 89286" + }, + { + "name": "tests/test_pyfunctions.py::test_none_rs", + "value": 8597662.631235031, + "unit": "iter/sec", + "range": "stddev: 2.5017802168568486e-8", + "extra": "mean: 116.3106815062899 nsec\nrounds: 196079" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_py", + "value": 3083321.010713522, + "unit": "iter/sec", + "range": "stddev: 7.806233920423636e-8", + "extra": "mean: 324.3256204997457 nsec\nrounds: 199961" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_rs", + "value": 1898980.1748734436, + "unit": "iter/sec", + "range": "stddev: 3.852529804948881e-7", + "extra": "mean: 526.5984412220861 nsec\nrounds: 169492" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_py", + "value": 2653216.0390095315, + "unit": "iter/sec", + "range": "stddev: 1.6706265107227782e-7", + "extra": "mean: 376.90108355191035 nsec\nrounds: 196079" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_rs", + "value": 1384587.0103851983, + "unit": "iter/sec", + "range": "stddev: 3.176446589392638e-7", + "extra": "mean: 722.2370226641052 nsec\nrounds: 116280" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_kwargs_py", + "value": 1773472.8211865523, + "unit": "iter/sec", + "range": "stddev: 3.9640151482424884e-8", + "extra": "mean: 563.8654215919327 nsec\nrounds: 79366" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_kwargs_rs", + "value": 1156010.5403368867, + "unit": "iter/sec", + "range": "stddev: 1.7292962831346514e-7", + "extra": "mean: 865.0440156960664 nsec\nrounds: 83334" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py", + "value": 1626136.1376720811, + "unit": "iter/sec", + "range": "stddev: 4.7388335677422724e-8", + "extra": "mean: 614.9546626712943 nsec\nrounds: 71429" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs", + "value": 1148175.3617178537, + "unit": "iter/sec", + "range": "stddev: 3.127582709431548e-7", + "extra": "mean: 870.9470986242383 nsec\nrounds: 104156" + }, + { + "name": "tests/test_pyfunctions.py::test_args_kwargs_py", + "value": 2161606.927830834, + "unit": "iter/sec", + "range": "stddev: 9.890725051693085e-8", + "extra": "mean: 462.6187986009709 nsec\nrounds: 156251" + }, + { + "name": "tests/test_pyfunctions.py::test_args_kwargs_rs", + "value": 4375336.778723404, + "unit": "iter/sec", + "range": "stddev: 4.9463278408937296e-8", + "extra": "mean: 228.55383495561267 nsec\nrounds: 172414" + } + ] } ] }