Skip to content

Commit

Permalink
add pytest-bench (pytest) benchmark result for aa28cec
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Oct 15, 2023
1 parent bb41dc9 commit 2026943
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": 1697385534554,
"lastUpdate": 1697385657695,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -291392,6 +291392,128 @@ window.BENCHMARK_DATA = {
"extra": "mean: 245.78805324596223 nsec\nrounds: 196079"
}
]
},
{
"commit": {
"author": {
"email": "1939362+davidhewitt@users.noreply.github.com",
"name": "David Hewitt",
"username": "davidhewitt"
},
"committer": {
"email": "noreply@github.com",
"name": "GitHub",
"username": "web-flow"
},
"distinct": false,
"id": "aa28cec89364050492be9c64099b0d1bc1e00a81",
"message": "Merge pull request #3507 from orhun/feat/support_smallvec_conversion\n\nAdd support for `SmallVec` in conversion traits (#3440)",
"timestamp": "2023-10-15T14:43:55Z",
"tree_id": "74bde14aeb6489df524347a6e67de8a98f3700ae",
"url": "https://github.com/PyO3/pyo3/commit/aa28cec89364050492be9c64099b0d1bc1e00a81"
},
"date": 1697385641823,
"tool": "pytest",
"benches": [
{
"name": "tests/test_pyclasses.py::test_empty_class_init",
"value": 2682964.012869991,
"unit": "iter/sec",
"range": "stddev: 9.415733337140337e-8",
"extra": "mean: 372.7221070439521 nsec\nrounds: 68494"
},
{
"name": "tests/test_pyclasses.py::test_empty_class_init_py",
"value": 5537686.637169186,
"unit": "iter/sec",
"range": "stddev: 5.423168454097474e-9",
"extra": "mean: 180.58082111182634 nsec\nrounds: 48544"
},
{
"name": "tests/test_pyfunctions.py::test_none_py",
"value": 9652204.61835963,
"unit": "iter/sec",
"range": "stddev: 7.80980552698311e-9",
"extra": "mean: 103.60327402279496 nsec\nrounds: 90091"
},
{
"name": "tests/test_pyfunctions.py::test_none_rs",
"value": 8797330.688008303,
"unit": "iter/sec",
"range": "stddev: 5.173205432712234e-9",
"extra": "mean: 113.6708435165574 nsec\nrounds: 43289"
},
{
"name": "tests/test_pyfunctions.py::test_simple_py",
"value": 3223520.741287976,
"unit": "iter/sec",
"range": "stddev: 2.6479941743790004e-8",
"extra": "mean: 310.2198125148233 nsec\nrounds: 185186"
},
{
"name": "tests/test_pyfunctions.py::test_simple_rs",
"value": 1934341.1715479265,
"unit": "iter/sec",
"range": "stddev: 1.0787124685985622e-7",
"extra": "mean: 516.9718841272274 nsec\nrounds: 181819"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_py",
"value": 2874267.3660748987,
"unit": "iter/sec",
"range": "stddev: 1.8726155228271536e-8",
"extra": "mean: 347.91474578984645 nsec\nrounds: 192308"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_rs",
"value": 1420849.9031138793,
"unit": "iter/sec",
"range": "stddev: 1.141935335208923e-7",
"extra": "mean: 703.8041089410212 nsec\nrounds: 103093"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_py",
"value": 1915714.839898929,
"unit": "iter/sec",
"range": "stddev: 2.67168340837957e-8",
"extra": "mean: 521.9983575701481 nsec\nrounds: 144907"
},
{
"name": "tests/test_pyfunctions.py::test_simple_kwargs_rs",
"value": 1256919.8586291398,
"unit": "iter/sec",
"range": "stddev: 1.667924590573468e-7",
"extra": "mean: 795.595672337177 nsec\nrounds: 102041"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_py",
"value": 1809968.1085058646,
"unit": "iter/sec",
"range": "stddev: 2.188403765147185e-8",
"extra": "mean: 552.4959226079976 nsec\nrounds: 86207"
},
{
"name": "tests/test_pyfunctions.py::test_simple_args_kwargs_rs",
"value": 1254069.4490638992,
"unit": "iter/sec",
"range": "stddev: 1.1900474601913024e-7",
"extra": "mean: 797.4040040178402 nsec\nrounds: 90910"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_py",
"value": 2272090.7490304466,
"unit": "iter/sec",
"range": "stddev: 3.030781585321444e-8",
"extra": "mean: 440.12326551072965 nsec\nrounds: 172414"
},
{
"name": "tests/test_pyfunctions.py::test_args_kwargs_rs",
"value": 4348372.185497233,
"unit": "iter/sec",
"range": "stddev: 1.1752479811142458e-8",
"extra": "mean: 229.97111501522747 nsec\nrounds: 178572"
}
]
}
]
}
Expand Down

0 comments on commit 2026943

Please sign in to comment.