Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 48e74b7
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Jan 13, 2024
1 parent f0a23b2 commit 97f6885
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": 1705139470660,
"lastUpdate": 1705139549111,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -348184,6 +348184,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 251.47831313716696 nsec\nrounds: 198060"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "David Hewitt",
"username": "davidhewitt"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "48e74b78299263d6e216ca88c7fab201fa8ee204",
"message": "Merge pull request #3734 from jadedpasta/ffi-pytype-getmodulebydef\n\nffi: Add definition for PyType_GetModuleByDef",
"timestamp": "2024-01-13T08:49:36Z",
"tree_id": "06bc9fe606feb0c01fa173fdef122ce59f25b063",
"url": "https://github.com/PyO3/pyo3/commit/48e74b78299263d6e216ca88c7fab201fa8ee204"
},
"date": 1705139535217,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 2601822.658764384,
"unit": "iter/sec",
"range": "stddev: 1.02870667021641e-7",
"extra": "mean: 384.3459494179761 nsec\nrounds: 185874"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 4661449.693411907,
"unit": "iter/sec",
"range": "stddev: 1.7328241762803695e-8",
"extra": "mean: 214.52553728367258 nsec\nrounds: 193799"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 10471887.34342287,
"unit": "iter/sec",
"range": "stddev: 1.2120302041157239e-8",
"extra": "mean: 95.49376986260982 nsec\nrounds: 106293"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 6950086.758906648,
"unit": "iter/sec",
"range": "stddev: 1.1920445508851727e-8",
"extra": "mean: 143.88309595106622 nsec\nrounds: 69171"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3281996.206049133,
"unit": "iter/sec",
"range": "stddev: 3.109462171573282e-8",
"extra": "mean: 304.6926130374173 nsec\nrounds: 114851"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 2527240.2776866867,
"unit": "iter/sec",
"range": "stddev: 1.3547454578872175e-7",
"extra": "mean: 395.68853378490456 nsec\nrounds: 124627"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 2820771.379106671,
"unit": "iter/sec",
"range": "stddev: 3.084808284048659e-8",
"extra": "mean: 354.5129560683137 nsec\nrounds: 190115"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1327716.7039537397,
"unit": "iter/sec",
"range": "stddev: 1.5156569591320936e-7",
"extra": "mean: 753.1727190161508 nsec\nrounds: 137495"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 1838429.1071654158,
"unit": "iter/sec",
"range": "stddev: 4.333963367082128e-8",
"extra": "mean: 543.9426497885747 nsec\nrounds: 176648"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1135606.069329194,
"unit": "iter/sec",
"range": "stddev: 1.7725763952420953e-7",
"extra": "mean: 880.587051274482 nsec\nrounds: 137666"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1761944.9630855718,
"unit": "iter/sec",
"range": "stddev: 5.5459046624018154e-8",
"extra": "mean: 567.5546177383256 nsec\nrounds: 156202"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1121617.885568793,
"unit": "iter/sec",
"range": "stddev: 1.8732829112753e-7",
"extra": "mean: 891.5692348226793 nsec\nrounds: 136557"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2178193.1813463154,
"unit": "iter/sec",
"range": "stddev: 5.913906996526417e-8",
"extra": "mean: 459.0961024778857 nsec\nrounds: 194970"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 4155512.976197748,
"unit": "iter/sec",
"range": "stddev: 5.3312289467214424e-8",
"extra": "mean: 240.64417695910794 nsec\nrounds: 199243"
}
]
}
]
}
Expand Down

0 comments on commit 97f6885

Please sign in to comment.