Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 638a9ad
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Oct 17, 2023
1 parent bb2bd2a commit c2e6d5f
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": 1697574832530,
"lastUpdate": 1697575005737,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -293104,6 +293104,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 269.21075172947343 nsec\nrounds: 156226"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "Adam Reichold",
"username": "adamreichold"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "638a9ad84c2eeac547b8e6fdac7e8b0618c6c511",
"message": "Merge pull request #3525 from davidhewitt/architecture-corrections\n\nsmall tidy ups to Architecture.md",
"timestamp": "2023-10-17T19:31:57Z",
"tree_id": "c8c39ea1c333bf9dfbc1442be39e670181ec9674",
"url": "https://github.com/PyO3/pyo3/commit/638a9ad84c2eeac547b8e6fdac7e8b0618c6c511"
},
"date": 1697574988479,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 2428399.541406156,
"unit": "iter/sec",
"range": "stddev: 0.0000013034423333899545",
"extra": "mean: 411.7938514438006 nsec\nrounds: 147059"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 4806543.59003858,
"unit": "iter/sec",
"range": "stddev: 5.177599806356247e-7",
"extra": "mean: 208.04970999794335 nsec\nrounds: 196079"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 9254463.646392375,
"unit": "iter/sec",
"range": "stddev: 1.5071398036741157e-7",
"extra": "mean: 108.05596501422589 nsec\nrounds: 96154"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 8239821.632961659,
"unit": "iter/sec",
"range": "stddev: 4.5474528613884063e-7",
"extra": "mean: 121.3618503584728 nsec\nrounds: 196079"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3185361.221590067,
"unit": "iter/sec",
"range": "stddev: 0.0000012901888158171603",
"extra": "mean: 313.936137987145 nsec\nrounds: 196079"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 1825054.624154446,
"unit": "iter/sec",
"range": "stddev: 9.989061611015924e-7",
"extra": "mean: 547.9288053985251 nsec\nrounds: 188680"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 2780872.259076343,
"unit": "iter/sec",
"range": "stddev: 8.932023655573998e-7",
"extra": "mean: 359.5994014957546 nsec\nrounds: 199961"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1119409.7706381753,
"unit": "iter/sec",
"range": "stddev: 0.0000018917099276711675",
"extra": "mean: 893.3279181848665 nsec\nrounds: 119048"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 1832063.0346413793,
"unit": "iter/sec",
"range": "stddev: 3.6935725512925285e-7",
"extra": "mean: 545.8327476138107 nsec\nrounds: 95239"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1199487.8661055772,
"unit": "iter/sec",
"range": "stddev: 0.000003777557487805651",
"extra": "mean: 833.6891337189911 nsec\nrounds: 119048"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1725469.4203524985,
"unit": "iter/sec",
"range": "stddev: 2.524344827581139e-7",
"extra": "mean: 579.5524326334968 nsec\nrounds: 89286"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1131676.023544497,
"unit": "iter/sec",
"range": "stddev: 0.0000024314130579480886",
"extra": "mean: 883.6451238649755 nsec\nrounds: 111112"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2165638.671030135,
"unit": "iter/sec",
"range": "stddev: 0.0000011938918413731522",
"extra": "mean: 461.7575468045773 nsec\nrounds: 95239"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 4149704.940334905,
"unit": "iter/sec",
"range": "stddev: 5.756271721041142e-7",
"extra": "mean: 240.98098886020898 nsec\nrounds: 200000"
}
]
}
]
}
Expand Down

0 comments on commit c2e6d5f

Please sign in to comment.