From bfd757d7d5af8ceb953b8756036fbaf71b8e60a2 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Fri, 12 Jan 2024 14:55:55 +0000 Subject: [PATCH] add pytest-bench (pytest) benchmark result for 1520b058e887846e3ca95e7131a67cf403c5084c --- 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 6c51ee7c0f1..2d4c5103e7e 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1705070728226, + "lastUpdate": 1705071354264, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -346594,6 +346594,128 @@ window.BENCHMARK_DATA = { "extra": "mean: 239.6497394481063 nsec\nrounds: 196890" } ] + }, + { + "commit": { + "author": { + "email": "mail@davidhewitt.dev", + "name": "David Hewitt", + "username": "davidhewitt" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "1520b058e887846e3ca95e7131a67cf403c5084c", + "message": "Merge pull request #3738 from davidhewitt/nightly-lints\n\nfix some nightly lints 2024-01-12", + "timestamp": "2024-01-12T13:52:50Z", + "tree_id": "97c2b41e6590625fcae6f6245dc90479fa2d2d1d", + "url": "https://github.com/PyO3/pyo3/commit/1520b058e887846e3ca95e7131a67cf403c5084c" + }, + "date": 1705071337069, + "tool": "pytest", + "benches": [ + { + "name": "tests/test_pyclasses.py::test_empty_class_init", + "value": 2465785.050288444, + "unit": "iter/sec", + "range": "stddev: 1.1660412562626067e-7", + "extra": "mean: 405.55035398686573 nsec\nrounds: 180800" + }, + { + "name": "tests/test_pyclasses.py::test_empty_class_init_py", + "value": 4604195.784618986, + "unit": "iter/sec", + "range": "stddev: 1.7122076233674143e-8", + "extra": "mean: 217.19319654925445 nsec\nrounds: 198453" + }, + { + "name": "tests/test_pyfunctions.py::test_none_py", + "value": 10464504.481872197, + "unit": "iter/sec", + "range": "stddev: 6.2374504597715635e-9", + "extra": "mean: 95.56114211927698 nsec\nrounds: 104954" + }, + { + "name": "tests/test_pyfunctions.py::test_none_rs", + "value": 6483764.286906251, + "unit": "iter/sec", + "range": "stddev: 1.23319490265617e-8", + "extra": "mean: 154.23139333110353 nsec\nrounds: 194970" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_py", + "value": 3088975.314020981, + "unit": "iter/sec", + "range": "stddev: 5.427820692985723e-8", + "extra": "mean: 323.7319493817126 nsec\nrounds: 123993" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_rs", + "value": 2576135.685681298, + "unit": "iter/sec", + "range": "stddev: 2.6266610199628266e-8", + "extra": "mean: 388.17831124276944 nsec\nrounds: 120106" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_py", + "value": 2700012.3184049833, + "unit": "iter/sec", + "range": "stddev: 3.0204510974984276e-8", + "extra": "mean: 370.3686806105923 nsec\nrounds: 196503" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_rs", + "value": 1331788.7844269837, + "unit": "iter/sec", + "range": "stddev: 1.324071915385429e-7", + "extra": "mean: 750.8698163652584 nsec\nrounds: 128288" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_kwargs_py", + "value": 1803105.1111832291, + "unit": "iter/sec", + "range": "stddev: 4.591536402814457e-8", + "extra": "mean: 554.5988383027668 nsec\nrounds: 168891" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_kwargs_rs", + "value": 1101145.1002396971, + "unit": "iter/sec", + "range": "stddev: 1.6899289575430862e-7", + "extra": "mean: 908.1455293969161 nsec\nrounds: 119962" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py", + "value": 1691392.998301456, + "unit": "iter/sec", + "range": "stddev: 4.8010602077024357e-8", + "extra": "mean: 591.2286505881411 nsec\nrounds: 152859" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs", + "value": 1096639.9921091702, + "unit": "iter/sec", + "range": "stddev: 1.489557950928232e-7", + "extra": "mean: 911.876283188157 nsec\nrounds: 131510" + }, + { + "name": "tests/test_pyfunctions.py::test_args_kwargs_py", + "value": 2111807.514915199, + "unit": "iter/sec", + "range": "stddev: 4.1384031417063123e-8", + "extra": "mean: 473.52800524538134 nsec\nrounds: 189036" + }, + { + "name": "tests/test_pyfunctions.py::test_args_kwargs_rs", + "value": 3992819.6324509154, + "unit": "iter/sec", + "range": "stddev: 2.274942028030907e-8", + "extra": "mean: 250.44958000924507 nsec\nrounds: 187266" + } + ] } ] }