From d7b4476622327c426e90980a28699351ff740904 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Wed, 27 Mar 2024 13:35:47 +0000 Subject: [PATCH] add pytest-bench (pytest) benchmark result for bcfc848703bed30b4ffc225aeb440de3e79cbead --- 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 126c8de03bc..1ae1ac321cd 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1711546446322, + "lastUpdate": 1711546546507, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -440864,6 +440864,128 @@ window.BENCHMARK_DATA = { "extra": "mean: 194.97062353850947 nsec\nrounds: 191205" } ] + }, + { + "commit": { + "author": { + "email": "mail@davidhewitt.dev", + "name": "David Hewitt", + "username": "davidhewitt" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "bcfc848703bed30b4ffc225aeb440de3e79cbead", + "message": "docs: fix link in CHANGELOG (#4001)", + "timestamp": "2024-03-27T11:48:56Z", + "tree_id": "36a05dc58625aba082d55b61653f360deccc9619", + "url": "https://github.com/PyO3/pyo3/commit/bcfc848703bed30b4ffc225aeb440de3e79cbead" + }, + "date": 1711546526957, + "tool": "pytest", + "benches": [ + { + "name": "tests/test_pyclasses.py::test_empty_class_init", + "value": 3805042.5160149313, + "unit": "iter/sec", + "range": "stddev: 7.827387578979568e-8", + "extra": "mean: 262.80915279950995 nsec\nrounds: 190477" + }, + { + "name": "tests/test_pyclasses.py::test_empty_class_init_py", + "value": 7371863.131020179, + "unit": "iter/sec", + "range": "stddev: 6.238807680140029e-9", + "extra": "mean: 135.65091785170077 nsec\nrounds: 66721" + }, + { + "name": "tests/test_pyfunctions.py::test_none_py", + "value": 13954608.452601759, + "unit": "iter/sec", + "range": "stddev: 4.2658567668818305e-9", + "extra": "mean: 71.66091427047927 nsec\nrounds: 138832" + }, + { + "name": "tests/test_pyfunctions.py::test_none_rs", + "value": 11487726.400718804, + "unit": "iter/sec", + "range": "stddev: 4.368575287173587e-9", + "extra": "mean: 87.04942693772969 nsec\nrounds: 58676" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_py", + "value": 4409471.834604861, + "unit": "iter/sec", + "range": "stddev: 1.767944838166855e-8", + "extra": "mean: 226.78453055355808 nsec\nrounds: 102376" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_rs", + "value": 3878220.024438864, + "unit": "iter/sec", + "range": "stddev: 1.893506044501157e-8", + "extra": "mean: 257.85024926343345 nsec\nrounds: 175717" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_py", + "value": 3791026.2337065316, + "unit": "iter/sec", + "range": "stddev: 1.9073824307250884e-8", + "extra": "mean: 263.78081773976226 nsec\nrounds: 195734" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_rs", + "value": 3110334.2993227504, + "unit": "iter/sec", + "range": "stddev: 2.0851789747886688e-8", + "extra": "mean: 321.5088488133709 nsec\nrounds: 151218" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_kwargs_py", + "value": 2580893.4919109643, + "unit": "iter/sec", + "range": "stddev: 3.95750488816001e-8", + "extra": "mean: 387.462715193091 nsec\nrounds: 192679" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_kwargs_rs", + "value": 2264491.0164403105, + "unit": "iter/sec", + "range": "stddev: 1.2607418017968574e-7", + "extra": "mean: 441.60033876926576 nsec\nrounds: 178859" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py", + "value": 2453435.103641967, + "unit": "iter/sec", + "range": "stddev: 3.624718291076474e-8", + "extra": "mean: 407.5917877410184 nsec\nrounds: 189754" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs", + "value": 2152578.9193706363, + "unit": "iter/sec", + "range": "stddev: 1.397956705748394e-7", + "extra": "mean: 464.55904171558853 nsec\nrounds: 169177" + }, + { + "name": "tests/test_pyfunctions.py::test_args_kwargs_py", + "value": 3091779.4588071113, + "unit": "iter/sec", + "range": "stddev: 2.747558521934117e-8", + "extra": "mean: 323.43833488881063 nsec\nrounds: 103008" + }, + { + "name": "tests/test_pyfunctions.py::test_args_kwargs_rs", + "value": 6497856.452813494, + "unit": "iter/sec", + "range": "stddev: 9.819092084293319e-9", + "extra": "mean: 153.89690542748323 nsec\nrounds: 64025" + } + ] } ] }