Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for eceb28b
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Jan 2, 2024
1 parent a638e4b commit 3e8f55c
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": 1704213003123,
"lastUpdate": 1704213090869,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -344474,6 +344474,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 236.41108084407696 nsec\nrounds: 171792"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "David Hewitt",
"username": "davidhewitt"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": false,
"id": "eceb28bc79e08219067e46f4a7cae5e9a5f8a1e0",
"message": "Merge pull request #3702 from davidhewitt/bound-iterator-constructor\n\nintroduce PyIterator::from_bound_object",
"timestamp": "2024-01-02T15:34:54Z",
"tree_id": "abeddd5bec6ce1838707578fd12751038e3daa93",
"url": "https://github.com/PyO3/pyo3/commit/eceb28bc79e08219067e46f4a7cae5e9a5f8a1e0"
},
"date": 1704213076358,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 3831104.845116755,
"unit": "iter/sec",
"range": "stddev: 1.7932158281895512e-8",
"extra": "mean: 261.02130858533695 nsec\nrounds: 186568"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 4712710.034246117,
"unit": "iter/sec",
"range": "stddev: 1.494952375492172e-8",
"extra": "mean: 212.19213419311677 nsec\nrounds: 194213"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 10614534.950002003,
"unit": "iter/sec",
"range": "stddev: 6.890632638178068e-9",
"extra": "mean: 94.21043924301284 nsec\nrounds: 102062"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 6801904.784506116,
"unit": "iter/sec",
"range": "stddev: 2.9471159259101033e-8",
"extra": "mean: 147.01764162854417 nsec\nrounds: 70837"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3384765.787402049,
"unit": "iter/sec",
"range": "stddev: 5.468281371280085e-8",
"extra": "mean: 295.4414168690657 nsec\nrounds: 196117"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 2602068.7383911414,
"unit": "iter/sec",
"range": "stddev: 2.725190034631068e-8",
"extra": "mean: 384.3096015281671 nsec\nrounds: 126183"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 2817404.1702403417,
"unit": "iter/sec",
"range": "stddev: 2.8967192851579723e-8",
"extra": "mean: 354.93665075206235 nsec\nrounds: 190840"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1295478.7983294264,
"unit": "iter/sec",
"range": "stddev: 1.60444610667413e-7",
"extra": "mean: 771.915373134274 nsec\nrounds: 142390"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 1825440.4209189524,
"unit": "iter/sec",
"range": "stddev: 6.072907005917466e-8",
"extra": "mean: 547.8130036676771 nsec\nrounds: 179534"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1034681.1635479411,
"unit": "iter/sec",
"range": "stddev: 2.264588602906373e-7",
"extra": "mean: 966.4813038356484 nsec\nrounds: 130481"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1677223.1719031068,
"unit": "iter/sec",
"range": "stddev: 1.7974309148275537e-7",
"extra": "mean: 596.2235776085319 nsec\nrounds: 147428"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1035200.0496607252,
"unit": "iter/sec",
"range": "stddev: 3.0870767974731193e-7",
"extra": "mean: 965.9968624689869 nsec\nrounds: 132909"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2216396.4763947255,
"unit": "iter/sec",
"range": "stddev: 3.52822982020749e-8",
"extra": "mean: 451.1828143792386 nsec\nrounds: 183151"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 4131836.9350305093,
"unit": "iter/sec",
"range": "stddev: 2.0517154926440854e-8",
"extra": "mean: 242.0231039424154 nsec\nrounds: 197278"
}
]
}
]
}
Expand Down

0 comments on commit 3e8f55c

Please sign in to comment.