Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for aef0a05
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed May 10, 2024
1 parent ac0196e commit 8afdb37
Showing 1 changed file with 151 additions and 1 deletion.
152 changes: 151 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": 1715341287635,
"lastUpdate": 1715341386166,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -477412,6 +477412,156 @@ window.BENCHMARK_DATA = {
"extra": "mean: 159.30414103068586 nsec\nrounds: 196503"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "Icxolu",
"username": "Icxolu"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "aef0a05719db45caba0ab90315d1b250a690e35b",
"message": "deprecate implicit default for trailing optional arguments (#4078)\n\n* deprecate \"trailing optional arguments\" implicit default behaviour\n\n* add newsfragment\n\n* generate individual deprecation messages per function\n\n* add migration guide entry",
"timestamp": "2024-05-10T10:34:58Z",
"tree_id": "316cea513fc2d0c4101935a67f8bb737d7807d50",
"url": "https://github.com/PyO3/pyo3/commit/aef0a05719db45caba0ab90315d1b250a690e35b"
},
"date": 1715341363753,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 3716962.5516851055,
"unit": "iter/sec",
"range": "stddev: 1.2207757611063935e-7",
"extra": "mean: 269.03687785249394 nsec\nrounds: 163106"
},
{
"name": "tests/test_pyclasses.py::test_method_call",
"value": 11965740.775648791,
"unit": "iter/sec",
"range": "stddev: 5.730828996176804e-9",
"extra": "mean: 83.57192577956204 nsec\nrounds: 119105"
},
{
"name": "tests/test_pyclasses.py::test_proto_call",
"value": 10702400.961221108,
"unit": "iter/sec",
"range": "stddev: 7.572109581778114e-9",
"extra": "mean: 93.4369777046648 nsec\nrounds: 106975"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 7345341.862077056,
"unit": "iter/sec",
"range": "stddev: 1.0439024863904849e-8",
"extra": "mean: 136.14070233583766 nsec\nrounds: 70892"
},
{
"name": "tests/test_pyclasses.py::test_method_call_py",
"value": 10893544.843765317,
"unit": "iter/sec",
"range": "stddev: 6.40417668969107e-9",
"extra": "mean: 91.79748321982889 nsec\nrounds: 109207"
},
{
"name": "tests/test_pyclasses.py::test_proto_call_py",
"value": 8206917.770030941,
"unit": "iter/sec",
"range": "stddev: 1.1012572451047784e-8",
"extra": "mean: 121.84842446596487 nsec\nrounds: 191205"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 12352337.160035476,
"unit": "iter/sec",
"range": "stddev: 5.493337254228915e-9",
"extra": "mean: 80.95633943958245 nsec\nrounds: 123686"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 12793682.262452772,
"unit": "iter/sec",
"range": "stddev: 7.3417634897227346e-9",
"extra": "mean: 78.16357945161931 nsec\nrounds: 66059"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 4623745.009635535,
"unit": "iter/sec",
"range": "stddev: 2.6286304041806223e-8",
"extra": "mean: 216.2749022526276 nsec\nrounds: 197278"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 3726085.5004996248,
"unit": "iter/sec",
"range": "stddev: 3.128830876302046e-8",
"extra": "mean: 268.37816788313404 nsec\nrounds: 176648"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 3999538.8310963735,
"unit": "iter/sec",
"range": "stddev: 2.4127926011734158e-8",
"extra": "mean: 250.02882637993415 nsec\nrounds: 198020"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 3178966.3605061434,
"unit": "iter/sec",
"range": "stddev: 2.6231961038715812e-8",
"extra": "mean: 314.56765709240904 nsec\nrounds: 147428"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2587373.2208317374,
"unit": "iter/sec",
"range": "stddev: 3.5900017611047576e-8",
"extra": "mean: 386.49236683316207 nsec\nrounds: 192679"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 2219219.4516117075,
"unit": "iter/sec",
"range": "stddev: 1.4091704335490295e-7",
"extra": "mean: 450.6088838009014 nsec\nrounds: 168891"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 2534305.212815484,
"unit": "iter/sec",
"range": "stddev: 3.872986816033174e-8",
"extra": "mean: 394.5854646643176 nsec\nrounds: 190840"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 2209601.743634213,
"unit": "iter/sec",
"range": "stddev: 1.7954245784557083e-7",
"extra": "mean: 452.57024388262073 nsec\nrounds: 178222"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 3157478.03370513,
"unit": "iter/sec",
"range": "stddev: 3.282158052011343e-8",
"extra": "mean: 316.70845824588486 nsec\nrounds: 193799"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 6294893.820253511,
"unit": "iter/sec",
"range": "stddev: 1.3368510081351823e-8",
"extra": "mean: 158.85891463054537 nsec\nrounds: 197668"
}
]
}
]
}
Expand Down

0 comments on commit 8afdb37

Please sign in to comment.