From 0a35dc239e474846fa2e8cdec4c61f5160f3b208 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Fri, 20 Oct 2023 10:29:14 +0000 Subject: [PATCH] add pytest-bench (pytest) benchmark result for d8a6f37fec4a15f61ca8052d0314efa811e86162 --- 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 d0d1b783447..b1aefee23f0 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1697797633999, + "lastUpdate": 1697797753953, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -294490,6 +294490,128 @@ window.BENCHMARK_DATA = { "extra": "mean: 396.63331257822495 nsec\nrounds: 163908" } ] + }, + { + "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": true, + "id": "d8a6f37fec4a15f61ca8052d0314efa811e86162", + "message": "Merge pull request #3421 from davidhewitt/codspeed\n\ntry adding codspeed benchmarks", + "timestamp": "2023-10-20T09:14:41Z", + "tree_id": "dc61da56b71a4dd4691369d7e0c0e06762bdd80c", + "url": "https://github.com/PyO3/pyo3/commit/d8a6f37fec4a15f61ca8052d0314efa811e86162" + }, + "date": 1697797737057, + "tool": "pytest", + "benches": [ + { + "name": "tests/test_pyclasses.py::test_empty_class_init", + "value": 2859698.539278747, + "unit": "iter/sec", + "range": "stddev: 9.31547015271371e-8", + "extra": "mean: 349.68720872662783 nsec\nrounds: 153847" + }, + { + "name": "tests/test_pyclasses.py::test_empty_class_init_py", + "value": 5968210.67876961, + "unit": "iter/sec", + "range": "stddev: 9.77459176173181e-9", + "extra": "mean: 167.55440681027653 nsec\nrounds: 196079" + }, + { + "name": "tests/test_pyfunctions.py::test_none_py", + "value": 10727114.076760955, + "unit": "iter/sec", + "range": "stddev: 5.93517727832998e-9", + "extra": "mean: 93.22171768140171 nsec\nrounds: 105264" + }, + { + "name": "tests/test_pyfunctions.py::test_none_rs", + "value": 9968513.070251267, + "unit": "iter/sec", + "range": "stddev: 1.3778886376311867e-8", + "extra": "mean: 100.31586385579106 nsec\nrounds: 97088" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_py", + "value": 3323906.7374413093, + "unit": "iter/sec", + "range": "stddev: 1.500905917377357e-8", + "extra": "mean: 300.8507996736949 nsec\nrounds: 188680" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_rs", + "value": 2632107.2272222796, + "unit": "iter/sec", + "range": "stddev: 1.6678752708583225e-8", + "extra": "mean: 379.9237316996853 nsec\nrounds: 109891" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_py", + "value": 2927161.704559142, + "unit": "iter/sec", + "range": "stddev: 3.673855809667952e-8", + "extra": "mean: 341.62786375705525 nsec\nrounds: 188680" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_rs", + "value": 1401006.2805334795, + "unit": "iter/sec", + "range": "stddev: 1.1094413199832504e-7", + "extra": "mean: 713.7726746087226 nsec\nrounds: 138889" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_kwargs_py", + "value": 1937787.2664118663, + "unit": "iter/sec", + "range": "stddev: 2.6967720666819485e-8", + "extra": "mean: 516.0525189391224 nsec\nrounds: 172414" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_kwargs_rs", + "value": 1210626.6822659548, + "unit": "iter/sec", + "range": "stddev: 1.653199402236336e-7", + "extra": "mean: 826.0184701433141 nsec\nrounds: 126583" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py", + "value": 1844515.825638731, + "unit": "iter/sec", + "range": "stddev: 1.939557841869599e-8", + "extra": "mean: 542.1476932320239 nsec\nrounds: 87720" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs", + "value": 1212837.927253029, + "unit": "iter/sec", + "range": "stddev: 1.1768160696885955e-7", + "extra": "mean: 824.5124740326283 nsec\nrounds: 119048" + }, + { + "name": "tests/test_pyfunctions.py::test_args_kwargs_py", + "value": 2299832.7806523987, + "unit": "iter/sec", + "range": "stddev: 2.624444647634028e-8", + "extra": "mean: 434.81422145671297 nsec\nrounds: 192308" + }, + { + "name": "tests/test_pyfunctions.py::test_args_kwargs_rs", + "value": 4595590.49211505, + "unit": "iter/sec", + "range": "stddev: 2.7301807638385035e-8", + "extra": "mean: 217.599893140123 nsec\nrounds: 192308" + } + ] } ] }