Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 6776b90
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Dec 29, 2023
1 parent d44a475 commit 4dabe4a
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": 1703865635838,
"lastUpdate": 1703865727653,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -341294,6 +341294,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 242.1751051867031 nsec\nrounds: 197239"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "David Hewitt",
"username": "davidhewitt"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "6776b90e15317283c733d8ac48d4f335f1ef7412",
"message": "Merge pull request #3707 from davidhewitt/gil-refs-feature\n\nadd `gil-refs` feature to aid migration",
"timestamp": "2023-12-29T14:56:19Z",
"tree_id": "09363b89b65844e432b3b7ab1048da43e8b3cf9c",
"url": "https://github.com/PyO3/pyo3/commit/6776b90e15317283c733d8ac48d4f335f1ef7412"
},
"date": 1703865713355,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 2566488.729142173,
"unit": "iter/sec",
"range": "stddev: 1.0717186370308598e-7",
"extra": "mean: 389.6374017330056 nsec\nrounds: 170329"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 4474677.440611091,
"unit": "iter/sec",
"range": "stddev: 4.821663586981506e-8",
"extra": "mean: 223.47979564386955 nsec\nrounds: 193799"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 10651637.807071192,
"unit": "iter/sec",
"range": "stddev: 6.282331289525586e-9",
"extra": "mean: 93.88227595723733 nsec\nrounds: 104734"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 7035685.689701571,
"unit": "iter/sec",
"range": "stddev: 7.932576657223878e-9",
"extra": "mean: 142.13255738012032 nsec\nrounds: 70146"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3393673.390630137,
"unit": "iter/sec",
"range": "stddev: 2.1915090212908693e-8",
"extra": "mean: 294.66595187414896 nsec\nrounds: 192679"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 2698428.0568729443,
"unit": "iter/sec",
"range": "stddev: 2.430897549638458e-8",
"extra": "mean: 370.58612604215335 nsec\nrounds: 129116"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 2828355.8532980457,
"unit": "iter/sec",
"range": "stddev: 3.7711175664813805e-8",
"extra": "mean: 353.56229974878704 nsec\nrounds: 194932"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1339900.3526702044,
"unit": "iter/sec",
"range": "stddev: 1.5733396028171576e-7",
"extra": "mean: 746.3241561263582 nsec\nrounds: 148083"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 1835030.3160062658,
"unit": "iter/sec",
"range": "stddev: 5.321857904798973e-8",
"extra": "mean: 544.950124952914 nsec\nrounds: 180473"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1140744.685212891,
"unit": "iter/sec",
"range": "stddev: 1.4822115579351997e-7",
"extra": "mean: 876.6203454310859 nsec\nrounds: 111396"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1779042.0346614006,
"unit": "iter/sec",
"range": "stddev: 3.973315633306163e-8",
"extra": "mean: 562.1002654894137 nsec\nrounds: 156691"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1128542.9815907457,
"unit": "iter/sec",
"range": "stddev: 1.7759480276602403e-7",
"extra": "mean: 886.0982845247444 nsec\nrounds: 132381"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2222615.0334067326,
"unit": "iter/sec",
"range": "stddev: 3.552932062545694e-8",
"extra": "mean: 449.9204697932963 nsec\nrounds: 196851"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 4143998.8617769284,
"unit": "iter/sec",
"range": "stddev: 3.7376906186737275e-8",
"extra": "mean: 241.3128075935823 nsec\nrounds: 196079"
}
]
}
]
}
Expand Down

0 comments on commit 4dabe4a

Please sign in to comment.