Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 719b87c
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Oct 26, 2023
1 parent fd6ad36 commit 53e51eb
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": 1698279421593,
"lastUpdate": 1698279537926,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -297670,6 +297670,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 218.28016458220043 nsec\nrounds: 196079"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "Adam Reichold",
"username": "adamreichold"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "719b87cc41e5ad3aa469156dfb0ec3c2706e9b68",
"message": "Merge pull request #3539 from davidhewitt/emit-cfgs-coverage\n\nadd coverage for `emit_pyo3_cfgs`",
"timestamp": "2023-10-25T22:50:47Z",
"tree_id": "233e6b68c11612ead30489e69fdbc27b869e5ad3",
"url": "https://github.com/PyO3/pyo3/commit/719b87cc41e5ad3aa469156dfb0ec3c2706e9b68"
},
"date": 1698279518321,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 2122130.4927130104,
"unit": "iter/sec",
"range": "stddev: 7.409089242115511e-7",
"extra": "mean: 471.22455637568396 nsec\nrounds: 133334"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 4298456.514926112,
"unit": "iter/sec",
"range": "stddev: 4.894442920392705e-7",
"extra": "mean: 232.6416462578055 nsec\nrounds: 199961"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 7885138.077116953,
"unit": "iter/sec",
"range": "stddev: 1.1774610463017795e-7",
"extra": "mean: 126.82086099443808 nsec\nrounds: 78119"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 6779881.574488665,
"unit": "iter/sec",
"range": "stddev: 2.2815404837673475e-7",
"extra": "mean: 147.495201651132 nsec\nrounds: 192271"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 2562324.062713049,
"unit": "iter/sec",
"range": "stddev: 9.412107286811183e-7",
"extra": "mean: 390.27069782156144 nsec\nrounds: 196040"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 1352824.461606375,
"unit": "iter/sec",
"range": "stddev: 0.000012454650842262984",
"extra": "mean: 739.194203224694 nsec\nrounds: 138870"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 2243072.8959389,
"unit": "iter/sec",
"range": "stddev: 6.029424105120067e-7",
"extra": "mean: 445.8169869603915 nsec\nrounds: 188680"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1178358.6773619014,
"unit": "iter/sec",
"range": "stddev: 0.000001167695398548843",
"extra": "mean: 848.6380413803978 nsec\nrounds: 102031"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 1566989.4851527067,
"unit": "iter/sec",
"range": "stddev: 3.436128946909657e-7",
"extra": "mean: 638.166375380973 nsec\nrounds: 75183"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1019966.2663850321,
"unit": "iter/sec",
"range": "stddev: 9.589073108001904e-7",
"extra": "mean: 980.4245816326879 nsec\nrounds: 91735"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1420404.5622782954,
"unit": "iter/sec",
"range": "stddev: 9.80927627539203e-7",
"extra": "mean: 704.0247733336083 nsec\nrounds: 69926"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 959813.7958321695,
"unit": "iter/sec",
"range": "stddev: 9.926535745853199e-7",
"extra": "mean: 1.041868750316293 usec\nrounds: 96145"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 1773755.0385387652,
"unit": "iter/sec",
"range": "stddev: 6.661719226465856e-7",
"extra": "mean: 563.7757064942906 nsec\nrounds: 163908"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 1927735.3747658855,
"unit": "iter/sec",
"range": "stddev: 6.493674599057413e-7",
"extra": "mean: 518.7433986479837 nsec\nrounds: 192271"
}
]
}
]
}
Expand Down

0 comments on commit 53e51eb

Please sign in to comment.