Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for 93cfb51
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed May 3, 2024
1 parent d9f103d commit 07e59a9
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": 1714757105221,
"lastUpdate": 1714757846024,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -470158,6 +470158,156 @@ window.BENCHMARK_DATA = {
"extra": "mean: 154.8522648024211 nsec\nrounds: 63096"
}
]
},
{
"commit": {
"author": {
"email": "alex.gaynor@gmail.com",
"name": "Alex Gaynor",
"username": "alex"
},
"committer": {
"email": "noreply@github.com",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "93cfb51ebbdfb598e4a08539155ac4d9e9194a28",
"message": "feature gate deprecated APIs for `PyMemoryView` (#4152)",
"timestamp": "2024-05-03T16:02:19Z",
"tree_id": "74d2888ae41ca6c4abf902b0d49bde202ec81011",
"url": "https://github.com/PyO3/pyo3/commit/93cfb51ebbdfb598e4a08539155ac4d9e9194a28"
},
"date": 1714757824633,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 6679536.844685068,
"unit": "iter/sec",
"range": "stddev: 2.9048178856654216e-8",
"extra": "mean: 149.7109789574263 nsec\nrounds: 196890"
},
{
"name": "tests/test_pyclasses.py::test_method_call",
"value": 12194531.616933007,
"unit": "iter/sec",
"range": "stddev: 6.128708217166471e-9",
"extra": "mean: 82.00396959990053 nsec\nrounds: 120395"
},
{
"name": "tests/test_pyclasses.py::test_proto_call",
"value": 11776012.018075567,
"unit": "iter/sec",
"range": "stddev: 7.293577938947015e-9",
"extra": "mean: 84.91839159683703 nsec\nrounds: 117427"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 7252294.149304593,
"unit": "iter/sec",
"range": "stddev: 6.692516684843828e-9",
"extra": "mean: 137.88740216720083 nsec\nrounds: 69123"
},
{
"name": "tests/test_pyclasses.py::test_method_call_py",
"value": 10949370.010417737,
"unit": "iter/sec",
"range": "stddev: 5.919605968512908e-9",
"extra": "mean: 91.32945539775838 nsec\nrounds: 108850"
},
{
"name": "tests/test_pyclasses.py::test_proto_call_py",
"value": 8353345.632084553,
"unit": "iter/sec",
"range": "stddev: 7.129278355185414e-9",
"extra": "mean: 119.71251329037284 nsec\nrounds: 82768"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 12355762.018658325,
"unit": "iter/sec",
"range": "stddev: 5.2281207366822434e-9",
"extra": "mean: 80.93389938151196 nsec\nrounds: 124907"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 13192977.18673877,
"unit": "iter/sec",
"range": "stddev: 5.521586502054145e-9",
"extra": "mean: 75.79790261482246 nsec\nrounds: 131683"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 4645188.692030561,
"unit": "iter/sec",
"range": "stddev: 1.744332854559338e-8",
"extra": "mean: 215.2765078662214 nsec\nrounds: 196503"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 3818248.2564015538,
"unit": "iter/sec",
"range": "stddev: 4.7046287243180445e-8",
"extra": "mean: 261.90020471388465 nsec\nrounds: 168039"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 3924076.774280822,
"unit": "iter/sec",
"range": "stddev: 4.125372531284072e-8",
"extra": "mean: 254.83701199584027 nsec\nrounds: 190513"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 3154197.242077574,
"unit": "iter/sec",
"range": "stddev: 2.219204603091238e-8",
"extra": "mean: 317.0378778662967 nsec\nrounds: 149656"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 2649437.3779204907,
"unit": "iter/sec",
"range": "stddev: 3.370918065962335e-8",
"extra": "mean: 377.438624642975 nsec\nrounds: 66899"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 3167371.759208397,
"unit": "iter/sec",
"range": "stddev: 2.4060606122431465e-8",
"extra": "mean: 315.7191753992036 nsec\nrounds: 145731"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 2538473.39329128,
"unit": "iter/sec",
"range": "stddev: 3.832035649651278e-8",
"extra": "mean: 393.9375542177503 nsec\nrounds: 189036"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 3105044.016009862,
"unit": "iter/sec",
"range": "stddev: 2.266658572689886e-8",
"extra": "mean: 322.0566262004396 nsec\nrounds: 144238"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 3189899.9740161397,
"unit": "iter/sec",
"range": "stddev: 2.6465736101954053e-8",
"extra": "mean: 313.4894536335516 nsec\nrounds: 196851"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 6578284.846837467,
"unit": "iter/sec",
"range": "stddev: 7.831382297315389e-9",
"extra": "mean: 152.01530844027732 nsec\nrounds: 65669"
}
]
}
]
}
Expand Down

0 comments on commit 07e59a9

Please sign in to comment.