Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 601d957
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Dec 7, 2023
1 parent 8e44b5e commit e7e0731
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": 1701955793728,
"lastUpdate": 1701955861840,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -317444,6 +317444,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 166.83331079132282 nsec\nrounds: 195351"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "messense",
"username": "messense"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "601d9573c83d5b373512152c16c0a35df480f3a4",
"message": "Merge pull request #3631 from wyfo/doc_typo\n\ndocs: fix typos",
"timestamp": "2023-12-07T12:29:00Z",
"tree_id": "c650ab3e83df1e2d0208e96c89a849a2bdf90c85",
"url": "https://github.com/PyO3/pyo3/commit/601d9573c83d5b373512152c16c0a35df480f3a4"
},
"date": 1701955849902,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 3848901.0175330145,
"unit": "iter/sec",
"range": "stddev: 9.135117689932748e-8",
"extra": "mean: 259.8144237652956 nsec\nrounds: 160721"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 7705072.355578883,
"unit": "iter/sec",
"range": "stddev: 1.5626791220590988e-8",
"extra": "mean: 129.78463456945303 nsec\nrounds: 53006"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 13886183.84018899,
"unit": "iter/sec",
"range": "stddev: 5.561112061209853e-9",
"extra": "mean: 72.01402570415561 nsec\nrounds: 137099"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 11960856.770951608,
"unit": "iter/sec",
"range": "stddev: 4.605990652653136e-9",
"extra": "mean: 83.60605090001758 nsec\nrounds: 121139"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 4655168.838671587,
"unit": "iter/sec",
"range": "stddev: 2.5232876519852722e-8",
"extra": "mean: 214.8149797903706 nsec\nrounds: 138046"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 3615981.7658198355,
"unit": "iter/sec",
"range": "stddev: 2.0433746492557277e-8",
"extra": "mean: 276.55006710833743 nsec\nrounds: 170620"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 4056368.0977903586,
"unit": "iter/sec",
"range": "stddev: 1.982954214150378e-8",
"extra": "mean: 246.5259502816655 nsec\nrounds: 199204"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1856837.256942696,
"unit": "iter/sec",
"range": "stddev: 1.5002387648405092e-7",
"extra": "mean: 538.5501590195964 nsec\nrounds: 164447"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2707572.438060898,
"unit": "iter/sec",
"range": "stddev: 2.8507644749051837e-8",
"extra": "mean: 369.33453227060375 nsec\nrounds: 198060"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1630955.4178372028,
"unit": "iter/sec",
"range": "stddev: 1.4008269181609834e-7",
"extra": "mean: 613.1375444499225 nsec\nrounds: 138428"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 2568950.705047187,
"unit": "iter/sec",
"range": "stddev: 3.143720339953699e-8",
"extra": "mean: 389.2639893927555 nsec\nrounds: 193051"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1554286.3915149933,
"unit": "iter/sec",
"range": "stddev: 1.247318659776219e-7",
"extra": "mean: 643.3820726084339 nsec\nrounds: 127146"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 3185479.74694431,
"unit": "iter/sec",
"range": "stddev: 2.737516928448259e-8",
"extra": "mean: 313.92445704897534 nsec\nrounds: 101544"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 6386302.94923227,
"unit": "iter/sec",
"range": "stddev: 2.6299352469122652e-8",
"extra": "mean: 156.58511786075152 nsec\nrounds: 199204"
}
]
}
]
}
Expand Down

0 comments on commit e7e0731

Please sign in to comment.