Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 81bc838
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Nov 25, 2023
1 parent cfa632c commit 693122d
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": 1700908271305,
"lastUpdate": 1700908346599,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -308270,6 +308270,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 155.7668320494808 nsec\nrounds: 193837"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "Adam Reichold",
"username": "adamreichold"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": false,
"id": "81bc838acd4cd79b0f84a5ddb85e59475c791ad2",
"message": "Merge pull request #3577 from davidhewitt/none-typeinfo\n\nImplement `PyTypeInfo` for `PyEllipsis`, `PyNone`, and `PyNotImplemented`",
"timestamp": "2023-11-25T09:36:43Z",
"tree_id": "91e29ca754f762e2a5b7fc56c79b7fd16fd522a8",
"url": "https://github.com/PyO3/pyo3/commit/81bc838acd4cd79b0f84a5ddb85e59475c791ad2"
},
"date": 1700908335370,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 3830331.726389532,
"unit": "iter/sec",
"range": "stddev: 9.655788018260941e-8",
"extra": "mean: 261.07399343779537 nsec\nrounds: 164447"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 7808240.668950833,
"unit": "iter/sec",
"range": "stddev: 7.765275781697956e-9",
"extra": "mean: 128.06982294698744 nsec\nrounds: 74102"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 12951347.22009537,
"unit": "iter/sec",
"range": "stddev: 1.2363224016424518e-8",
"extra": "mean: 77.21204466268925 nsec\nrounds: 138639"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 11996339.53447052,
"unit": "iter/sec",
"range": "stddev: 5.6380755218511875e-9",
"extra": "mean: 83.35876098926512 nsec\nrounds: 109087"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 4636133.020832023,
"unit": "iter/sec",
"range": "stddev: 1.9709442603369808e-8",
"extra": "mean: 215.69700340921952 nsec\nrounds: 196117"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 3825215.4456670578,
"unit": "iter/sec",
"range": "stddev: 1.9676569428942646e-8",
"extra": "mean: 261.42318366217296 nsec\nrounds: 170329"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 3942139.6237064446,
"unit": "iter/sec",
"range": "stddev: 2.260256594927443e-8",
"extra": "mean: 253.66935102612848 nsec\nrounds: 190840"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1836901.63500814,
"unit": "iter/sec",
"range": "stddev: 1.3357462853639577e-7",
"extra": "mean: 544.3949642929947 nsec\nrounds: 147864"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2622524.4408091013,
"unit": "iter/sec",
"range": "stddev: 5.037292699481449e-8",
"extra": "mean: 381.3119849100357 nsec\nrounds: 189754"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1508367.961523367,
"unit": "iter/sec",
"range": "stddev: 2.4050202138421366e-7",
"extra": "mean: 662.968205045973 nsec\nrounds: 139802"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 2373240.8330568923,
"unit": "iter/sec",
"range": "stddev: 9.374010136700005e-8",
"extra": "mean: 421.3647372280939 nsec\nrounds: 185529"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1597288.0418647549,
"unit": "iter/sec",
"range": "stddev: 1.9829981024153493e-7",
"extra": "mean: 626.0611572804047 nsec\nrounds: 133263"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 3112489.910470823,
"unit": "iter/sec",
"range": "stddev: 2.79317815583619e-8",
"extra": "mean: 321.286182048613 nsec\nrounds: 190115"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 6447629.153646042,
"unit": "iter/sec",
"range": "stddev: 1.1886550072732538e-8",
"extra": "mean: 155.09576871903596 nsec\nrounds: 192308"
}
]
}
]
}
Expand Down

0 comments on commit 693122d

Please sign in to comment.