Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 0344921
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Dec 26, 2023
1 parent 01c1e1c commit 05aba76
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": 1703600763456,
"lastUpdate": 1703600857039,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
@@ -339704,6 +339704,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 237.12621448839909 nsec\nrounds: 192716"
}
]
},
{
"commit": {
"author": {
"email": "adamreichold@users.noreply.github.com",
"name": "Adam Reichold",
"username": "adamreichold"
},
"committer": {
"email": "noreply@github.com",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "0344921326cb3efc318e64d8269968221dc47d9f",
"message": "Merge pull request #3694 from davidhewitt/set-frozenset\n\nimplement `PySetMethods` and `PyFrozenSetMethods`",
"timestamp": "2023-12-26T13:33:23Z",
"tree_id": "aac8df646ece7214c074dcede3e83a7a2e6fbb6e",
"url": "https://github.com/PyO3/pyo3/commit/0344921326cb3efc318e64d8269968221dc47d9f"
},
"date": 1703600842554,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 2557634.506222114,
"unit": "iter/sec",
"range": "stddev: 1.248565387922489e-7",
"extra": "mean: 390.98627953573464 nsec\nrounds: 170329"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 4727002.413962843,
"unit": "iter/sec",
"range": "stddev: 1.7505835880675258e-8",
"extra": "mean: 211.55055835092293 nsec\nrounds: 188680"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 10545622.981743889,
"unit": "iter/sec",
"range": "stddev: 1.5063261658035347e-8",
"extra": "mean: 94.82607160631053 nsec\nrounds: 105076"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 6933817.958703811,
"unit": "iter/sec",
"range": "stddev: 1.584224783609814e-8",
"extra": "mean: 144.220688508952 nsec\nrounds: 199601"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3393307.057639155,
"unit": "iter/sec",
"range": "stddev: 2.5094262975737562e-8",
"extra": "mean: 294.69776327749594 nsec\nrounds: 197668"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 2675885.768088559,
"unit": "iter/sec",
"range": "stddev: 2.4856894731780554e-8",
"extra": "mean: 373.7080304120459 nsec\nrounds: 126824"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 2806755.3099526092,
"unit": "iter/sec",
"range": "stddev: 3.399637620751696e-8",
"extra": "mean: 356.28328427991266 nsec\nrounds: 198060"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1319050.461740271,
"unit": "iter/sec",
"range": "stddev: 1.6255084759320072e-7",
"extra": "mean: 758.1211098479613 nsec\nrounds: 151218"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 1843401.705896594,
"unit": "iter/sec",
"range": "stddev: 4.3577697636919014e-8",
"extra": "mean: 542.475357813353 nsec\nrounds: 180832"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1083314.6739437946,
"unit": "iter/sec",
"range": "stddev: 1.7193021156886458e-7",
"extra": "mean: 923.0928224755892 nsec\nrounds: 99911"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1787416.2192212262,
"unit": "iter/sec",
"range": "stddev: 5.705529923350656e-8",
"extra": "mean: 559.4667818532486 nsec\nrounds: 165810"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1079821.1930887483,
"unit": "iter/sec",
"range": "stddev: 1.683170916773402e-7",
"extra": "mean: 926.0792494168172 nsec\nrounds: 137288"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2221267.4750210787,
"unit": "iter/sec",
"range": "stddev: 5.432036303008562e-8",
"extra": "mean: 450.193419408219 nsec\nrounds: 185529"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 4265467.207271133,
"unit": "iter/sec",
"range": "stddev: 1.9419320029580905e-8",
"extra": "mean: 234.4409068003967 nsec\nrounds: 198808"
}
]
}
]
}

0 comments on commit 05aba76

Please sign in to comment.