Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 934c663
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed May 28, 2024
1 parent aeef22b commit f2018f4
Showing 1 changed file with 151 additions and 1 deletion.
152 changes: 151 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": 1716865594057,
"lastUpdate": 1716865684132,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -488572,6 +488572,156 @@ window.BENCHMARK_DATA = {
"extra": "mean: 148.4845013652338 nsec\nrounds: 124611"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "JRRudy1",
"username": "JRRudy1"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "934c6636120acf5a7a30e26de5d4358001c1ac5b",
"message": "Added `From<Bound<'py, T>>` impl for `PyClassInitializer<T>`. (#4214)\n\n* Added `From<Bound<'py, T>>` impl for PyClassInitializer<T>.\n\n* Added newsfragment entry.\n\n* Added tests for pyclass constructors returning `Py<Self>` and `Bound<Self>`.\n\n* Fixed tests.\n\n* Updated tests to properly cover the new impl.\n\n---------\n\nCo-authored-by: jrudolph <[email protected]>",
"timestamp": "2024-05-28T01:49:52Z",
"tree_id": "143136ee41734b179d0995c31c75cd1eb69a13d2",
"url": "https://github.com/PyO3/pyo3/commit/934c6636120acf5a7a30e26de5d4358001c1ac5b"
},
"date": 1716865661587,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 4404129.142563179,
"unit": "iter/sec",
"range": "stddev: 8.441250282724996e-8",
"extra": "mean: 227.05964508070838 nsec\nrounds: 194970"
},
{
"name": "tests/test_pyclasses.py::test_method_call",
"value": 14434336.200544547,
"unit": "iter/sec",
"range": "stddev: 5.828472529702877e-9",
"extra": "mean: 69.2792509545589 nsec\nrounds: 143823"
},
{
"name": "tests/test_pyclasses.py::test_proto_call",
"value": 13107259.951472623,
"unit": "iter/sec",
"range": "stddev: 4.9634285521389605e-9",
"extra": "mean: 76.29359635059716 nsec\nrounds: 128800"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 7344770.536199441,
"unit": "iter/sec",
"range": "stddev: 8.04093261697434e-9",
"extra": "mean: 136.1512922795068 nsec\nrounds: 69745"
},
{
"name": "tests/test_pyclasses.py::test_method_call_py",
"value": 11270473.615971357,
"unit": "iter/sec",
"range": "stddev: 5.906344425900542e-9",
"extra": "mean: 88.72741590760684 nsec\nrounds: 112020"
},
{
"name": "tests/test_pyclasses.py::test_proto_call_py",
"value": 8913329.555380855,
"unit": "iter/sec",
"range": "stddev: 7.482004214921604e-9",
"extra": "mean: 112.19152100084908 nsec\nrounds: 88021"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 13733261.173932359,
"unit": "iter/sec",
"range": "stddev: 4.6503946051047155e-9",
"extra": "mean: 72.81591657909624 nsec\nrounds: 137855"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 14952649.08325075,
"unit": "iter/sec",
"range": "stddev: 5.641556473131992e-9",
"extra": "mean: 66.87778161798451 nsec\nrounds: 144655"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 4599960.000005465,
"unit": "iter/sec",
"range": "stddev: 1.7136714263084613e-8",
"extra": "mean: 217.3931947231741 nsec\nrounds: 198847"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 4336665.919100195,
"unit": "iter/sec",
"range": "stddev: 1.93822895010891e-8",
"extra": "mean: 230.59189217127607 nsec\nrounds: 192308"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 4029982.647693422,
"unit": "iter/sec",
"range": "stddev: 3.3106581637639304e-8",
"extra": "mean: 248.14002625355081 nsec\nrounds: 198060"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 3520321.186081044,
"unit": "iter/sec",
"range": "stddev: 2.2410556859223636e-8",
"extra": "mean: 284.06498928390056 nsec\nrounds: 161005"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2576972.173341269,
"unit": "iter/sec",
"range": "stddev: 3.2744141642978495e-8",
"extra": "mean: 388.05230818748527 nsec\nrounds: 193088"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 2331913.9423523075,
"unit": "iter/sec",
"range": "stddev: 9.705996680881256e-8",
"extra": "mean: 428.8322917231048 nsec\nrounds: 178572"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 2373470.6891958355,
"unit": "iter/sec",
"range": "stddev: 3.409764459621938e-8",
"extra": "mean: 421.32393062701516 nsec\nrounds: 185186"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 2092650.8236912368,
"unit": "iter/sec",
"range": "stddev: 1.4447472832246536e-7",
"extra": "mean: 477.8628085865253 nsec\nrounds: 181819"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 3193593.2618240626,
"unit": "iter/sec",
"range": "stddev: 2.4836167318468753e-8",
"extra": "mean: 313.1269131714152 nsec\nrounds: 194213"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 6303577.8929906525,
"unit": "iter/sec",
"range": "stddev: 4.0975791702896016e-8",
"extra": "mean: 158.64006394082375 nsec\nrounds: 122775"
}
]
}
]
}
Expand Down

0 comments on commit f2018f4

Please sign in to comment.