Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for dc251d0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Oct 27, 2023
1 parent 0d3b460 commit 2083e93
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": 1698421668552,
"lastUpdate": 1698421760855,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -299790,6 +299790,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 268.40614231298684 nsec\nrounds: 161291"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "Adam Reichold",
"username": "adamreichold"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "dc251d0c9fe66f977f60ecd0fa59c3e135c26354",
"message": "Merge pull request #3552 from daemontus/main\n\ndocs: Example of dynamic return type in the \"Python classes\" guide",
"timestamp": "2023-10-27T14:32:18Z",
"tree_id": "7dce7a795a4ff284c4aa5ca7fe4bbea82eddc9a5",
"url": "https://github.com/PyO3/pyo3/commit/dc251d0c9fe66f977f60ecd0fa59c3e135c26354"
},
"date": 1698421744052,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 4976248.920767147,
"unit": "iter/sec",
"range": "stddev: 1.0959799682291778e-8",
"extra": "mean: 200.9545776190469 nsec\nrounds: 196079"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 5959022.853319608,
"unit": "iter/sec",
"range": "stddev: 9.171619118511257e-9",
"extra": "mean: 167.81274793113562 nsec\nrounds: 200000"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 10722733.263247794,
"unit": "iter/sec",
"range": "stddev: 4.387526176238065e-9",
"extra": "mean: 93.25980376920347 nsec\nrounds: 103093"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 9892935.200122625,
"unit": "iter/sec",
"range": "stddev: 2.5507257314020986e-9",
"extra": "mean: 101.08223492534398 nsec\nrounds: 47845"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3302986.463949063,
"unit": "iter/sec",
"range": "stddev: 1.6577672286145838e-8",
"extra": "mean: 302.75631187552494 nsec\nrounds: 200000"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 2326879.2430723794,
"unit": "iter/sec",
"range": "stddev: 4.025737801795333e-8",
"extra": "mean: 429.7601618035037 nsec\nrounds: 121937"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 2923518.666712891,
"unit": "iter/sec",
"range": "stddev: 1.7852944485072078e-8",
"extra": "mean: 342.0535710566772 nsec\nrounds: 192308"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1427690.9109153827,
"unit": "iter/sec",
"range": "stddev: 1.4665585436102028e-7",
"extra": "mean: 700.4317197472644 nsec\nrounds: 140846"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 1926065.5826715922,
"unit": "iter/sec",
"range": "stddev: 2.742865088840484e-8",
"extra": "mean: 519.1931204195694 nsec\nrounds: 178572"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1341373.5251610286,
"unit": "iter/sec",
"range": "stddev: 1.2084149683612244e-7",
"extra": "mean: 745.5045006050439 nsec\nrounds: 128206"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1865945.3773892769,
"unit": "iter/sec",
"range": "stddev: 2.1889625538604404e-8",
"extra": "mean: 535.9213683945788 nsec\nrounds: 90091"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1242291.8154422678,
"unit": "iter/sec",
"range": "stddev: 1.0136793443634392e-7",
"extra": "mean: 804.963847921666 nsec\nrounds: 37038"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2303541.08019253,
"unit": "iter/sec",
"range": "stddev: 2.487039579711583e-8",
"extra": "mean: 434.1142463656085 nsec\nrounds: 200000"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 4559890.053841174,
"unit": "iter/sec",
"range": "stddev: 1.2218823037487824e-8",
"extra": "mean: 219.30353324146864 nsec\nrounds: 188680"
}
]
}
]
}
Expand Down

0 comments on commit 2083e93

Please sign in to comment.