Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for bcfc848
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Mar 27, 2024
1 parent 54aefae commit d7b4476
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": 1711546446322,
"lastUpdate": 1711546546507,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -440864,6 +440864,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 194.97062353850947 nsec\nrounds: 191205"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "David Hewitt",
"username": "davidhewitt"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "bcfc848703bed30b4ffc225aeb440de3e79cbead",
"message": "docs: fix link in CHANGELOG (#4001)",
"timestamp": "2024-03-27T11:48:56Z",
"tree_id": "36a05dc58625aba082d55b61653f360deccc9619",
"url": "https://github.com/PyO3/pyo3/commit/bcfc848703bed30b4ffc225aeb440de3e79cbead"
},
"date": 1711546526957,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 3805042.5160149313,
"unit": "iter/sec",
"range": "stddev: 7.827387578979568e-8",
"extra": "mean: 262.80915279950995 nsec\nrounds: 190477"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 7371863.131020179,
"unit": "iter/sec",
"range": "stddev: 6.238807680140029e-9",
"extra": "mean: 135.65091785170077 nsec\nrounds: 66721"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 13954608.452601759,
"unit": "iter/sec",
"range": "stddev: 4.2658567668818305e-9",
"extra": "mean: 71.66091427047927 nsec\nrounds: 138832"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 11487726.400718804,
"unit": "iter/sec",
"range": "stddev: 4.368575287173587e-9",
"extra": "mean: 87.04942693772969 nsec\nrounds: 58676"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 4409471.834604861,
"unit": "iter/sec",
"range": "stddev: 1.767944838166855e-8",
"extra": "mean: 226.78453055355808 nsec\nrounds: 102376"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 3878220.024438864,
"unit": "iter/sec",
"range": "stddev: 1.893506044501157e-8",
"extra": "mean: 257.85024926343345 nsec\nrounds: 175717"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 3791026.2337065316,
"unit": "iter/sec",
"range": "stddev: 1.9073824307250884e-8",
"extra": "mean: 263.78081773976226 nsec\nrounds: 195734"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 3110334.2993227504,
"unit": "iter/sec",
"range": "stddev: 2.0851789747886688e-8",
"extra": "mean: 321.5088488133709 nsec\nrounds: 151218"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2580893.4919109643,
"unit": "iter/sec",
"range": "stddev: 3.95750488816001e-8",
"extra": "mean: 387.462715193091 nsec\nrounds: 192679"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 2264491.0164403105,
"unit": "iter/sec",
"range": "stddev: 1.2607418017968574e-7",
"extra": "mean: 441.60033876926576 nsec\nrounds: 178859"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 2453435.103641967,
"unit": "iter/sec",
"range": "stddev: 3.624718291076474e-8",
"extra": "mean: 407.5917877410184 nsec\nrounds: 189754"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 2152578.9193706363,
"unit": "iter/sec",
"range": "stddev: 1.397956705748394e-7",
"extra": "mean: 464.55904171558853 nsec\nrounds: 169177"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 3091779.4588071113,
"unit": "iter/sec",
"range": "stddev: 2.747558521934117e-8",
"extra": "mean: 323.43833488881063 nsec\nrounds: 103008"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 6497856.452813494,
"unit": "iter/sec",
"range": "stddev: 9.819092084293319e-9",
"extra": "mean: 153.89690542748323 nsec\nrounds: 64025"
}
]
}
]
}
Expand Down

0 comments on commit d7b4476

Please sign in to comment.