Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 2d19b7e
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed May 9, 2024
1 parent 2f2dcad commit 7791afd
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": 1715273330092,
"lastUpdate": 1715273429104,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -475180,6 +475180,156 @@ window.BENCHMARK_DATA = {
"extra": "mean: 159.08215242665995 nsec\nrounds: 190840"
}
]
},
{
"commit": {
"author": {
"email": "dmatos2012@users.noreply.github.com",
"name": "David Matos",
"username": "dmatos2012"
},
"committer": {
"email": "noreply@github.com",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "2d19b7e2a7e29e2f445a8b415a764f40b4242c5c",
"message": "Add `num-rational` support for Python's `fractions.Fraction` type (#4148)\n\n* Add `num-rational` support for Python's `fractions.Fraction` type\n\n* Add newsfragment\n\n* Use Bound instead\n\n* Handle objs which atts are incorrect\n\n* Add extra test\n\n* Add tests for wasm32 arch\n\n* add type for wasm32 clipppy",
"timestamp": "2024-05-09T15:37:53Z",
"tree_id": "c9e652161b96926f2770c4fc3e1ae53be39bdbd8",
"url": "https://github.com/PyO3/pyo3/commit/2d19b7e2a7e29e2f445a8b415a764f40b4242c5c"
},
"date": 1715273407313,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 5577730.469252295,
"unit": "iter/sec",
"range": "stddev: 1.3101924075975817e-8",
"extra": "mean: 179.28438914583333 nsec\nrounds: 198847"
},
{
"name": "tests/test_pyclasses.py::test_method_call",
"value": 11351706.085443197,
"unit": "iter/sec",
"range": "stddev: 1.2702074680602357e-8",
"extra": "mean: 88.09248517122417 nsec\nrounds: 111272"
},
{
"name": "tests/test_pyclasses.py::test_proto_call",
"value": 10373149.579550294,
"unit": "iter/sec",
"range": "stddev: 2.339045728872719e-8",
"extra": "mean: 96.4027359608703 nsec\nrounds: 109446"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 7273412.597913148,
"unit": "iter/sec",
"range": "stddev: 7.0971409773914375e-9",
"extra": "mean: 137.4870442915496 nsec\nrounds: 67395"
},
{
"name": "tests/test_pyclasses.py::test_method_call_py",
"value": 10764551.474455701,
"unit": "iter/sec",
"range": "stddev: 5.78881851573496e-9",
"extra": "mean: 92.8975073762248 nsec\nrounds: 107782"
},
{
"name": "tests/test_pyclasses.py::test_proto_call_py",
"value": 8346490.763813777,
"unit": "iter/sec",
"range": "stddev: 6.753872657227353e-9",
"extra": "mean: 119.8108316773681 nsec\nrounds: 82556"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 12239800.085048907,
"unit": "iter/sec",
"range": "stddev: 6.687415814664634e-9",
"extra": "mean: 81.70068081598119 nsec\nrounds: 122926"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 12507831.01083763,
"unit": "iter/sec",
"range": "stddev: 8.577023543412524e-9",
"extra": "mean: 79.94991290924321 nsec\nrounds: 198808"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 4606466.549136747,
"unit": "iter/sec",
"range": "stddev: 1.6660118478488488e-8",
"extra": "mean: 217.08613084087202 nsec\nrounds: 198413"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 2742578.697377319,
"unit": "iter/sec",
"range": "stddev: 1.0194163016023129e-7",
"extra": "mean: 364.62034834452805 nsec\nrounds: 191976"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 3989310.9542573607,
"unit": "iter/sec",
"range": "stddev: 2.0392339503586045e-8",
"extra": "mean: 250.66985538763484 nsec\nrounds: 197629"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 3219615.7987246476,
"unit": "iter/sec",
"range": "stddev: 4.034367251826967e-8",
"extra": "mean: 310.5960656535849 nsec\nrounds: 152859"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2483573.342286728,
"unit": "iter/sec",
"range": "stddev: 3.149826072079549e-8",
"extra": "mean: 402.6456489016986 nsec\nrounds: 189754"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 2176295.3203327856,
"unit": "iter/sec",
"range": "stddev: 1.558885304695474e-7",
"extra": "mean: 459.4964620183469 nsec\nrounds: 175101"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 2458887.4490314894,
"unit": "iter/sec",
"range": "stddev: 4.280632709378982e-8",
"extra": "mean: 406.6879923250988 nsec\nrounds: 144238"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 2189605.6216418445,
"unit": "iter/sec",
"range": "stddev: 1.459322183162921e-7",
"extra": "mean: 456.7032483457748 nsec\nrounds: 197239"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 3119559.0633928385,
"unit": "iter/sec",
"range": "stddev: 2.7014772081822047e-8",
"extra": "mean: 320.55812365751393 nsec\nrounds: 190513"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 6256496.59580267,
"unit": "iter/sec",
"range": "stddev: 1.3776291756299086e-8",
"extra": "mean: 159.83385984272337 nsec\nrounds: 199641"
}
]
}
]
}
Expand Down

0 comments on commit 7791afd

Please sign in to comment.