Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 4114dcb
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Mar 4, 2024
1 parent 708c0f9 commit f4d787b
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": 1709542485797,
"lastUpdate": 1709542869890,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -417322,6 +417322,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 153.74300465853847 nsec\nrounds: 199204"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "Bruno Kolenbrander",
"username": "mejrs"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "4114dcb1a04160ef98fa17da52f83cce89d1497c",
"message": "Thread pyo3's path through the builder functions (#3907)\n\n* Thread pyo3's path through the builder functions\n\n* preserve span of pyo3_path\n\n---------\n\nCo-authored-by: David Hewitt <[email protected]>",
"timestamp": "2024-03-04T07:54:04Z",
"tree_id": "3e64844953e413ab222ad48f9498fff176376663",
"url": "https://github.com/PyO3/pyo3/commit/4114dcb1a04160ef98fa17da52f83cce89d1497c"
},
"date": 1709542850763,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 6888894.114789767,
"unit": "iter/sec",
"range": "stddev: 1.201754170860437e-8",
"extra": "mean: 145.16118020352494 nsec\nrounds: 197629"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 7480804.1822423255,
"unit": "iter/sec",
"range": "stddev: 6.234891129046326e-9",
"extra": "mean: 133.67546798962678 nsec\nrounds: 69852"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 14095095.02460831,
"unit": "iter/sec",
"range": "stddev: 4.371166269895025e-9",
"extra": "mean: 70.94666607455447 nsec\nrounds: 140786"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 12299507.137024978,
"unit": "iter/sec",
"range": "stddev: 3.926464510838483e-9",
"extra": "mean: 81.30407087530513 nsec\nrounds: 62349"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 4243407.065924712,
"unit": "iter/sec",
"range": "stddev: 5.619892193448163e-8",
"extra": "mean: 235.6596914847439 nsec\nrounds: 192679"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 3872135.809618863,
"unit": "iter/sec",
"range": "stddev: 5.0324248803027595e-8",
"extra": "mean: 258.2554045537031 nsec\nrounds: 183151"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 3714819.0585144362,
"unit": "iter/sec",
"range": "stddev: 6.999167570513831e-8",
"extra": "mean: 269.19211521432806 nsec\nrounds: 197278"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 3236167.177741205,
"unit": "iter/sec",
"range": "stddev: 2.2773383361032462e-8",
"extra": "mean: 309.00752188519033 nsec\nrounds: 151930"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2596010.4752341053,
"unit": "iter/sec",
"range": "stddev: 4.907000077420944e-8",
"extra": "mean: 385.20645796308713 nsec\nrounds: 197278"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 3214721.6158003095,
"unit": "iter/sec",
"range": "stddev: 2.400332665098667e-8",
"extra": "mean: 311.0689258705994 nsec\nrounds: 149433"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 2477250.192401706,
"unit": "iter/sec",
"range": "stddev: 3.617040985327231e-8",
"extra": "mean: 403.67339684430306 nsec\nrounds: 190151"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 2193755.4088396886,
"unit": "iter/sec",
"range": "stddev: 1.1035837996306296e-7",
"extra": "mean: 455.83933193760896 nsec\nrounds: 140588"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 3117803.651722013,
"unit": "iter/sec",
"range": "stddev: 5.7715659496369955e-8",
"extra": "mean: 320.738606950981 nsec\nrounds: 196079"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 6576356.981891974,
"unit": "iter/sec",
"range": "stddev: 1.4274072007926093e-8",
"extra": "mean: 152.059871864241 nsec\nrounds: 199641"
}
]
}
]
}
Expand Down

0 comments on commit f4d787b

Please sign in to comment.