Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for d8a6f37
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Oct 20, 2023
1 parent 8fcb425 commit 0a35dc2
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": 1697797633999,
"lastUpdate": 1697797753953,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -294490,6 +294490,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 396.63331257822495 nsec\nrounds: 163908"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "David Hewitt",
"username": "davidhewitt"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "d8a6f37fec4a15f61ca8052d0314efa811e86162",
"message": "Merge pull request #3421 from davidhewitt/codspeed\n\ntry adding codspeed benchmarks",
"timestamp": "2023-10-20T09:14:41Z",
"tree_id": "dc61da56b71a4dd4691369d7e0c0e06762bdd80c",
"url": "https://github.com/PyO3/pyo3/commit/d8a6f37fec4a15f61ca8052d0314efa811e86162"
},
"date": 1697797737057,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 2859698.539278747,
"unit": "iter/sec",
"range": "stddev: 9.31547015271371e-8",
"extra": "mean: 349.68720872662783 nsec\nrounds: 153847"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 5968210.67876961,
"unit": "iter/sec",
"range": "stddev: 9.77459176173181e-9",
"extra": "mean: 167.55440681027653 nsec\nrounds: 196079"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 10727114.076760955,
"unit": "iter/sec",
"range": "stddev: 5.93517727832998e-9",
"extra": "mean: 93.22171768140171 nsec\nrounds: 105264"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 9968513.070251267,
"unit": "iter/sec",
"range": "stddev: 1.3778886376311867e-8",
"extra": "mean: 100.31586385579106 nsec\nrounds: 97088"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3323906.7374413093,
"unit": "iter/sec",
"range": "stddev: 1.500905917377357e-8",
"extra": "mean: 300.8507996736949 nsec\nrounds: 188680"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 2632107.2272222796,
"unit": "iter/sec",
"range": "stddev: 1.6678752708583225e-8",
"extra": "mean: 379.9237316996853 nsec\nrounds: 109891"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 2927161.704559142,
"unit": "iter/sec",
"range": "stddev: 3.673855809667952e-8",
"extra": "mean: 341.62786375705525 nsec\nrounds: 188680"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1401006.2805334795,
"unit": "iter/sec",
"range": "stddev: 1.1094413199832504e-7",
"extra": "mean: 713.7726746087226 nsec\nrounds: 138889"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 1937787.2664118663,
"unit": "iter/sec",
"range": "stddev: 2.6967720666819485e-8",
"extra": "mean: 516.0525189391224 nsec\nrounds: 172414"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1210626.6822659548,
"unit": "iter/sec",
"range": "stddev: 1.653199402236336e-7",
"extra": "mean: 826.0184701433141 nsec\nrounds: 126583"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1844515.825638731,
"unit": "iter/sec",
"range": "stddev: 1.939557841869599e-8",
"extra": "mean: 542.1476932320239 nsec\nrounds: 87720"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1212837.927253029,
"unit": "iter/sec",
"range": "stddev: 1.1768160696885955e-7",
"extra": "mean: 824.5124740326283 nsec\nrounds: 119048"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2299832.7806523987,
"unit": "iter/sec",
"range": "stddev: 2.624444647634028e-8",
"extra": "mean: 434.81422145671297 nsec\nrounds: 192308"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 4595590.49211505,
"unit": "iter/sec",
"range": "stddev: 2.7301807638385035e-8",
"extra": "mean: 217.599893140123 nsec\nrounds: 192308"
}
]
}
]
}
Expand Down

0 comments on commit 0a35dc2

Please sign in to comment.