Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 54b214b
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Dec 29, 2023
1 parent d42c5e7 commit dffef0c
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": 1703861106199,
"lastUpdate": 1703861204526,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -340764,6 +340764,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 236.50141946366034 nsec\nrounds: 196503"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "David Hewitt",
"username": "davidhewitt"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "54b214bb93356bfa782af907296b0d786cace09d",
"message": "Merge pull request #3710 from davidhewitt/rust-1.75\n\nci: updates for Rust 1.75",
"timestamp": "2023-12-29T13:51:28Z",
"tree_id": "cf0b6b15bf2fc31055d71b87b2f5853486bb499d",
"url": "https://github.com/PyO3/pyo3/commit/54b214bb93356bfa782af907296b0d786cace09d"
},
"date": 1703861191523,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 2577208.206779731,
"unit": "iter/sec",
"range": "stddev: 1.002373953779764e-7",
"extra": "mean: 388.0167684432134 nsec\nrounds: 153563"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 4696599.504342791,
"unit": "iter/sec",
"range": "stddev: 2.394281982191846e-8",
"extra": "mean: 212.92000714034333 nsec\nrounds: 194970"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 10506815.492743148,
"unit": "iter/sec",
"range": "stddev: 9.188137359733741e-9",
"extra": "mean: 95.1763168098536 nsec\nrounds: 107320"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 6950710.547222083,
"unit": "iter/sec",
"range": "stddev: 1.1239602321413142e-8",
"extra": "mean: 143.87018322891598 nsec\nrounds: 196079"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3414231.6340887486,
"unit": "iter/sec",
"range": "stddev: 2.6498079166663297e-8",
"extra": "mean: 292.8916685135506 nsec\nrounds: 196079"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 2721119.311310483,
"unit": "iter/sec",
"range": "stddev: 2.5647148251645348e-8",
"extra": "mean: 367.49583005913945 nsec\nrounds: 129786"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 2801023.4537910293,
"unit": "iter/sec",
"range": "stddev: 4.3273158309561826e-8",
"extra": "mean: 357.0123622658553 nsec\nrounds: 195734"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1360515.4514977916,
"unit": "iter/sec",
"range": "stddev: 1.7615642452962065e-7",
"extra": "mean: 735.0155405431816 nsec\nrounds: 146135"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 1857804.7148972559,
"unit": "iter/sec",
"range": "stddev: 4.0374953296909523e-8",
"extra": "mean: 538.2697072417022 nsec\nrounds: 180832"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1022341.4670097894,
"unit": "iter/sec",
"range": "stddev: 0.0000019551351898352247",
"extra": "mean: 978.1467662901954 nsec\nrounds: 101740"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1758777.0644526186,
"unit": "iter/sec",
"range": "stddev: 5.893259313563084e-8",
"extra": "mean: 568.576893690178 nsec\nrounds: 141563"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1104389.2223066054,
"unit": "iter/sec",
"range": "stddev: 1.8261665530808742e-7",
"extra": "mean: 905.477869397729 nsec\nrounds: 126183"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2246365.04981278,
"unit": "iter/sec",
"range": "stddev: 3.678317370993921e-8",
"extra": "mean: 445.16362115024157 nsec\nrounds: 185220"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 4129243.586904019,
"unit": "iter/sec",
"range": "stddev: 4.0159264656106064e-8",
"extra": "mean: 242.1751051867031 nsec\nrounds: 197239"
}
]
}
]
}
Expand Down

0 comments on commit dffef0c

Please sign in to comment.