diff --git a/dev/bench/data.js b/dev/bench/data.js index d50c99cf20a..dba40a23e0a 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1702596409674, + "lastUpdate": 1702596478404, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -321684,6 +321684,128 @@ window.BENCHMARK_DATA = { "extra": "mean: 155.29342195714113 nsec\nrounds: 195351" } ] + }, + { + "commit": { + "author": { + "email": "mail@davidhewitt.dev", + "name": "David Hewitt", + "username": "davidhewitt" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "97cf9b834c21810b966e87c70b1745c33a2ba1ba", + "message": "Merge pull request #3653 from davidhewitt/native-type-source\n\nAdd `AsRefSource` to `PyNativeType`.", + "timestamp": "2023-12-14T22:33:49Z", + "tree_id": "db79c1c28ca7eb3bc38e54cef2947b505eabc2b7", + "url": "https://github.com/PyO3/pyo3/commit/97cf9b834c21810b966e87c70b1745c33a2ba1ba" + }, + "date": 1702596466119, + "tool": "pytest", + "benches": [ + { + "name": "tests/test_pyclasses.py::test_empty_class_init", + "value": 3673043.846209545, + "unit": "iter/sec", + "range": "stddev: 1.0253104450461897e-7", + "extra": "mean: 272.2537606056529 nsec\nrounds: 155958" + }, + { + "name": "tests/test_pyclasses.py::test_empty_class_init_py", + "value": 7234490.796414908, + "unit": "iter/sec", + "range": "stddev: 8.46758836261373e-9", + "extra": "mean: 138.2267291701519 nsec\nrounds: 68316" + }, + { + "name": "tests/test_pyfunctions.py::test_none_py", + "value": 13938070.36448988, + "unit": "iter/sec", + "range": "stddev: 5.257157825990604e-9", + "extra": "mean: 71.74594286363391 nsec\nrounds: 135815" + }, + { + "name": "tests/test_pyfunctions.py::test_none_rs", + "value": 12479382.278241558, + "unit": "iter/sec", + "range": "stddev: 4.887746945766379e-9", + "extra": "mean: 80.13217142514748 nsec\nrounds: 62657" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_py", + "value": 4578980.298407939, + "unit": "iter/sec", + "range": "stddev: 6.409942726876518e-8", + "extra": "mean: 218.38923402830298 nsec\nrounds: 197239" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_rs", + "value": 3866887.4009731724, + "unit": "iter/sec", + "range": "stddev: 1.9575894459828725e-8", + "extra": "mean: 258.6059267586462 nsec\nrounds: 177905" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_py", + "value": 3810451.3441456254, + "unit": "iter/sec", + "range": "stddev: 2.8930622618388968e-8", + "extra": "mean: 262.4361026250602 nsec\nrounds: 138447" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_rs", + "value": 2459988.1795580126, + "unit": "iter/sec", + "range": "stddev: 2.7006448015335377e-8", + "extra": "mean: 406.5060183255314 nsec\nrounds: 115248" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_kwargs_py", + "value": 2497212.850405113, + "unit": "iter/sec", + "range": "stddev: 9.816948938569412e-8", + "extra": "mean: 400.44644165505315 nsec\nrounds: 191976" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_kwargs_rs", + "value": 1590868.1860021872, + "unit": "iter/sec", + "range": "stddev: 1.710154127682341e-7", + "extra": "mean: 628.587590599178 nsec\nrounds: 143617" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py", + "value": 2399361.823347542, + "unit": "iter/sec", + "range": "stddev: 6.140064628826211e-8", + "extra": "mean: 416.7774906932626 nsec\nrounds: 103435" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs", + "value": 2151381.5544362846, + "unit": "iter/sec", + "range": "stddev: 2.811873558019032e-8", + "extra": "mean: 464.8175949719085 nsec\nrounds: 101637" + }, + { + "name": "tests/test_pyfunctions.py::test_args_kwargs_py", + "value": 3111249.808079491, + "unit": "iter/sec", + "range": "stddev: 5.571383134992832e-8", + "extra": "mean: 321.41424240610206 nsec\nrounds: 192679" + }, + { + "name": "tests/test_pyfunctions.py::test_args_kwargs_rs", + "value": 6481349.739264503, + "unit": "iter/sec", + "range": "stddev: 8.554387502116417e-9", + "extra": "mean: 154.2888503519452 nsec\nrounds: 66055" + } + ] } ] }