Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 03c50a1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Apr 18, 2024
1 parent c8642d1 commit 8ac3342
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": 1713431727609,
"lastUpdate": 1713435080551,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -458998,6 +458998,156 @@ window.BENCHMARK_DATA = {
"extra": "mean: 156.55244388626897 nsec\nrounds: 64111"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "Jacob Zhong",
"username": "cmpute"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": false,
"id": "03c50a18392cdb183aa059d65d74dbca9fdc3ec3",
"message": "Change the types of `PySliceIndices` and `PySlice::indices (#3761)\n\n* Change the type of `PySliceIndices::slicelength` and `PySlice::indices()`\n\n* Fix example\n\n* Fix fmt",
"timestamp": "2024-04-18T07:33:07Z",
"tree_id": "69fbb8c550a3ed892ad400b64e5df38cf44ccc45",
"url": "https://github.com/PyO3/pyo3/commit/03c50a18392cdb183aa059d65d74dbca9fdc3ec3"
},
"date": 1713435059278,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 3926442.5222608857,
"unit": "iter/sec",
"range": "stddev: 8.618443190331846e-8",
"extra": "mean: 254.68346838913862 nsec\nrounds: 195734"
},
{
"name": "tests/test_pyclasses.py::test_method_call",
"value": 11924813.553742163,
"unit": "iter/sec",
"range": "stddev: 6.418135279125651e-9",
"extra": "mean: 83.85875347176282 nsec\nrounds: 119532"
},
{
"name": "tests/test_pyclasses.py::test_proto_call",
"value": 10732724.720015844,
"unit": "iter/sec",
"range": "stddev: 5.113297988502628e-9",
"extra": "mean: 93.17298506082656 nsec\nrounds: 107435"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 7007787.410294378,
"unit": "iter/sec",
"range": "stddev: 1.3569620192636001e-8",
"extra": "mean: 142.69839272393006 nsec\nrounds: 193051"
},
{
"name": "tests/test_pyclasses.py::test_method_call_py",
"value": 10774312.886913659,
"unit": "iter/sec",
"range": "stddev: 1.5692767343552684e-8",
"extra": "mean: 92.81334322623832 nsec\nrounds: 111521"
},
{
"name": "tests/test_pyclasses.py::test_proto_call_py",
"value": 8402947.469630832,
"unit": "iter/sec",
"range": "stddev: 6.480072291748344e-9",
"extra": "mean: 119.005861171227 nsec\nrounds: 81813"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 12355552.113421807,
"unit": "iter/sec",
"range": "stddev: 4.882921942035109e-9",
"extra": "mean: 80.93527434631612 nsec\nrounds: 125079"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 12628174.18147339,
"unit": "iter/sec",
"range": "stddev: 5.542511153047431e-9",
"extra": "mean: 79.18801131735144 nsec\nrounds: 119818"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 4669411.720687664,
"unit": "iter/sec",
"range": "stddev: 1.7097613011413866e-8",
"extra": "mean: 214.15973998813064 nsec\nrounds: 191939"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 3699424.854880744,
"unit": "iter/sec",
"range": "stddev: 6.18543563043224e-8",
"extra": "mean: 270.31228886313903 nsec\nrounds: 166362"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 4018496.048388062,
"unit": "iter/sec",
"range": "stddev: 2.7173476440861012e-8",
"extra": "mean: 248.84931774441577 nsec\nrounds: 198020"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 2123849.399613137,
"unit": "iter/sec",
"range": "stddev: 1.345706874776317e-7",
"extra": "mean: 470.8431775728316 nsec\nrounds: 194175"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2564195.724943556,
"unit": "iter/sec",
"range": "stddev: 3.651947330819903e-8",
"extra": "mean: 389.9858307508926 nsec\nrounds: 190477"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 2103724.35133269,
"unit": "iter/sec",
"range": "stddev: 1.2161544220436442e-7",
"extra": "mean: 475.3474471912202 nsec\nrounds: 168322"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 2485465.7277434985,
"unit": "iter/sec",
"range": "stddev: 4.2630893805113944e-8",
"extra": "mean: 402.3390823046588 nsec\nrounds: 199601"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 2089243.3322761501,
"unit": "iter/sec",
"range": "stddev: 1.20343843520677e-7",
"extra": "mean: 478.64218808373005 nsec\nrounds: 187266"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 3178003.6608688943,
"unit": "iter/sec",
"range": "stddev: 2.5006384824273886e-8",
"extra": "mean: 314.66294778483393 nsec\nrounds: 197668"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 6049897.352774307,
"unit": "iter/sec",
"range": "stddev: 1.519168470439726e-8",
"extra": "mean: 165.2920606233805 nsec\nrounds: 191205"
}
]
}
]
}
Expand Down

0 comments on commit 8ac3342

Please sign in to comment.