Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for e1fcb4e
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Dec 29, 2023
1 parent 6eb6bae commit 0ac6f49
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": 1703893310471,
"lastUpdate": 1703893672203,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -341824,6 +341824,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 241.3128075935823 nsec\nrounds: 196079"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "David Hewitt",
"username": "davidhewitt"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "e1fcb4efce558c51d16d160115a14c367c00b147",
"message": "Merge pull request #3703 from davidhewitt/module2\n\nimplement `PyModuleMethods`",
"timestamp": "2023-12-29T22:30:08Z",
"tree_id": "d977875270740f773c56b122065c4ee7fb4d1ca2",
"url": "https://github.com/PyO3/pyo3/commit/e1fcb4efce558c51d16d160115a14c367c00b147"
},
"date": 1703893658070,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 3913419.040211892,
"unit": "iter/sec",
"range": "stddev: 1.9465971802385696e-8",
"extra": "mean: 255.53103046839956 nsec\nrounds: 194591"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 4731529.043090102,
"unit": "iter/sec",
"range": "stddev: 1.69053928095184e-8",
"extra": "mean: 211.34816903647547 nsec\nrounds: 193837"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 10662311.99223602,
"unit": "iter/sec",
"range": "stddev: 5.961742071482691e-9",
"extra": "mean: 93.78828913730628 nsec\nrounds: 105742"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 6555499.247823587,
"unit": "iter/sec",
"range": "stddev: 3.182009136350691e-8",
"extra": "mean: 152.5436831271086 nsec\nrounds: 199243"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3411974.01027075,
"unit": "iter/sec",
"range": "stddev: 2.7849115183595586e-8",
"extra": "mean: 293.08546811605027 nsec\nrounds: 194932"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 2722069.3232583366,
"unit": "iter/sec",
"range": "stddev: 2.4120354418327583e-8",
"extra": "mean: 367.36757269759494 nsec\nrounds: 127001"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 2812073.390779988,
"unit": "iter/sec",
"range": "stddev: 2.5822731985967225e-8",
"extra": "mean: 355.60949556961197 nsec\nrounds: 193424"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1348050.8758832403,
"unit": "iter/sec",
"range": "stddev: 1.3782669224661547e-7",
"extra": "mean: 741.8117653347482 nsec\nrounds: 134157"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 1891948.0289735277,
"unit": "iter/sec",
"range": "stddev: 5.2107947603199835e-8",
"extra": "mean: 528.5557450235817 nsec\nrounds: 178572"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1100244.7739668426,
"unit": "iter/sec",
"range": "stddev: 1.809974295430599e-7",
"extra": "mean: 908.8886615608105 nsec\nrounds: 102166"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1766689.2006109052,
"unit": "iter/sec",
"range": "stddev: 1.0705989701357021e-7",
"extra": "mean: 566.0305160942903 nsec\nrounds: 153093"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1068845.1677607675,
"unit": "iter/sec",
"range": "stddev: 1.7673834120449998e-7",
"extra": "mean: 935.5892042764264 nsec\nrounds: 124938"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2236415.8394214795,
"unit": "iter/sec",
"range": "stddev: 3.585268090596012e-8",
"extra": "mean: 447.14403393721363 nsec\nrounds: 198020"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 4289234.418834378,
"unit": "iter/sec",
"range": "stddev: 1.9841065512212714e-8",
"extra": "mean: 233.14183892792582 nsec\nrounds: 196890"
}
]
}
]
}
Expand Down

0 comments on commit 0ac6f49

Please sign in to comment.