Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for c44d2f5
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Dec 26, 2023
1 parent f09474b commit 6ce0180
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": 1703590719389,
"lastUpdate": 1703590808930,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -339174,6 +339174,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 237.57657846151247 nsec\nrounds: 199641"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "Adam Reichold",
"username": "adamreichold"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "c44d2f53d54f08d6ac1616d9d73b2e35ad2b1bd7",
"message": "Merge pull request #3692 from davidhewitt/as-bound\n\nAdd `as_borrowed` conversion from gil-refs to `Bound<T>`",
"timestamp": "2023-12-26T10:45:43Z",
"tree_id": "5254bd3ae96fcf618d42e361ca5175e22e3bc500",
"url": "https://github.com/PyO3/pyo3/commit/c44d2f53d54f08d6ac1616d9d73b2e35ad2b1bd7"
},
"date": 1703590795756,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 2465832.5631504157,
"unit": "iter/sec",
"range": "stddev: 9.031100371178645e-8",
"extra": "mean: 405.5425396452598 nsec\nrounds: 147886"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 4656520.104757959,
"unit": "iter/sec",
"range": "stddev: 1.81278997078323e-8",
"extra": "mean: 214.75264306884787 nsec\nrounds: 193462"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 10630396.53049241,
"unit": "iter/sec",
"range": "stddev: 6.298655775794746e-9",
"extra": "mean: 94.0698681494696 nsec\nrounds: 102691"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 6829568.246648334,
"unit": "iter/sec",
"range": "stddev: 1.6131070036864227e-8",
"extra": "mean: 146.42214030012192 nsec\nrounds: 199243"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3407789.72823657,
"unit": "iter/sec",
"range": "stddev: 2.6478896995861832e-8",
"extra": "mean: 293.44533546600906 nsec\nrounds: 195734"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 1834750.477427437,
"unit": "iter/sec",
"range": "stddev: 1.4808236553564383e-7",
"extra": "mean: 545.0332414695062 nsec\nrounds: 188680"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 2811657.474690409,
"unit": "iter/sec",
"range": "stddev: 3.3808660748616056e-8",
"extra": "mean: 355.6620993138966 nsec\nrounds: 196503"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1335969.2513260813,
"unit": "iter/sec",
"range": "stddev: 1.5686739956453297e-7",
"extra": "mean: 748.5202215600406 nsec\nrounds: 137874"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 1869877.9973806883,
"unit": "iter/sec",
"range": "stddev: 6.410338487245332e-8",
"extra": "mean: 534.7942493578687 nsec\nrounds: 167477"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1084694.0567094942,
"unit": "iter/sec",
"range": "stddev: 2.5796524337036307e-7",
"extra": "mean: 921.9189446225784 nsec\nrounds: 94429"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1809455.443501628,
"unit": "iter/sec",
"range": "stddev: 4.7767517054721905e-8",
"extra": "mean: 552.6524588330379 nsec\nrounds: 151677"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1081170.249194827,
"unit": "iter/sec",
"range": "stddev: 1.9412919889867563e-7",
"extra": "mean: 924.9237118249634 nsec\nrounds: 118695"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2229523.110904279,
"unit": "iter/sec",
"range": "stddev: 3.9439670592335734e-8",
"extra": "mean: 448.52641136983186 nsec\nrounds: 184163"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 4217163.429853189,
"unit": "iter/sec",
"range": "stddev: 2.6884070160751293e-8",
"extra": "mean: 237.12621448839909 nsec\nrounds: 192716"
}
]
}
]
}
Expand Down

0 comments on commit 6ce0180

Please sign in to comment.