Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for bd66053
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Dec 25, 2023
1 parent 3d9784c commit 12946fb
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": 1703502372666,
"lastUpdate": 1703502453386,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -337584,6 +337584,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 235.24937187241628 nsec\nrounds: 199641"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "Adam Reichold",
"username": "adamreichold"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": false,
"id": "bd660537d8889459c83da3f16dbf3f22e207c872",
"message": "Merge pull request #3695 from davidhewitt/bound-iterator\n\nimplement iterator for `Bound` iterator",
"timestamp": "2023-12-25T09:46:01Z",
"tree_id": "f424cb3445e7eceedf67849c0aa5b96cd2f4de4b",
"url": "https://github.com/PyO3/pyo3/commit/bd660537d8889459c83da3f16dbf3f22e207c872"
},
"date": 1703502440168,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 2547480.3069011504,
"unit": "iter/sec",
"range": "stddev: 1.1439812306155918e-7",
"extra": "mean: 392.5447420696403 nsec\nrounds: 143411"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 4597543.390219715,
"unit": "iter/sec",
"range": "stddev: 1.9753075760329913e-8",
"extra": "mean: 217.5074632525024 nsec\nrounds: 196464"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 10330936.797620863,
"unit": "iter/sec",
"range": "stddev: 7.570441551534197e-9",
"extra": "mean: 96.79664289789213 nsec\nrounds: 99711"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 6743086.754919381,
"unit": "iter/sec",
"range": "stddev: 1.4387483910870049e-8",
"extra": "mean: 148.3000347386092 nsec\nrounds: 199641"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3271116.872567927,
"unit": "iter/sec",
"range": "stddev: 2.4733959150788536e-8",
"extra": "mean: 305.7059832946199 nsec\nrounds: 189394"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 1869451.4755522208,
"unit": "iter/sec",
"range": "stddev: 1.426319619720716e-7",
"extra": "mean: 534.9162645179695 nsec\nrounds: 174490"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 2706887.3455442074,
"unit": "iter/sec",
"range": "stddev: 2.9809803358155593e-8",
"extra": "mean: 369.42800802039085 nsec\nrounds: 196079"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1324314.7249867737,
"unit": "iter/sec",
"range": "stddev: 1.6900470950577004e-7",
"extra": "mean: 755.1075141975691 nsec\nrounds: 123686"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 1790912.213229969,
"unit": "iter/sec",
"range": "stddev: 7.765747103449106e-8",
"extra": "mean: 558.374661031803 nsec\nrounds: 167197"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1089455.4306791115,
"unit": "iter/sec",
"range": "stddev: 1.4318060233220725e-7",
"extra": "mean: 917.8897748728009 nsec\nrounds: 88410"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1702039.2916710523,
"unit": "iter/sec",
"range": "stddev: 3.06425124875975e-8",
"extra": "mean: 587.530502317726 nsec\nrounds: 81084"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1080283.7820887957,
"unit": "iter/sec",
"range": "stddev: 1.6555733454145342e-7",
"extra": "mean: 925.6826924370168 nsec\nrounds: 101441"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2112642.5081674014,
"unit": "iter/sec",
"range": "stddev: 4.8385932606191654e-8",
"extra": "mean: 473.34084973393993 nsec\nrounds: 189754"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 4069436.3598582647,
"unit": "iter/sec",
"range": "stddev: 1.7857837066643495e-8",
"extra": "mean: 245.73427658537688 nsec\nrounds: 191571"
}
]
}
]
}
Expand Down

0 comments on commit 12946fb

Please sign in to comment.