Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 673c45a
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Sep 24, 2023
1 parent 6cb14ba commit cfde1e7
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": 1695565143209,
"lastUpdate": 1695565244200,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -280692,6 +280692,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 215.2165644441471 nsec\nrounds: 200000"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "David Hewitt",
"username": "davidhewitt"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "673c45aac34441253778645edb5d21411f4a4c80",
"message": "Merge pull request #3470 from davidhewitt/tests-capture-warnings\n\nadd `assert_warnings` test helper",
"timestamp": "2023-09-24T13:09:01Z",
"tree_id": "11e9c911ae1638d9a47cba4c3e9a52fe4dc388df",
"url": "https://github.com/PyO3/pyo3/commit/673c45aac34441253778645edb5d21411f4a4c80"
},
"date": 1695565229746,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 2846259.3891110057,
"unit": "iter/sec",
"range": "stddev: 9.853699722186734e-8",
"extra": "mean: 351.3383227915632 nsec\nrounds: 117648"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 7054997.657226596,
"unit": "iter/sec",
"range": "stddev: 9.127762823545049e-9",
"extra": "mean: 141.74349143497741 nsec\nrounds: 196079"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 10993933.032042956,
"unit": "iter/sec",
"range": "stddev: 4.138088493910462e-9",
"extra": "mean: 90.95925881002954 nsec\nrounds: 106383"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 10728646.258036304,
"unit": "iter/sec",
"range": "stddev: 5.8411708120845684e-9",
"extra": "mean: 93.20840448540748 nsec\nrounds: 51814"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3608461.676660734,
"unit": "iter/sec",
"range": "stddev: 1.3561953460004268e-8",
"extra": "mean: 277.1264016661708 nsec\nrounds: 200000"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 2213624.5100830384,
"unit": "iter/sec",
"range": "stddev: 9.619551092834237e-8",
"extra": "mean: 451.7477988904666 nsec\nrounds: 172414"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 3078330.7966676494,
"unit": "iter/sec",
"range": "stddev: 2.0373031045330778e-8",
"extra": "mean: 324.85137759719413 nsec\nrounds: 178572"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1644210.2410138089,
"unit": "iter/sec",
"range": "stddev: 1.0250218648188141e-7",
"extra": "mean: 608.1947278125496 nsec\nrounds: 99010"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2118994.284020421,
"unit": "iter/sec",
"range": "stddev: 1.6663071480871733e-8",
"extra": "mean: 471.9219903239983 nsec\nrounds: 92593"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1355716.0575485134,
"unit": "iter/sec",
"range": "stddev: 1.1162718200395833e-7",
"extra": "mean: 737.6175818174343 nsec\nrounds: 79366"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1997158.3759280883,
"unit": "iter/sec",
"range": "stddev: 1.9611667675638044e-8",
"extra": "mean: 500.7114168076467 nsec\nrounds: 84034"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1376420.2755254162,
"unit": "iter/sec",
"range": "stddev: 1.0419855642093675e-7",
"extra": "mean: 726.5222823154603 nsec\nrounds: 108696"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2579515.0861331895,
"unit": "iter/sec",
"range": "stddev: 2.3689613121661938e-8",
"extra": "mean: 387.6697621874061 nsec\nrounds: 196079"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 5407672.972189517,
"unit": "iter/sec",
"range": "stddev: 1.0681993886912036e-8",
"extra": "mean: 184.92242506938751 nsec\nrounds: 196079"
}
]
}
]
}
Expand Down

0 comments on commit cfde1e7

Please sign in to comment.