Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 20378a6
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Sep 23, 2023
1 parent ba30f9e commit d2a76dc
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": 1695475733070,
"lastUpdate": 1695475837412,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -279408,6 +279408,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 387.86544924419906 nsec\nrounds: 178572"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "David Hewitt",
"username": "davidhewitt"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "20378a607b9d1076e488bd5ebe88c9e436da5f49",
"message": "Merge pull request #3466 from davidhewitt/docs-only-prs\n\ndocs: skip changelog check for docs-only PRs",
"timestamp": "2023-09-23T12:26:37Z",
"tree_id": "3ba754f5cb80f6493373ce29da88d825e629ce2a",
"url": "https://github.com/PyO3/pyo3/commit/20378a607b9d1076e488bd5ebe88c9e436da5f49"
},
"date": 1695475822723,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 2834301.590268169,
"unit": "iter/sec",
"range": "stddev: 8.065625051379744e-7",
"extra": "mean: 352.82060435402866 nsec\nrounds: 175439"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 7062984.942657122,
"unit": "iter/sec",
"range": "stddev: 6.96775072554511e-8",
"extra": "mean: 141.58319862188014 nsec\nrounds: 76336"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 10855713.403999738,
"unit": "iter/sec",
"range": "stddev: 6.012629437480583e-8",
"extra": "mean: 92.11739134814134 nsec\nrounds: 108696"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 10676175.431761244,
"unit": "iter/sec",
"range": "stddev: 6.747481467260028e-8",
"extra": "mean: 93.66650130393845 nsec\nrounds: 61350"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3818221.725892943,
"unit": "iter/sec",
"range": "stddev: 2.409803922047127e-7",
"extra": "mean: 261.90202449940614 nsec\nrounds: 200000"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 2190114.9747210797,
"unit": "iter/sec",
"range": "stddev: 0.0000019810439679067688",
"extra": "mean: 456.5970332801154 nsec\nrounds: 181819"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 3272553.1368938596,
"unit": "iter/sec",
"range": "stddev: 4.0640635958385756e-7",
"extra": "mean: 305.5718144730915 nsec\nrounds: 200000"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1288836.4182957956,
"unit": "iter/sec",
"range": "stddev: 0.000005473927054254958",
"extra": "mean: 775.8936555519446 nsec\nrounds: 128206"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2110436.875256861,
"unit": "iter/sec",
"range": "stddev: 4.214998335996139e-7",
"extra": "mean: 473.83554169500525 nsec\nrounds: 103093"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1404395.384203814,
"unit": "iter/sec",
"range": "stddev: 0.000001196126829761044",
"extra": "mean: 712.0501898878886 nsec\nrounds: 78741"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 2040866.254360529,
"unit": "iter/sec",
"range": "stddev: 3.4137307195089884e-7",
"extra": "mean: 489.9880126213841 nsec\nrounds: 166667"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1290145.3594269431,
"unit": "iter/sec",
"range": "stddev: 0.0000013379631475502309",
"extra": "mean: 775.106458115836 nsec\nrounds: 123457"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2501006.693736218,
"unit": "iter/sec",
"range": "stddev: 6.213406384990661e-7",
"extra": "mean: 399.8389938359258 nsec\nrounds: 188680"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 5349170.920796288,
"unit": "iter/sec",
"range": "stddev: 3.5945731275631313e-7",
"extra": "mean: 186.94485833534395 nsec\nrounds: 45455"
}
]
}
]
}
Expand Down

0 comments on commit d2a76dc

Please sign in to comment.