Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for a5201c0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Apr 14, 2024
1 parent ed30e05 commit af65691
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": 1713135279222,
"lastUpdate": 1713135379126,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -457324,6 +457324,156 @@ window.BENCHMARK_DATA = {
"extra": "mean: 159.86245624551256 nsec\nrounds: 195695"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "David Hewitt",
"username": "davidhewitt"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "a5201c04afc73605ac3ef467a42d3052af5feb14",
"message": "Deprecate the `PySet::empty` gil-ref constructor (#4082)\n\n* Deprecate the `PySet::empty` gil-ref constructor\n\n* add newsfragment",
"timestamp": "2024-04-14T21:38:40Z",
"tree_id": "6899ea48a1831686b087b016f96cd825713572d3",
"url": "https://github.com/PyO3/pyo3/commit/a5201c04afc73605ac3ef467a42d3052af5feb14"
},
"date": 1713135358183,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 3974089.322224685,
"unit": "iter/sec",
"range": "stddev: 1.108172663356827e-7",
"extra": "mean: 251.62997580542617 nsec\nrounds: 199641"
},
{
"name": "tests/test_pyclasses.py::test_method_call",
"value": 11560030.77417938,
"unit": "iter/sec",
"range": "stddev: 5.049884605352851e-9",
"extra": "mean: 86.50496002429436 nsec\nrounds: 113818"
},
{
"name": "tests/test_pyclasses.py::test_proto_call",
"value": 11017203.112187773,
"unit": "iter/sec",
"range": "stddev: 5.665919460555967e-9",
"extra": "mean: 90.76713843041983 nsec\nrounds: 107794"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 7073538.618833262,
"unit": "iter/sec",
"range": "stddev: 2.5246627650507236e-8",
"extra": "mean: 141.37195735915049 nsec\nrounds: 67259"
},
{
"name": "tests/test_pyclasses.py::test_method_call_py",
"value": 10818755.097905144,
"unit": "iter/sec",
"range": "stddev: 5.381030218053112e-9",
"extra": "mean: 92.43207660682067 nsec\nrounds: 109207"
},
{
"name": "tests/test_pyclasses.py::test_proto_call_py",
"value": 9389023.99744699,
"unit": "iter/sec",
"range": "stddev: 5.677171285892126e-9",
"extra": "mean: 106.50734307121957 nsec\nrounds: 93721"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 14027653.258196427,
"unit": "iter/sec",
"range": "stddev: 4.311032229954551e-9",
"extra": "mean: 71.28776150891063 nsec\nrounds: 139393"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 12916267.382522365,
"unit": "iter/sec",
"range": "stddev: 5.086952171678416e-9",
"extra": "mean: 77.4217481246284 nsec\nrounds: 122926"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 4226049.446125641,
"unit": "iter/sec",
"range": "stddev: 5.724968054296651e-8",
"extra": "mean: 236.62761469030613 nsec\nrounds: 197629"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 3755474.7036519595,
"unit": "iter/sec",
"range": "stddev: 3.767960172429167e-8",
"extra": "mean: 266.2779219435465 nsec\nrounds: 174490"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 3853899.2701078337,
"unit": "iter/sec",
"range": "stddev: 2.0091711559594582e-8",
"extra": "mean: 259.4774616338168 nsec\nrounds: 196890"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 2230098.3400374665,
"unit": "iter/sec",
"range": "stddev: 1.173300439594361e-7",
"extra": "mean: 448.4107189565459 nsec\nrounds: 183824"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2610572.244416849,
"unit": "iter/sec",
"range": "stddev: 2.7975617574747075e-8",
"extra": "mean: 383.0577767532269 nsec\nrounds: 193799"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 2236417.0446062325,
"unit": "iter/sec",
"range": "stddev: 1.1430027842938903e-7",
"extra": "mean: 447.1437929753709 nsec\nrounds: 194175"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 2505933.012354974,
"unit": "iter/sec",
"range": "stddev: 3.6101421920256615e-8",
"extra": "mean: 399.05296553008833 nsec\nrounds: 187935"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 2233338.2124298206,
"unit": "iter/sec",
"range": "stddev: 1.1482238987844151e-7",
"extra": "mean: 447.7602158215092 nsec\nrounds: 171792"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 3137197.142402571,
"unit": "iter/sec",
"range": "stddev: 3.332201587206691e-8",
"extra": "mean: 318.7558685694092 nsec\nrounds: 192679"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 6264741.468237234,
"unit": "iter/sec",
"range": "stddev: 1.590307070294002e-8",
"extra": "mean: 159.62350642402149 nsec\nrounds: 196079"
}
]
}
]
}
Expand Down

0 comments on commit af65691

Please sign in to comment.