Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 2c654b2
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed May 21, 2024
1 parent 4666358 commit b054ebf
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": 1716324271107,
"lastUpdate": 1716324361549,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -486898,6 +486898,156 @@ window.BENCHMARK_DATA = {
"extra": "mean: 133.16594783222823 nsec\nrounds: 73341"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "David Hewitt",
"username": "davidhewitt"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "2c654b2906b7267c5c6a6d5cd75f0340676ee99c",
"message": "ci: adjust test to avoid type inference (#4199)",
"timestamp": "2024-05-21T19:27:20Z",
"tree_id": "2cd53f414a184d30b191515b0ddcfff73df6514a",
"url": "https://github.com/PyO3/pyo3/commit/2c654b2906b7267c5c6a6d5cd75f0340676ee99c"
},
"date": 1716324338665,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 8336396.059415504,
"unit": "iter/sec",
"range": "stddev: 8.951932886981403e-9",
"extra": "mean: 119.95591294760457 nsec\nrounds: 199204"
},
{
"name": "tests/test_pyclasses.py::test_method_call",
"value": 13252162.137534892,
"unit": "iter/sec",
"range": "stddev: 4.76977569665178e-9",
"extra": "mean: 75.45938463638625 nsec\nrounds: 131857"
},
{
"name": "tests/test_pyclasses.py::test_proto_call",
"value": 13296500.388578879,
"unit": "iter/sec",
"range": "stddev: 4.774384250957807e-9",
"extra": "mean: 75.20775924309804 nsec\nrounds: 133263"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 7371502.796786497,
"unit": "iter/sec",
"range": "stddev: 6.086269395384781e-9",
"extra": "mean: 135.65754874785313 nsec\nrounds: 66721"
},
{
"name": "tests/test_pyclasses.py::test_method_call_py",
"value": 11480542.699572913,
"unit": "iter/sec",
"range": "stddev: 5.2023905241716035e-9",
"extra": "mean: 87.10389623281493 nsec\nrounds: 110902"
},
{
"name": "tests/test_pyclasses.py::test_proto_call_py",
"value": 8978034.960453792,
"unit": "iter/sec",
"range": "stddev: 5.680826856078603e-9",
"extra": "mean: 111.38294787275535 nsec\nrounds: 88803"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 13789221.14283388,
"unit": "iter/sec",
"range": "stddev: 4.8552772764867006e-9",
"extra": "mean: 72.52041211331867 nsec\nrounds: 123534"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 14550068.875115015,
"unit": "iter/sec",
"range": "stddev: 5.145492443592315e-9",
"extra": "mean: 68.72819699914274 nsec\nrounds: 147016"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 4705068.513970338,
"unit": "iter/sec",
"range": "stddev: 1.6350397057867675e-8",
"extra": "mean: 212.5367562726855 nsec\nrounds: 195351"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 4427141.916842262,
"unit": "iter/sec",
"range": "stddev: 1.8706330548327124e-8",
"extra": "mean: 225.87936388388195 nsec\nrounds: 197668"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 4025607.9600326316,
"unit": "iter/sec",
"range": "stddev: 2.2472177698441836e-8",
"extra": "mean: 248.40968368710546 nsec\nrounds: 189430"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 3504403.863121174,
"unit": "iter/sec",
"range": "stddev: 2.189412581785802e-8",
"extra": "mean: 285.3552384539825 nsec\nrounds: 162023"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2535078.0213880953,
"unit": "iter/sec",
"range": "stddev: 3.188271098223483e-8",
"extra": "mean: 394.46517683603474 nsec\nrounds: 196890"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 3428290.6971068825,
"unit": "iter/sec",
"range": "stddev: 2.293250255202393e-8",
"extra": "mean: 291.6905502919852 nsec\nrounds: 161005"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 2446255.887098058,
"unit": "iter/sec",
"range": "stddev: 3.10808778802637e-8",
"extra": "mean: 408.78797891674327 nsec\nrounds: 194970"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 3275848.8508332055,
"unit": "iter/sec",
"range": "stddev: 2.4210600852241143e-8",
"extra": "mean: 305.26438963923874 nsec\nrounds: 145709"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 3231550.1502960417,
"unit": "iter/sec",
"range": "stddev: 2.5080028533803954e-8",
"extra": "mean: 309.44901161703774 nsec\nrounds: 109927"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 7521837.76575047,
"unit": "iter/sec",
"range": "stddev: 7.521075038493999e-9",
"extra": "mean: 132.94623350603837 nsec\nrounds: 75330"
}
]
}
]
}
Expand Down

0 comments on commit b054ebf

Please sign in to comment.