Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for f335f42
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Sep 29, 2023
1 parent 555ef05 commit 8fbbe53
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": 1696011128421,
"lastUpdate": 1696011223951,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -283260,6 +283260,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 193.2920017499562 nsec\nrounds: 200000"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "David Hewitt",
"username": "davidhewitt"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "f335f42197a7b043b24ea1a1115a44772a8bf94a",
"message": "Merge pull request #3446 from davidhewitt/relax-import-check\n\nrelax multiple-import check to only prevent subinterpreters",
"timestamp": "2023-09-29T16:35:31Z",
"tree_id": "de1ef88c460ce0a86767bd5f12202964522fae1a",
"url": "https://github.com/PyO3/pyo3/commit/f335f42197a7b043b24ea1a1115a44772a8bf94a"
},
"date": 1696011208663,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 2880187.170702068,
"unit": "iter/sec",
"range": "stddev: 9.375691925147637e-8",
"extra": "mean: 347.1996577764917 nsec\nrounds: 161291"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 7231369.498408207,
"unit": "iter/sec",
"range": "stddev: 5.142168149042821e-9",
"extra": "mean: 138.28639239358967 nsec\nrounds: 65786"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 10991019.776596574,
"unit": "iter/sec",
"range": "stddev: 4.202533897072579e-9",
"extra": "mean: 90.98336827038412 nsec\nrounds: 107527"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 10209078.551178472,
"unit": "iter/sec",
"range": "stddev: 7.191460234568657e-9",
"extra": "mean: 97.95203308379239 nsec\nrounds: 49752"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3550388.574759139,
"unit": "iter/sec",
"range": "stddev: 2.9280204758122136e-8",
"extra": "mean: 281.65931107096014 nsec\nrounds: 196079"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 2215197.1526655643,
"unit": "iter/sec",
"range": "stddev: 8.164143792074519e-8",
"extra": "mean: 451.4270880118693 nsec\nrounds: 169492"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 3072859.8470159722,
"unit": "iter/sec",
"range": "stddev: 3.1911094064522825e-8",
"extra": "mean: 325.42974616010923 nsec\nrounds: 192308"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1578614.6212646544,
"unit": "iter/sec",
"range": "stddev: 1.0801727141719976e-7",
"extra": "mean: 633.4668300480349 nsec\nrounds: 116280"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2120020.8719287612,
"unit": "iter/sec",
"range": "stddev: 1.9059752614998863e-8",
"extra": "mean: 471.6934692677321 nsec\nrounds: 92593"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1393139.4886412623,
"unit": "iter/sec",
"range": "stddev: 1.4941203681329394e-7",
"extra": "mean: 717.8032122076349 nsec\nrounds: 107527"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1893989.1222863921,
"unit": "iter/sec",
"range": "stddev: 1.962202436476173e-8",
"extra": "mean: 527.9861368967433 nsec\nrounds: 51280"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1323319.9321924192,
"unit": "iter/sec",
"range": "stddev: 1.1994701372393752e-7",
"extra": "mean: 755.6751588735184 nsec\nrounds: 106372"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2571264.083808867,
"unit": "iter/sec",
"range": "stddev: 9.387417261801158e-8",
"extra": "mean: 388.9137666943565 nsec\nrounds: 188680"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 5321586.40713469,
"unit": "iter/sec",
"range": "stddev: 1.0251150217948297e-8",
"extra": "mean: 187.91388948590384 nsec\nrounds: 192308"
}
]
}
]
}
Expand Down

0 comments on commit 8fbbe53

Please sign in to comment.