Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 382e9b9
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Dec 24, 2023
1 parent f8e03e0 commit ca5f595
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": 1703457907671,
"lastUpdate": 1703458002378,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -337054,6 +337054,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 229.08993097078536 nsec\nrounds: 193088"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "David Hewitt",
"username": "davidhewitt"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "382e9b9fb5f297d49ab303bee3881e005a2ebd07",
"message": "Merge pull request #3701 from alex/gevent-py37\n\nDon't try to run the gevent tests on py37",
"timestamp": "2023-12-24T21:40:51Z",
"tree_id": "0c41a54cb89b5e1471a060d1f455b14687ae5bcf",
"url": "https://github.com/PyO3/pyo3/commit/382e9b9fb5f297d49ab303bee3881e005a2ebd07"
},
"date": 1703457988458,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 2472152.847739491,
"unit": "iter/sec",
"range": "stddev: 1.419803513177811e-7",
"extra": "mean: 404.5057330959082 nsec\nrounds: 168322"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 4734179.955858851,
"unit": "iter/sec",
"range": "stddev: 2.1087300341177352e-8",
"extra": "mean: 211.229824240719 nsec\nrounds: 193051"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 10690576.790445652,
"unit": "iter/sec",
"range": "stddev: 7.613406373534274e-9",
"extra": "mean: 93.54032243552255 nsec\nrounds: 104734"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 7057935.625004379,
"unit": "iter/sec",
"range": "stddev: 8.106954927405478e-9",
"extra": "mean: 141.68448865660767 nsec\nrounds: 71449"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3390025.1902806154,
"unit": "iter/sec",
"range": "stddev: 2.610273528244746e-8",
"extra": "mean: 294.98305878878244 nsec\nrounds: 183151"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 2739700.1032565907,
"unit": "iter/sec",
"range": "stddev: 2.7171915602092353e-8",
"extra": "mean: 365.00345377632146 nsec\nrounds: 131320"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 2837448.603912629,
"unit": "iter/sec",
"range": "stddev: 2.99292695829048e-8",
"extra": "mean: 352.42929109661225 nsec\nrounds: 194932"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1327196.1171819072,
"unit": "iter/sec",
"range": "stddev: 1.4617912056110682e-7",
"extra": "mean: 753.4681476640718 nsec\nrounds: 151700"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 1831936.3413311841,
"unit": "iter/sec",
"range": "stddev: 7.086378752927196e-8",
"extra": "mean: 545.8704963914553 nsec\nrounds: 173311"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1077493.3385613686,
"unit": "iter/sec",
"range": "stddev: 1.7478211366455277e-7",
"extra": "mean: 928.0799836174997 nsec\nrounds: 104734"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1768965.2466781286,
"unit": "iter/sec",
"range": "stddev: 4.688342479407786e-8",
"extra": "mean: 565.3022307124808 nsec\nrounds: 150535"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1062692.1249433435,
"unit": "iter/sec",
"range": "stddev: 1.6965028685385883e-7",
"extra": "mean: 941.0063145554168 nsec\nrounds: 127324"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2221686.039137378,
"unit": "iter/sec",
"range": "stddev: 4.1481134596499794e-8",
"extra": "mean: 450.1086032787394 nsec\nrounds: 196890"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 4250808.374282648,
"unit": "iter/sec",
"range": "stddev: 2.0759689199247198e-8",
"extra": "mean: 235.24937187241628 nsec\nrounds: 199641"
}
]
}
]
}
Expand Down

0 comments on commit ca5f595

Please sign in to comment.