Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add pytest-bench (pytest) benchmark result for 066e334
Browse files Browse the repository at this point in the history
github-action-benchmark committed Dec 26, 2023
1 parent efe510e commit ce64b6f
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": 1703612743617,
"lastUpdate": 1703612817176,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
@@ -340234,6 +340234,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 234.4409068003967 nsec\nrounds: 198808"
}
]
},
{
"commit": {
"author": {
"email": "mail@davidhewitt.dev",
"name": "David Hewitt",
"username": "davidhewitt"
},
"committer": {
"email": "noreply@github.com",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "066e33488bb96a0b904c25e26072fdccfc7d7618",
"message": "Merge pull request #3704 from davidhewitt/sansyrox-intro\n\nAdd link to YouTube introduction to PyO3",
"timestamp": "2023-12-26T16:50:20Z",
"tree_id": "8aa95cda640497059b38bf8c3b2eb54dad48f5f2",
"url": "https://github.com/PyO3/pyo3/commit/066e33488bb96a0b904c25e26072fdccfc7d7618"
},
"date": 1703612804176,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 2506327.3314465336,
"unit": "iter/sec",
"range": "stddev: 1.0237916903310829e-7",
"extra": "mean: 398.99018274793633 nsec\nrounds: 186916"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 4706589.557510477,
"unit": "iter/sec",
"range": "stddev: 1.662827786872955e-8",
"extra": "mean: 212.46807009212515 nsec\nrounds: 194970"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 10677470.64710782,
"unit": "iter/sec",
"range": "stddev: 5.48907969808501e-9",
"extra": "mean: 93.65513922258992 nsec\nrounds: 98727"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 7093473.663895863,
"unit": "iter/sec",
"range": "stddev: 7.888751331797147e-9",
"extra": "mean: 140.97465464484182 nsec\nrounds: 69653"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3394015.5819090735,
"unit": "iter/sec",
"range": "stddev: 2.0738201415874607e-8",
"extra": "mean: 294.63624307744567 nsec\nrounds: 194591"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 2686602.2491502143,
"unit": "iter/sec",
"range": "stddev: 2.574997890993374e-8",
"extra": "mean: 372.2173612846133 nsec\nrounds: 127649"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 2834894.806537043,
"unit": "iter/sec",
"range": "stddev: 5.526761096996439e-8",
"extra": "mean: 352.7467748341418 nsec\nrounds: 140985"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1279365.9406489457,
"unit": "iter/sec",
"range": "stddev: 2.544703226196616e-7",
"extra": "mean: 781.6371909140865 nsec\nrounds: 184502"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 1830439.1571450334,
"unit": "iter/sec",
"range": "stddev: 7.428917608032608e-8",
"extra": "mean: 546.3169841491573 nsec\nrounds: 174186"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1100244.4159492967,
"unit": "iter/sec",
"range": "stddev: 1.383311052022778e-7",
"extra": "mean: 908.8889573115396 nsec\nrounds: 97476"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1768251.7917758536,
"unit": "iter/sec",
"range": "stddev: 4.280075038186649e-8",
"extra": "mean: 565.5303190705104 nsec\nrounds: 161499"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1535277.5935309492,
"unit": "iter/sec",
"range": "stddev: 4.206580222385312e-8",
"extra": "mean: 651.3480065192141 nsec\nrounds: 71809"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2158331.1641032496,
"unit": "iter/sec",
"range": "stddev: 3.5346655374536533e-8",
"extra": "mean: 463.3209289805548 nsec\nrounds: 177274"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 4228304.4316089405,
"unit": "iter/sec",
"range": "stddev: 2.3338377007149026e-8",
"extra": "mean: 236.50141946366034 nsec\nrounds: 196503"
}
]
}
]
}

0 comments on commit ce64b6f

Please sign in to comment.