Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 54ffaec
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Mar 25, 2024
1 parent 16aa2b3 commit efc498b
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": 1711388583178,
"lastUpdate": 1711388681999,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -438214,6 +438214,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 152.67563910146393 nsec\nrounds: 63292"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "Icxolu",
"username": "Icxolu"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "54ffaecd65a746e702e8ec904d2af4f3a8aeaee9",
"message": "add `AsRef` impls for `PyBackedStr` and `PyBackedBytes` (#3991)\n\n* add `AsRef` impls for `PyBackedStr` and `PyBackedBytes`\n\n* add newsfragment",
"timestamp": "2024-03-25T16:21:27Z",
"tree_id": "c100a28a44661b6d92d4571f264b520ecaf280a4",
"url": "https://github.com/PyO3/pyo3/commit/54ffaecd65a746e702e8ec904d2af4f3a8aeaee9"
},
"date": 1711388663060,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 3775432.063394636,
"unit": "iter/sec",
"range": "stddev: 8.888278937953218e-8",
"extra": "mean: 264.8703468129318 nsec\nrounds: 176679"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 7259913.752070144,
"unit": "iter/sec",
"range": "stddev: 6.748133349665095e-9",
"extra": "mean: 137.74268319852325 nsec\nrounds: 66499"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 14171011.249283107,
"unit": "iter/sec",
"range": "stddev: 4.660586698485606e-9",
"extra": "mean: 70.56659418364295 nsec\nrounds: 139802"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 11421157.038269145,
"unit": "iter/sec",
"range": "stddev: 3.775635884885627e-9",
"extra": "mean: 87.5568032773979 nsec\nrounds: 56938"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 4517844.154279426,
"unit": "iter/sec",
"range": "stddev: 1.618944586474944e-8",
"extra": "mean: 221.34450987043735 nsec\nrounds: 195351"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 3878916.3124139365,
"unit": "iter/sec",
"range": "stddev: 1.9428172603284925e-8",
"extra": "mean: 257.80396364820706 nsec\nrounds: 93197"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 3689960.2474032138,
"unit": "iter/sec",
"range": "stddev: 4.629963047367506e-8",
"extra": "mean: 271.00562958740375 nsec\nrounds: 197668"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 2176269.8535322268,
"unit": "iter/sec",
"range": "stddev: 1.6232191367411312e-7",
"extra": "mean: 459.50183906510273 nsec\nrounds: 188680"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2519973.228987474,
"unit": "iter/sec",
"range": "stddev: 7.340336591602345e-8",
"extra": "mean: 396.82961251211395 nsec\nrounds: 197668"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 2219450.0758116515,
"unit": "iter/sec",
"range": "stddev: 1.3043509863082223e-7",
"extra": "mean: 450.5620607998135 nsec\nrounds: 183151"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 2411347.056411737,
"unit": "iter/sec",
"range": "stddev: 3.5550242850939015e-8",
"extra": "mean: 414.70596169100355 nsec\nrounds: 184843"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 2133778.7713758345,
"unit": "iter/sec",
"range": "stddev: 1.243840766962187e-7",
"extra": "mean: 468.6521458619688 nsec\nrounds: 179857"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2996188.374452986,
"unit": "iter/sec",
"range": "stddev: 4.886244026906694e-8",
"extra": "mean: 333.7573860597367 nsec\nrounds: 104734"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 6479139.990781663,
"unit": "iter/sec",
"range": "stddev: 1.160088061083555e-8",
"extra": "mean: 154.34147146423317 nsec\nrounds: 195734"
}
]
}
]
}
Expand Down

0 comments on commit efc498b

Please sign in to comment.