Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 642b335
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Oct 11, 2023
1 parent ab54583 commit 229b33e
Showing 1 changed file with 123 additions and 1 deletion.
124 changes: 123 additions & 1 deletion dev/bench/data.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
window.BENCHMARK_DATA = {
"lastUpdate": 1697063128582,
"lastUpdate": 1697063238522,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -289252,6 +289252,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 186.96438166706477 nsec\nrounds: 200000"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "David Hewitt",
"username": "davidhewitt"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": false,
"id": "642b335ce36bbc711e702e8b9e1f2707355e7bdd",
"message": "Merge pull request #3493 from PyO3/release-0.20\n\nrelease: 0.20.0",
"timestamp": "2023-10-11T21:23:08Z",
"tree_id": "84e9a86e418812969bec151021e8e99d258d77d6",
"url": "https://github.com/PyO3/pyo3/commit/642b335ce36bbc711e702e8b9e1f2707355e7bdd"
},
"date": 1697063222027,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 3081597.800055262,
"unit": "iter/sec",
"range": "stddev: 2.703093711695629e-7",
"extra": "mean: 324.50698140492796 nsec\nrounds: 163935"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 7752689.205918761,
"unit": "iter/sec",
"range": "stddev: 9.242545634088847e-9",
"extra": "mean: 128.987500135772 nsec\nrounds: 200000"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 11971210.898420293,
"unit": "iter/sec",
"range": "stddev: 7.980010788538158e-9",
"extra": "mean: 83.5337384399997 nsec\nrounds: 117648"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 9294291.296967972,
"unit": "iter/sec",
"range": "stddev: 1.6924092169551544e-8",
"extra": "mean: 107.59292645865507 nsec\nrounds: 46083"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3620529.760329415,
"unit": "iter/sec",
"range": "stddev: 2.533869944211326e-8",
"extra": "mean: 276.2026736967745 nsec\nrounds: 196079"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 2134579.290113379,
"unit": "iter/sec",
"range": "stddev: 1.0734307630567415e-7",
"extra": "mean: 468.4763899994948 nsec\nrounds: 200000"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 3183752.4076407473,
"unit": "iter/sec",
"range": "stddev: 1.8318911475113203e-8",
"extra": "mean: 314.094776214407 nsec\nrounds: 196079"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1646357.9588187903,
"unit": "iter/sec",
"range": "stddev: 8.044169474976962e-8",
"extra": "mean: 607.4013215919753 nsec\nrounds: 142858"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2112688.374888496,
"unit": "iter/sec",
"range": "stddev: 2.4732926250301303e-8",
"extra": "mean: 473.33057344690417 nsec\nrounds: 147059"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1411895.3484598068,
"unit": "iter/sec",
"range": "stddev: 1.340492776040701e-7",
"extra": "mean: 708.2677912997372 nsec\nrounds: 113637"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1939184.3394812113,
"unit": "iter/sec",
"range": "stddev: 2.9053537037480097e-8",
"extra": "mean: 515.6807321719907 nsec\nrounds: 149254"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1405407.849744697,
"unit": "iter/sec",
"range": "stddev: 1.1647447022373658e-7",
"extra": "mean: 711.5372240034503 nsec\nrounds: 125000"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2498197.4119123225,
"unit": "iter/sec",
"range": "stddev: 2.169603604052698e-8",
"extra": "mean: 400.28862220066173 nsec\nrounds: 181819"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 5583916.625995539,
"unit": "iter/sec",
"range": "stddev: 1.025218919455051e-8",
"extra": "mean: 179.08576846276304 nsec\nrounds: 200000"
}
]
}
]
}
Expand Down

0 comments on commit 229b33e

Please sign in to comment.