Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for e835ff0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed May 4, 2024
1 parent af143a8 commit 696813a
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": 1714814803857,
"lastUpdate": 1714815290689,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -472798,6 +472798,156 @@ window.BENCHMARK_DATA = {
"extra": "mean: 154.5579748744798 nsec\nrounds: 197239"
}
]
},
{
"commit": {
"author": {
"email": "10486322+Icxolu@users.noreply.github.com",
"name": "Icxolu",
"username": "Icxolu"
},
"committer": {
"email": "noreply@github.com",
"name": "GitHub",
"username": "web-flow"
},
"distinct": false,
"id": "e835ff0ec30e0e391fdfcbef017241004ed9d896",
"message": "handle `#[pyo3(from_py_with = ...)]` on dunder (`__magic__`) methods (#4117)\n\n* handle `#[pyo3(from_py_with = ...)]` on dunder (__magic__) methods\n\n* add newsfragment",
"timestamp": "2024-05-04T07:39:40Z",
"tree_id": "7a8ec6f638cd5b60a77a6571dc1c73d3869e2763",
"url": "https://github.com/PyO3/pyo3/commit/e835ff0ec30e0e391fdfcbef017241004ed9d896"
},
"date": 1714815268898,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 7320046.300547018,
"unit": "iter/sec",
"range": "stddev: 7.440692693684512e-9",
"extra": "mean: 136.61115776347907 nsec\nrounds: 72951"
},
{
"name": "tests/test_pyclasses.py::test_method_call",
"value": 12300953.031116497,
"unit": "iter/sec",
"range": "stddev: 5.5672337729609e-9",
"extra": "mean: 81.29451412995397 nsec\nrounds: 120526"
},
{
"name": "tests/test_pyclasses.py::test_proto_call",
"value": 11044284.44401041,
"unit": "iter/sec",
"range": "stddev: 1.0436899228058377e-8",
"extra": "mean: 90.5445712730013 nsec\nrounds: 112146"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 7181697.774187068,
"unit": "iter/sec",
"range": "stddev: 8.863224981236283e-9",
"extra": "mean: 139.24284082160432 nsec\nrounds: 68885"
},
{
"name": "tests/test_pyclasses.py::test_method_call_py",
"value": 11143450.254998172,
"unit": "iter/sec",
"range": "stddev: 5.443466975362067e-9",
"extra": "mean: 89.73881312490894 nsec\nrounds: 111149"
},
{
"name": "tests/test_pyclasses.py::test_proto_call_py",
"value": 8291400.785892153,
"unit": "iter/sec",
"range": "stddev: 6.454939696684298e-9",
"extra": "mean: 120.60688245845061 nsec\nrounds: 84804"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 12478245.875460245,
"unit": "iter/sec",
"range": "stddev: 5.08417626329851e-9",
"extra": "mean: 80.13946911934177 nsec\nrounds: 122325"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 12761556.331945073,
"unit": "iter/sec",
"range": "stddev: 2.0284634619682725e-8",
"extra": "mean: 78.36034837669234 nsec\nrounds: 128453"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 4604643.992202868,
"unit": "iter/sec",
"range": "stddev: 2.3610261212944783e-8",
"extra": "mean: 217.17205536265547 nsec\nrounds: 199641"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 3729623.9000193463,
"unit": "iter/sec",
"range": "stddev: 2.488710948030081e-8",
"extra": "mean: 268.12354993617794 nsec\nrounds: 172682"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 3968749.8781832224,
"unit": "iter/sec",
"range": "stddev: 1.8799787997784077e-8",
"extra": "mean: 251.9685116709271 nsec\nrounds: 196079"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 3163878.3005609405,
"unit": "iter/sec",
"range": "stddev: 2.1949417569193343e-8",
"extra": "mean: 316.0677829557176 nsec\nrounds: 147886"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2544001.9054686236,
"unit": "iter/sec",
"range": "stddev: 3.483448067212362e-8",
"extra": "mean: 393.08146658632035 nsec\nrounds: 191242"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 3098879.650164537,
"unit": "iter/sec",
"range": "stddev: 2.1962332743264812e-8",
"extra": "mean: 322.69726897813035 nsec\nrounds: 137476"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 2474132.5749015226,
"unit": "iter/sec",
"range": "stddev: 3.737230590297012e-8",
"extra": "mean: 404.1820596617798 nsec\nrounds: 198808"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 3049756.089780555,
"unit": "iter/sec",
"range": "stddev: 3.261817895988883e-8",
"extra": "mean: 327.8950744129689 nsec\nrounds: 198413"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 3141772.0277979737,
"unit": "iter/sec",
"range": "stddev: 2.4369683800224352e-8",
"extra": "mean: 318.2917128143402 nsec\nrounds: 192679"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 6279601.153434077,
"unit": "iter/sec",
"range": "stddev: 9.34194961634192e-9",
"extra": "mean: 159.2457825849557 nsec\nrounds: 61955"
}
]
}
]
}
Expand Down

0 comments on commit 696813a

Please sign in to comment.