Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 721100a
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Apr 13, 2024
1 parent 1e3ba4d commit d26db58
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": 1713017841797,
"lastUpdate": 1713017947318,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -455650,6 +455650,156 @@ window.BENCHMARK_DATA = {
"extra": "mean: 162.57595710005404 nsec\nrounds: 196890"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "Adam Reichold",
"username": "adamreichold"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "721100a9e981391de784022bf564285f772314ea",
"message": "Suppress non_local_definitions lint as we often want the non-local effects in macro code (#4074)\n\n* Resolve references to legacy numerical constants and use the associated constants instead\n\n* Suppress non_local_definitions lint as we often want the non-local effects in macro code",
"timestamp": "2024-04-13T12:59:44Z",
"tree_id": "623c518f113938fc5e4cef0920503a1bb7b71d3c",
"url": "https://github.com/PyO3/pyo3/commit/721100a9e981391de784022bf564285f772314ea"
},
"date": 1713017926884,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 3783486.563412931,
"unit": "iter/sec",
"range": "stddev: 1.1451584202645264e-7",
"extra": "mean: 264.3064758496037 nsec\nrounds: 178572"
},
{
"name": "tests/test_pyclasses.py::test_method_call",
"value": 11423089.288184032,
"unit": "iter/sec",
"range": "stddev: 5.224495472553743e-9",
"extra": "mean: 87.54199278074394 nsec\nrounds: 113033"
},
{
"name": "tests/test_pyclasses.py::test_proto_call",
"value": 10898623.117309354,
"unit": "iter/sec",
"range": "stddev: 6.04745778536906e-9",
"extra": "mean: 91.75470967628793 nsec\nrounds: 106519"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 7168758.609804241,
"unit": "iter/sec",
"range": "stddev: 1.0513421812675825e-8",
"extra": "mean: 139.49416550759088 nsec\nrounds: 198413"
},
{
"name": "tests/test_pyclasses.py::test_method_call_py",
"value": 11029662.336965151,
"unit": "iter/sec",
"range": "stddev: 5.701586295367241e-9",
"extra": "mean: 90.66460689812499 nsec\nrounds: 108496"
},
{
"name": "tests/test_pyclasses.py::test_proto_call_py",
"value": 9445320.465607746,
"unit": "iter/sec",
"range": "stddev: 5.6835608518648824e-9",
"extra": "mean: 105.87253271513605 nsec\nrounds: 93994"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 14137206.715838984,
"unit": "iter/sec",
"range": "stddev: 4.610893304445853e-9",
"extra": "mean: 70.73533125038232 nsec\nrounds: 143411"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 12909780.88623873,
"unit": "iter/sec",
"range": "stddev: 4.754774844559395e-9",
"extra": "mean: 77.46064854330386 nsec\nrounds: 128966"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 4616905.34669527,
"unit": "iter/sec",
"range": "stddev: 1.706575663947863e-8",
"extra": "mean: 216.59530029477185 nsec\nrounds: 194175"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 3874019.019911126,
"unit": "iter/sec",
"range": "stddev: 2.1722933794304895e-8",
"extra": "mean: 258.12986329193114 nsec\nrounds: 173581"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 3821070.2237004237,
"unit": "iter/sec",
"range": "stddev: 1.9338624936907515e-8",
"extra": "mean: 261.7067840830138 nsec\nrounds: 198847"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 2171655.9643043457,
"unit": "iter/sec",
"range": "stddev: 1.196000545770879e-7",
"extra": "mean: 460.4780943377159 nsec\nrounds: 196890"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2638575.5221616314,
"unit": "iter/sec",
"range": "stddev: 5.876141318426255e-8",
"extra": "mean: 378.9923735746469 nsec\nrounds: 197668"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 2255585.3840384358,
"unit": "iter/sec",
"range": "stddev: 1.0819023413710833e-7",
"extra": "mean: 443.3438907152272 nsec\nrounds: 186568"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 2512258.749925799,
"unit": "iter/sec",
"range": "stddev: 3.717944319016331e-8",
"extra": "mean: 398.04817080626566 nsec\nrounds: 190840"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 2233220.5425709165,
"unit": "iter/sec",
"range": "stddev: 1.0845101052058577e-7",
"extra": "mean: 447.7838086017179 nsec\nrounds: 191571"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 3148408.7244010847,
"unit": "iter/sec",
"range": "stddev: 2.7014486201120233e-8",
"extra": "mean: 317.6207689458198 nsec\nrounds: 199641"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 6317429.932658119,
"unit": "iter/sec",
"range": "stddev: 1.3668144120668597e-8",
"extra": "mean: 158.29221861733265 nsec\nrounds: 193424"
}
]
}
]
}
Expand Down

0 comments on commit d26db58

Please sign in to comment.