Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for db13a97
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Oct 13, 2023
1 parent 8e6d22e commit 628d5d3
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": 1697183961977,
"lastUpdate": 1697184065922,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -289680,6 +289680,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 179.08576846276304 nsec\nrounds: 200000"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "David Hewitt",
"username": "davidhewitt"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "db13a9779086030630d16e0d1b8838effa5ba649",
"message": "Merge pull request #3445 from davidhewitt/py2-internals\n\nadd `Py2` as an internal API for optimization and dogfooding",
"timestamp": "2023-10-13T06:49:08Z",
"tree_id": "ea52fa1646d55aa69307546b77dbcf936388ffc4",
"url": "https://github.com/PyO3/pyo3/commit/db13a9779086030630d16e0d1b8838effa5ba649"
},
"date": 1697184048564,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 3059606.5572399697,
"unit": "iter/sec",
"range": "stddev: 2.061461322081331e-7",
"extra": "mean: 326.83940934617647 nsec\nrounds: 178572"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 8001844.108646811,
"unit": "iter/sec",
"range": "stddev: 1.1342193100954934e-8",
"extra": "mean: 124.97119244280164 nsec\nrounds: 72993"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 12064658.89686101,
"unit": "iter/sec",
"range": "stddev: 3.744030867486902e-9",
"extra": "mean: 82.88671967831026 nsec\nrounds: 114943"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 11519403.815594152,
"unit": "iter/sec",
"range": "stddev: 2.412231616917258e-9",
"extra": "mean: 86.81004815948586 nsec\nrounds: 58140"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3604202.1778171742,
"unit": "iter/sec",
"range": "stddev: 1.526316817896684e-8",
"extra": "mean: 277.4539136999449 nsec\nrounds: 196079"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 2085507.3976546957,
"unit": "iter/sec",
"range": "stddev: 8.491757720050966e-8",
"extra": "mean: 479.4996177546876 nsec\nrounds: 181819"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 3059919.277216559,
"unit": "iter/sec",
"range": "stddev: 1.979976885854572e-8",
"extra": "mean: 326.8060067609314 nsec\nrounds: 196079"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1484400.478177694,
"unit": "iter/sec",
"range": "stddev: 9.659937423177512e-8",
"extra": "mean: 673.6726474432545 nsec\nrounds: 158731"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2127095.6420265283,
"unit": "iter/sec",
"range": "stddev: 1.6754043620311307e-8",
"extra": "mean: 470.12460570287607 nsec\nrounds: 93458"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1209710.745287662,
"unit": "iter/sec",
"range": "stddev: 1.2966825491800953e-7",
"extra": "mean: 826.6438930921506 nsec\nrounds: 114943"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1979459.1831015258,
"unit": "iter/sec",
"range": "stddev: 2.5375231068083186e-8",
"extra": "mean: 505.1884921583206 nsec\nrounds: 84034"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1243581.8904643378,
"unit": "iter/sec",
"range": "stddev: 1.1265641098303839e-7",
"extra": "mean: 804.1287893205108 nsec\nrounds: 133334"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2448474.355943092,
"unit": "iter/sec",
"range": "stddev: 5.897395999425517e-8",
"extra": "mean: 408.4175917840601 nsec\nrounds: 178572"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 5447091.212172456,
"unit": "iter/sec",
"range": "stddev: 1.7653793312382923e-8",
"extra": "mean: 183.5842215686627 nsec\nrounds: 192308"
}
]
}
]
}
Expand Down

0 comments on commit 628d5d3

Please sign in to comment.