Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for f37c682
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Dec 25, 2023
1 parent 4ab0e41 commit 697ea56
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": 1703503589064,
"lastUpdate": 1703503672147,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -338644,6 +338644,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 227.72105158503237 nsec\nrounds: 193424"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "Adam Reichold",
"username": "adamreichold"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "f37c682f8ca3b39f965def6e6088eaae3b8f3ae7",
"message": "Merge pull request #3700 from davidhewitt/super-bound\n\nintroduce `PySuper::new_bound`",
"timestamp": "2023-12-25T09:48:39Z",
"tree_id": "682aaeec152be66a650b4958450527412576ddab",
"url": "https://github.com/PyO3/pyo3/commit/f37c682f8ca3b39f965def6e6088eaae3b8f3ae7"
},
"date": 1703503657695,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 2477335.130484782,
"unit": "iter/sec",
"range": "stddev: 1.2028933607486728e-7",
"extra": "mean: 403.65955647038885 nsec\nrounds: 132909"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 4707132.663087541,
"unit": "iter/sec",
"range": "stddev: 2.2978600690565406e-8",
"extra": "mean: 212.44355567919595 nsec\nrounds: 198808"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 10285410.525549151,
"unit": "iter/sec",
"range": "stddev: 1.8950765304453555e-8",
"extra": "mean: 97.22509349684988 nsec\nrounds: 105619"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 6914606.897172829,
"unit": "iter/sec",
"range": "stddev: 1.1685670983571325e-8",
"extra": "mean: 144.62138121096507 nsec\nrounds: 190115"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3396703.0834684125,
"unit": "iter/sec",
"range": "stddev: 2.2403150524237645e-8",
"extra": "mean: 294.40312427275467 nsec\nrounds: 187266"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 2667892.477505274,
"unit": "iter/sec",
"range": "stddev: 2.633937458283242e-8",
"extra": "mean: 374.8276995537288 nsec\nrounds: 128123"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 2689001.2524953964,
"unit": "iter/sec",
"range": "stddev: 8.15464872378745e-8",
"extra": "mean: 371.88528606001904 nsec\nrounds: 193424"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1371312.0973771617,
"unit": "iter/sec",
"range": "stddev: 1.4529181906360922e-7",
"extra": "mean: 729.2285993193298 nsec\nrounds: 130311"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 1861722.6579296927,
"unit": "iter/sec",
"range": "stddev: 4.5451452225297793e-8",
"extra": "mean: 537.1369337643656 nsec\nrounds: 175747"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1124306.7351268788,
"unit": "iter/sec",
"range": "stddev: 1.5844563914869142e-7",
"extra": "mean: 889.4369914871579 nsec\nrounds: 92670"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1759858.6951642432,
"unit": "iter/sec",
"range": "stddev: 4.4379411382619505e-8",
"extra": "mean: 568.2274393664728 nsec\nrounds: 159694"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1094921.9808744336,
"unit": "iter/sec",
"range": "stddev: 1.6525337583636477e-7",
"extra": "mean: 913.3070825753023 nsec\nrounds: 108378"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2194312.730558402,
"unit": "iter/sec",
"range": "stddev: 4.00418065015618e-8",
"extra": "mean: 455.72355575110896 nsec\nrounds: 191571"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 4209169.129700217,
"unit": "iter/sec",
"range": "stddev: 2.1959344069865675e-8",
"extra": "mean: 237.57657846151247 nsec\nrounds: 199641"
}
]
}
]
}
Expand Down

0 comments on commit 697ea56

Please sign in to comment.