From 6cc72d67f0981d07fa9244e6f70a67cbc9925fa9 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Sat, 6 Apr 2024 23:48:47 +0000 Subject: [PATCH] add pytest-bench (pytest) benchmark result for 2f0869a6d643e790e71dd5a676a30a7e539e5138 --- dev/bench/data.js | 152 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 151 insertions(+), 1 deletion(-) diff --git a/dev/bench/data.js b/dev/bench/data.js index b6b2be21e50..c3a05b3bd5c 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1712447233757, + "lastUpdate": 1712447326878, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -452302,6 +452302,156 @@ window.BENCHMARK_DATA = { "extra": "mean: 156.00652480068322 nsec\nrounds: 196117" } ] + }, + { + "commit": { + "author": { + "email": "joperez@hotmail.fr", + "name": "Joseph Perez", + "username": "wyfo" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "2f0869a6d643e790e71dd5a676a30a7e539e5138", + "message": "fix: allow impl of Ungil for deprecated PyCell in nightly (#4053)", + "timestamp": "2024-04-06T22:36:52Z", + "tree_id": "d1474bb2e277c67949d07177b1304f21c0756e38", + "url": "https://github.com/PyO3/pyo3/commit/2f0869a6d643e790e71dd5a676a30a7e539e5138" + }, + "date": 1712447305347, + "tool": "pytest", + "benches": [ + { + "name": "tests/test_pyclasses.py::test_empty_class_init", + "value": 3922014.8174648783, + "unit": "iter/sec", + "range": "stddev: 8.414261718318967e-8", + "extra": "mean: 254.97098979508257 nsec\nrounds: 198413" + }, + { + "name": "tests/test_pyclasses.py::test_method_call", + "value": 11747157.471615097, + "unit": "iter/sec", + "range": "stddev: 4.8962049654334e-9", + "extra": "mean: 85.1269766678723 nsec\nrounds: 116064" + }, + { + "name": "tests/test_pyclasses.py::test_proto_call", + "value": 11216826.997848611, + "unit": "iter/sec", + "range": "stddev: 6.528529271925028e-9", + "extra": "mean: 89.1517717258009 nsec\nrounds: 110779" + }, + { + "name": "tests/test_pyclasses.py::test_empty_class_init_py", + "value": 7135085.155345087, + "unit": "iter/sec", + "range": "stddev: 8.628205161004298e-9", + "extra": "mean: 140.152496883779 nsec\nrounds: 66587" + }, + { + "name": "tests/test_pyclasses.py::test_method_call_py", + "value": 10936447.47945545, + "unit": "iter/sec", + "range": "stddev: 5.213374635183012e-9", + "extra": "mean: 91.43737048786085 nsec\nrounds: 108484" + }, + { + "name": "tests/test_pyclasses.py::test_proto_call_py", + "value": 9378257.8832616, + "unit": "iter/sec", + "range": "stddev: 6.77716562469172e-9", + "extra": "mean: 106.62961207164169 nsec\nrounds: 93110" + }, + { + "name": "tests/test_pyfunctions.py::test_none_py", + "value": 13746129.538505973, + "unit": "iter/sec", + "range": "stddev: 1.4797814498177369e-8", + "extra": "mean: 72.74775035392886 nsec\nrounds: 139782" + }, + { + "name": "tests/test_pyfunctions.py::test_none_rs", + "value": 12795629.535070483, + "unit": "iter/sec", + "range": "stddev: 5.1315867708889416e-9", + "extra": "mean: 78.151684312146 nsec\nrounds: 126663" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_py", + "value": 4577925.914355545, + "unit": "iter/sec", + "range": "stddev: 1.787795572841181e-8", + "extra": "mean: 218.4395332532974 nsec\nrounds: 195351" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_rs", + "value": 3911694.392033738, + "unit": "iter/sec", + "range": "stddev: 1.9962645710930728e-8", + "extra": "mean: 255.6436929317701 nsec\nrounds: 171498" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_py", + "value": 3807892.5818444532, + "unit": "iter/sec", + "range": "stddev: 2.0890402873603785e-8", + "extra": "mean: 262.6124499330345 nsec\nrounds: 198453" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_rs", + "value": 2997543.5298600662, + "unit": "iter/sec", + "range": "stddev: 2.5207589908104404e-8", + "extra": "mean: 333.60649813371776 nsec\nrounds: 142187" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_kwargs_py", + "value": 2603783.5020482633, + "unit": "iter/sec", + "range": "stddev: 3.381217341212262e-8", + "extra": "mean: 384.05650823632266 nsec\nrounds: 192345" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_kwargs_rs", + "value": 3324016.636034054, + "unit": "iter/sec", + "range": "stddev: 2.0873639104722223e-8", + "extra": "mean: 300.8408529486539 nsec\nrounds: 88176" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py", + "value": 2502237.244608514, + "unit": "iter/sec", + "range": "stddev: 3.887648950137011e-8", + "extra": "mean: 399.6423609130853 nsec\nrounds: 193051" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs", + "value": 2189748.4052938903, + "unit": "iter/sec", + "range": "stddev: 1.1300886873963393e-7", + "extra": "mean: 456.6734687795277 nsec\nrounds: 185186" + }, + { + "name": "tests/test_pyfunctions.py::test_args_kwargs_py", + "value": 3144303.9536420777, + "unit": "iter/sec", + "range": "stddev: 2.649785204299569e-8", + "extra": "mean: 318.03541093464906 nsec\nrounds: 199204" + }, + { + "name": "tests/test_pyfunctions.py::test_args_kwargs_rs", + "value": 6376674.288462209, + "unit": "iter/sec", + "range": "stddev: 1.5936887584658036e-8", + "extra": "mean: 156.8215585057205 nsec\nrounds: 199243" + } + ] } ] }