Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for afc1d4c
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Jun 28, 2023
1 parent 2e23f63 commit d81c2ff
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": 1687976143774,
"lastUpdate": 1687976238082,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -244604,6 +244604,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 219.55401538021545 nsec\nrounds: 196079"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "Adam Reichold",
"username": "adamreichold"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "afc1d4cc4223396493ad7ec2d6333ee18040253f",
"message": "Merge pull request #3281 from davidhewitt/set-discard\n\nhandle exceptions properly in `PySet::discard`",
"timestamp": "2023-06-28T17:09:01Z",
"tree_id": "34f569341c1cc78d78809674520f82c6d7d5d278",
"url": "https://github.com/PyO3/pyo3/commit/afc1d4cc4223396493ad7ec2d6333ee18040253f"
},
"date": 1687976225983,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 2888715.2967373184,
"unit": "iter/sec",
"range": "stddev: 8.449899568127175e-8",
"extra": "mean: 346.174647646813 nsec\nrounds: 166667"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 7283703.100896357,
"unit": "iter/sec",
"range": "stddev: 4.9028908934030966e-9",
"extra": "mean: 137.29280094859936 nsec\nrounds: 65360"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 11351725.012893163,
"unit": "iter/sec",
"range": "stddev: 3.84349741296558e-9",
"extra": "mean: 88.09233828913999 nsec\nrounds: 114943"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 10279707.376635773,
"unit": "iter/sec",
"range": "stddev: 4.659558470025202e-8",
"extra": "mean: 97.27903366898562 nsec\nrounds: 196079"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3472431.893547557,
"unit": "iter/sec",
"range": "stddev: 2.419976362115584e-7",
"extra": "mean: 287.9826100712581 nsec\nrounds: 192308"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 2020038.868107286,
"unit": "iter/sec",
"range": "stddev: 9.002720279392424e-8",
"extra": "mean: 495.03997957077377 nsec\nrounds: 158731"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 3097399.0385578303,
"unit": "iter/sec",
"range": "stddev: 7.274706162997038e-8",
"extra": "mean: 322.85152398854774 nsec\nrounds: 135136"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1450459.89591564,
"unit": "iter/sec",
"range": "stddev: 8.69605285622033e-8",
"extra": "mean: 689.4365041156303 nsec\nrounds: 126583"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2057663.0810976897,
"unit": "iter/sec",
"range": "stddev: 3.1059428884400565e-8",
"extra": "mean: 485.9882111823912 nsec\nrounds: 163935"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1280252.0714369554,
"unit": "iter/sec",
"range": "stddev: 1.107363690048098e-7",
"extra": "mean: 781.0961780968647 nsec\nrounds: 114943"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1987210.4652753856,
"unit": "iter/sec",
"range": "stddev: 2.934603863882481e-8",
"extra": "mean: 503.2179617981776 nsec\nrounds: 151516"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1282151.9741385863,
"unit": "iter/sec",
"range": "stddev: 1.1691184719806502e-7",
"extra": "mean: 779.9387437451398 nsec\nrounds: 126583"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2523169.150335117,
"unit": "iter/sec",
"range": "stddev: 2.7381038690543016e-8",
"extra": "mean: 396.3269762810722 nsec\nrounds: 181819"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 4623042.414874327,
"unit": "iter/sec",
"range": "stddev: 1.756359722909864e-8",
"extra": "mean: 216.30777099996124 nsec\nrounds: 200000"
}
]
}
]
}
Expand Down

0 comments on commit d81c2ff

Please sign in to comment.