Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 388d176
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed May 26, 2024
1 parent bf78230 commit d4bbe6f
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": 1716685918121,
"lastUpdate": 1716686035925,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -488014,6 +488014,156 @@ window.BENCHMARK_DATA = {
"extra": "mean: 136.62331707750562 nsec\nrounds: 196503"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "David Hewitt",
"username": "davidhewitt"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "388d1760b5d6545c94925dafe0d640200b9fded2",
"message": "ci: start testing on 3.13-dev (#4184)\n\n* ci: start testing on 3.13-dev\n\n* ffi fixes for 3.13 beta 1\n\n* support 3.13\n\n* move gevent to be binary-only\n\n* adjust for div_ceil\n\n* fixup pytests",
"timestamp": "2024-05-25T22:41:26Z",
"tree_id": "32015c0ae78e71f9ec599ae139667068ec7c19b3",
"url": "https://github.com/PyO3/pyo3/commit/388d1760b5d6545c94925dafe0d640200b9fded2"
},
"date": 1716686012687,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 8978563.78294328,
"unit": "iter/sec",
"range": "stddev: 9.370801776006359e-9",
"extra": "mean: 111.37638760218152 nsec\nrounds: 198020"
},
{
"name": "tests/test_pyclasses.py::test_method_call",
"value": 13824130.202834874,
"unit": "iter/sec",
"range": "stddev: 5.597375310795268e-9",
"extra": "mean: 72.33728164647442 nsec\nrounds: 137495"
},
{
"name": "tests/test_pyclasses.py::test_proto_call",
"value": 13494019.137272352,
"unit": "iter/sec",
"range": "stddev: 1.142512861190657e-8",
"extra": "mean: 74.10690542433434 nsec\nrounds: 131165"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 6968603.176560668,
"unit": "iter/sec",
"range": "stddev: 2.5224281194992406e-8",
"extra": "mean: 143.5007812417218 nsec\nrounds: 69556"
},
{
"name": "tests/test_pyclasses.py::test_method_call_py",
"value": 11042756.792166904,
"unit": "iter/sec",
"range": "stddev: 5.507248308360002e-9",
"extra": "mean: 90.55709718331771 nsec\nrounds: 109566"
},
{
"name": "tests/test_pyclasses.py::test_proto_call_py",
"value": 8900895.463637168,
"unit": "iter/sec",
"range": "stddev: 6.783284519979882e-9",
"extra": "mean: 112.34824676745171 nsec\nrounds: 88488"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 13770220.182475647,
"unit": "iter/sec",
"range": "stddev: 4.7691280484366814e-9",
"extra": "mean: 72.62048004668996 nsec\nrounds: 135612"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 14801699.782877069,
"unit": "iter/sec",
"range": "stddev: 5.40668852577272e-9",
"extra": "mean: 67.55980831044972 nsec\nrounds: 146800"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 4669963.084834347,
"unit": "iter/sec",
"range": "stddev: 1.7167223453088606e-8",
"extra": "mean: 214.13445499119447 nsec\nrounds: 196464"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 4474958.421228893,
"unit": "iter/sec",
"range": "stddev: 2.0057940888498566e-8",
"extra": "mean: 223.46576344845334 nsec\nrounds: 191205"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 4063638.3002952444,
"unit": "iter/sec",
"range": "stddev: 2.0458162700500882e-8",
"extra": "mean: 246.08489390587363 nsec\nrounds: 198453"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 3534984.547540514,
"unit": "iter/sec",
"range": "stddev: 2.0117433477452262e-8",
"extra": "mean: 282.8866679758914 nsec\nrounds: 164990"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2549304.421682157,
"unit": "iter/sec",
"range": "stddev: 3.197606933007304e-8",
"extra": "mean: 392.2638628383779 nsec\nrounds: 190840"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 2317870.7247708114,
"unit": "iter/sec",
"range": "stddev: 1.2570187433880038e-7",
"extra": "mean: 431.4304457591693 nsec\nrounds: 193051"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 2403448.4368149443,
"unit": "iter/sec",
"range": "stddev: 3.3658286498769205e-8",
"extra": "mean: 416.06883870793683 nsec\nrounds: 191939"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 3266134.334394719,
"unit": "iter/sec",
"range": "stddev: 3.031520924431789e-8",
"extra": "mean: 306.1723424751053 nsec\nrounds: 145709"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 3155414.0757902833,
"unit": "iter/sec",
"range": "stddev: 3.0260348568868346e-8",
"extra": "mean: 316.91561740579067 nsec\nrounds: 198808"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 6734709.6215803465,
"unit": "iter/sec",
"range": "stddev: 1.6161415117730623e-8",
"extra": "mean: 148.4845013652338 nsec\nrounds: 124611"
}
]
}
]
}
Expand Down

0 comments on commit d4bbe6f

Please sign in to comment.