Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 78ae491
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Nov 15, 2023
1 parent c11c575 commit c246cbe
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": 1700012708117,
"lastUpdate": 1700012793966,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -301910,6 +301910,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 455.45593598766095 nsec\nrounds: 188680"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "David Hewitt",
"username": "davidhewitt"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": false,
"id": "78ae491557ffe40eb943302e347b0e0f5195dc25",
"message": "Merge pull request #3575 from davidhewitt/no-rust-toolchain\n\nci: try to run without rust-toolchain.toml",
"timestamp": "2023-11-15T00:41:28Z",
"tree_id": "c54d193a313f9f20bf23af8b0b51b6bef6f894a5",
"url": "https://github.com/PyO3/pyo3/commit/78ae491557ffe40eb943302e347b0e0f5195dc25"
},
"date": 1700012782857,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 3701591.5350963813,
"unit": "iter/sec",
"range": "stddev: 1.153735096866752e-7",
"extra": "mean: 270.15406495248595 nsec\nrounds: 182449"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 7464716.530851523,
"unit": "iter/sec",
"range": "stddev: 7.861531763896682e-9",
"extra": "mean: 133.96355988429303 nsec\nrounds: 68550"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 13256384.922182325,
"unit": "iter/sec",
"range": "stddev: 4.98125139198365e-9",
"extra": "mean: 75.43534725871369 nsec\nrounds: 135245"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 11260710.433563806,
"unit": "iter/sec",
"range": "stddev: 4.426923519959924e-9",
"extra": "mean: 88.80434373122571 nsec\nrounds: 55267"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 4745197.045904546,
"unit": "iter/sec",
"range": "stddev: 2.7903833747921793e-8",
"extra": "mean: 210.7394045655224 nsec\nrounds: 194970"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 3726223.2241328605,
"unit": "iter/sec",
"range": "stddev: 2.0931094771622968e-8",
"extra": "mean: 268.3682484515438 nsec\nrounds: 162285"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 4027490.2119769496,
"unit": "iter/sec",
"range": "stddev: 1.800400969351934e-8",
"extra": "mean: 248.29358915043423 nsec\nrounds: 194553"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1855231.5110926598,
"unit": "iter/sec",
"range": "stddev: 1.1328940111142176e-7",
"extra": "mean: 539.0162866579592 nsec\nrounds: 157184"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2653049.052348308,
"unit": "iter/sec",
"range": "stddev: 3.6089002399518826e-8",
"extra": "mean: 376.92480623939633 nsec\nrounds: 193837"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1577699.0319058034,
"unit": "iter/sec",
"range": "stddev: 1.5280105431556398e-7",
"extra": "mean: 633.8344511703453 nsec\nrounds: 133441"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 2475110.1344808466,
"unit": "iter/sec",
"range": "stddev: 6.926693083597224e-8",
"extra": "mean: 404.0224255353185 nsec\nrounds: 188680"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1527187.100092329,
"unit": "iter/sec",
"range": "stddev: 1.8484893386379135e-7",
"extra": "mean: 654.7986163185526 nsec\nrounds: 133263"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 3203181.555824227,
"unit": "iter/sec",
"range": "stddev: 2.6943187639114594e-8",
"extra": "mean: 312.1896097902214 nsec\nrounds: 195695"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 6305250.312810588,
"unit": "iter/sec",
"range": "stddev: 1.1629091929758015e-8",
"extra": "mean: 158.59798586715368 nsec\nrounds: 196890"
}
]
}
]
}
Expand Down

0 comments on commit c246cbe

Please sign in to comment.