diff --git a/dev/bench/data.js b/dev/bench/data.js index 3d0d475602f..498f5180dca 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1695565143209, + "lastUpdate": 1695565244200, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -280692,6 +280692,128 @@ window.BENCHMARK_DATA = { "extra": "mean: 215.2165644441471 nsec\nrounds: 200000" } ] + }, + { + "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": "673c45aac34441253778645edb5d21411f4a4c80", + "message": "Merge pull request #3470 from davidhewitt/tests-capture-warnings\n\nadd `assert_warnings` test helper", + "timestamp": "2023-09-24T13:09:01Z", + "tree_id": "11e9c911ae1638d9a47cba4c3e9a52fe4dc388df", + "url": "https://github.com/PyO3/pyo3/commit/673c45aac34441253778645edb5d21411f4a4c80" + }, + "date": 1695565229746, + "tool": "pytest", + "benches": [ + { + "name": "tests/test_pyclasses.py::test_empty_class_init", + "value": 2846259.3891110057, + "unit": "iter/sec", + "range": "stddev: 9.853699722186734e-8", + "extra": "mean: 351.3383227915632 nsec\nrounds: 117648" + }, + { + "name": "tests/test_pyclasses.py::test_empty_class_init_py", + "value": 7054997.657226596, + "unit": "iter/sec", + "range": "stddev: 9.127762823545049e-9", + "extra": "mean: 141.74349143497741 nsec\nrounds: 196079" + }, + { + "name": "tests/test_pyfunctions.py::test_none_py", + "value": 10993933.032042956, + "unit": "iter/sec", + "range": "stddev: 4.138088493910462e-9", + "extra": "mean: 90.95925881002954 nsec\nrounds: 106383" + }, + { + "name": "tests/test_pyfunctions.py::test_none_rs", + "value": 10728646.258036304, + "unit": "iter/sec", + "range": "stddev: 5.8411708120845684e-9", + "extra": "mean: 93.20840448540748 nsec\nrounds: 51814" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_py", + "value": 3608461.676660734, + "unit": "iter/sec", + "range": "stddev: 1.3561953460004268e-8", + "extra": "mean: 277.1264016661708 nsec\nrounds: 200000" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_rs", + "value": 2213624.5100830384, + "unit": "iter/sec", + "range": "stddev: 9.619551092834237e-8", + "extra": "mean: 451.7477988904666 nsec\nrounds: 172414" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_py", + "value": 3078330.7966676494, + "unit": "iter/sec", + "range": "stddev: 2.0373031045330778e-8", + "extra": "mean: 324.85137759719413 nsec\nrounds: 178572" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_rs", + "value": 1644210.2410138089, + "unit": "iter/sec", + "range": "stddev: 1.0250218648188141e-7", + "extra": "mean: 608.1947278125496 nsec\nrounds: 99010" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_kwargs_py", + "value": 2118994.284020421, + "unit": "iter/sec", + "range": "stddev: 1.6663071480871733e-8", + "extra": "mean: 471.9219903239983 nsec\nrounds: 92593" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_kwargs_rs", + "value": 1355716.0575485134, + "unit": "iter/sec", + "range": "stddev: 1.1162718200395833e-7", + "extra": "mean: 737.6175818174343 nsec\nrounds: 79366" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py", + "value": 1997158.3759280883, + "unit": "iter/sec", + "range": "stddev: 1.9611667675638044e-8", + "extra": "mean: 500.7114168076467 nsec\nrounds: 84034" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs", + "value": 1376420.2755254162, + "unit": "iter/sec", + "range": "stddev: 1.0419855642093675e-7", + "extra": "mean: 726.5222823154603 nsec\nrounds: 108696" + }, + { + "name": "tests/test_pyfunctions.py::test_args_kwargs_py", + "value": 2579515.0861331895, + "unit": "iter/sec", + "range": "stddev: 2.3689613121661938e-8", + "extra": "mean: 387.6697621874061 nsec\nrounds: 196079" + }, + { + "name": "tests/test_pyfunctions.py::test_args_kwargs_rs", + "value": 5407672.972189517, + "unit": "iter/sec", + "range": "stddev: 1.0681993886912036e-8", + "extra": "mean: 184.92242506938751 nsec\nrounds: 196079" + } + ] } ] }