Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for ff373eb
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Dec 25, 2023
1 parent 85bb1c5 commit fc89a8e
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": 1703502460741,
"lastUpdate": 1703502538655,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -338114,6 +338114,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 245.73427658537688 nsec\nrounds: 191571"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "Adam Reichold",
"username": "adamreichold"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": false,
"id": "ff373eb1c611d83eddb752d76df8d1b8965123df",
"message": "Merge pull request #3697 from davidhewitt/as-gil-ref\n\nexpose `Bound::as_gil_ref` and `Bound::into_gil_ref`",
"timestamp": "2023-12-25T09:48:23Z",
"tree_id": "251045160a644bd040ece560d80d6bb39c028317",
"url": "https://github.com/PyO3/pyo3/commit/ff373eb1c611d83eddb752d76df8d1b8965123df"
},
"date": 1703502525716,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 2114887.04201544,
"unit": "iter/sec",
"range": "stddev: 2.540208095221707e-7",
"extra": "mean: 472.8384921433073 nsec\nrounds: 165509"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 4729058.757251415,
"unit": "iter/sec",
"range": "stddev: 1.9241068425902078e-8",
"extra": "mean: 211.45856952329592 nsec\nrounds: 198847"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 10523206.372068327,
"unit": "iter/sec",
"range": "stddev: 1.11638660330293e-8",
"extra": "mean: 95.02807078404287 nsec\nrounds: 105955"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 6828787.994959838,
"unit": "iter/sec",
"range": "stddev: 1.4987713560476135e-8",
"extra": "mean: 146.43887037320175 nsec\nrounds: 189036"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3369927.779489654,
"unit": "iter/sec",
"range": "stddev: 2.7135479124270465e-8",
"extra": "mean: 296.7422643554222 nsec\nrounds: 190115"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 1829728.7270766268,
"unit": "iter/sec",
"range": "stddev: 2.0063803639301466e-7",
"extra": "mean: 546.5291030314141 nsec\nrounds: 196079"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 2803639.6190648554,
"unit": "iter/sec",
"range": "stddev: 3.227110454962946e-8",
"extra": "mean: 356.6792226789642 nsec\nrounds: 187935"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1322699.2694571316,
"unit": "iter/sec",
"range": "stddev: 1.8313325837940907e-7",
"extra": "mean: 756.0297515023386 nsec\nrounds: 130481"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 1864595.885912045,
"unit": "iter/sec",
"range": "stddev: 4.651210405361916e-8",
"extra": "mean: 536.3092386696229 nsec\nrounds: 175101"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1090470.9164068922,
"unit": "iter/sec",
"range": "stddev: 1.7435283307249207e-7",
"extra": "mean: 917.0350029095737 nsec\nrounds: 96535"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1763326.095695181,
"unit": "iter/sec",
"range": "stddev: 5.121271298636958e-8",
"extra": "mean: 567.1100781876399 nsec\nrounds: 146564"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1095523.6585488725,
"unit": "iter/sec",
"range": "stddev: 1.6795952089433228e-7",
"extra": "mean: 912.8054809191406 nsec\nrounds: 106406"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2237343.608843108,
"unit": "iter/sec",
"range": "stddev: 3.670616259682449e-8",
"extra": "mean: 446.9586146926635 nsec\nrounds: 181819"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 4391337.52913746,
"unit": "iter/sec",
"range": "stddev: 1.7696253836837688e-8",
"extra": "mean: 227.72105158503237 nsec\nrounds: 193424"
}
]
}
]
}
Expand Down

0 comments on commit fc89a8e

Please sign in to comment.