From bbdbfa189262b80fb7149c3f48f0fb2f31dab5fb Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Wed, 20 Dec 2023 22:57:10 +0000 Subject: [PATCH] add pytest-bench (pytest) benchmark result for 43827e39ee173fc7f93b00ffedad2b9f73aea69f --- 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 f800445dd19..162e8cdce39 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1703112955532, + "lastUpdate": 1703113029870, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -330694,6 +330694,128 @@ window.BENCHMARK_DATA = { "extra": "mean: 151.79434607283886 nsec\nrounds: 198847" } ] + }, + { + "commit": { + "author": { + "email": "mail@davidhewitt.dev", + "name": "David Hewitt", + "username": "davidhewitt" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "43827e39ee173fc7f93b00ffedad2b9f73aea69f", + "message": "Merge pull request #3677 from davidhewitt/string2\n\nimplement `PyStringMethods`", + "timestamp": "2023-12-20T22:04:23Z", + "tree_id": "62d9326646ebf09dbf71193a1318b4f520e542b7", + "url": "https://github.com/PyO3/pyo3/commit/43827e39ee173fc7f93b00ffedad2b9f73aea69f" + }, + "date": 1703113011922, + "tool": "pytest", + "benches": [ + { + "name": "tests/test_pyclasses.py::test_empty_class_init", + "value": 3811685.046514255, + "unit": "iter/sec", + "range": "stddev: 8.462249575170587e-8", + "extra": "mean: 262.35116170327063 nsec\nrounds: 151930" + }, + { + "name": "tests/test_pyclasses.py::test_empty_class_init_py", + "value": 7389704.187985832, + "unit": "iter/sec", + "range": "stddev: 6.858295130542524e-9", + "extra": "mean: 135.323414112543 nsec\nrounds: 70191" + }, + { + "name": "tests/test_pyfunctions.py::test_none_py", + "value": 13849250.99560604, + "unit": "iter/sec", + "range": "stddev: 4.787303871952312e-9", + "extra": "mean: 72.2060709504991 nsec\nrounds: 137476" + }, + { + "name": "tests/test_pyfunctions.py::test_none_rs", + "value": 12540593.210679375, + "unit": "iter/sec", + "range": "stddev: 4.752833506720383e-9", + "extra": "mean: 79.74104439879412 nsec\nrounds: 127796" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_py", + "value": 4607686.311566656, + "unit": "iter/sec", + "range": "stddev: 1.6373795353085812e-8", + "extra": "mean: 217.02866306017924 nsec\nrounds: 194213" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_rs", + "value": 3626433.1805497324, + "unit": "iter/sec", + "range": "stddev: 2.1474759097223594e-8", + "extra": "mean: 275.7530471989586 nsec\nrounds: 170911" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_py", + "value": 3873162.6558427652, + "unit": "iter/sec", + "range": "stddev: 2.308862751404379e-8", + "extra": "mean: 258.18693632488544 nsec\nrounds: 190513" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_rs", + "value": 1819868.0331396996, + "unit": "iter/sec", + "range": "stddev: 1.4365414555262885e-7", + "extra": "mean: 549.4903925944374 nsec\nrounds: 142390" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_kwargs_py", + "value": 2539168.3056355948, + "unit": "iter/sec", + "range": "stddev: 3.100720658795828e-8", + "extra": "mean: 393.8297425107801 nsec\nrounds: 191205" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_kwargs_rs", + "value": 1519635.268943375, + "unit": "iter/sec", + "range": "stddev: 1.494783068742897e-7", + "extra": "mean: 658.0526396280043 nsec\nrounds: 111038" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py", + "value": 2352036.5267269895, + "unit": "iter/sec", + "range": "stddev: 3.219093787852261e-8", + "extra": "mean: 425.16346520841 nsec\nrounds: 194932" + }, + { + "name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs", + "value": 1603757.6597605634, + "unit": "iter/sec", + "range": "stddev: 1.3623139870577698e-7", + "extra": "mean: 623.5356033462668 nsec\nrounds: 125550" + }, + { + "name": "tests/test_pyfunctions.py::test_args_kwargs_py", + "value": 2968867.697019121, + "unit": "iter/sec", + "range": "stddev: 2.8938149747652602e-8", + "extra": "mean: 336.82875158231053 nsec\nrounds: 187618" + }, + { + "name": "tests/test_pyfunctions.py::test_args_kwargs_rs", + "value": 6728012.22804175, + "unit": "iter/sec", + "range": "stddev: 1.2395244312431467e-8", + "extra": "mean: 148.6323101245402 nsec\nrounds: 196117" + } + ] } ] }