Skip to content

Commit

Permalink
add pyo3-bench (cargo) benchmark result for db13a97
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Oct 13, 2023
1 parent 229b33e commit 8e6d22e
Showing 1 changed file with 307 additions and 1 deletion.
308 changes: 307 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": 1697063238522,
"lastUpdate": 1697183961977,
"repoUrl": "https://github.com/PyO3/pyo3",
"entries": {
"pyo3-bench": [
Expand Down Expand Up @@ -172784,6 +172784,312 @@ window.BENCHMARK_DATA = {
"unit": "ns/iter"
}
]
},
{
"commit": {
"author": {
"email": "[email protected]",
"name": "David Hewitt",
"username": "davidhewitt"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "db13a9779086030630d16e0d1b8838effa5ba649",
"message": "Merge pull request #3445 from davidhewitt/py2-internals\n\nadd `Py2` as an internal API for optimization and dogfooding",
"timestamp": "2023-10-13T06:49:08Z",
"tree_id": "ea52fa1646d55aa69307546b77dbcf936388ffc4",
"url": "https://github.com/PyO3/pyo3/commit/db13a9779086030630d16e0d1b8838effa5ba649"
},
"date": 1697183945887,
"tool": "cargo",
"benches": [
{
"name": "identify_object_type",
"value": 498,
"range": "± 10",
"unit": "ns/iter"
},
{
"name": "collect_generic_iterator",
"value": 13149777,
"range": "± 67721",
"unit": "ns/iter"
},
{
"name": "call_0",
"value": 38112,
"range": "± 1575",
"unit": "ns/iter"
},
{
"name": "call_method_0",
"value": 139270,
"range": "± 4155",
"unit": "ns/iter"
},
{
"name": "ordered_dunder_methods",
"value": 61,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "ordered_richcmp",
"value": 63,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "err_new_restore_and_fetch",
"value": 226,
"range": "± 12",
"unit": "ns/iter"
},
{
"name": "err_new_without_gil",
"value": 17,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "extract_str_extract_success",
"value": 10,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "extract_str_extract_fail",
"value": 38,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "extract_str_downcast_success",
"value": 4,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "extract_str_downcast_fail",
"value": 3,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "extract_int_extract_success",
"value": 7,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "extract_int_extract_fail",
"value": 212,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "extract_int_downcast_success",
"value": 8,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "extract_int_downcast_fail",
"value": 3,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "extract_float_extract_success",
"value": 2,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "extract_float_extract_fail",
"value": 188,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "extract_float_downcast_success",
"value": 3,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "extract_float_downcast_fail",
"value": 6,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "enum_from_pyobject",
"value": 1207,
"range": "± 42",
"unit": "ns/iter"
},
{
"name": "list_via_downcast",
"value": 0,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "list_via_extract",
"value": 2,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "not_a_list_via_downcast",
"value": 0,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "not_a_list_via_extract",
"value": 37,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "not_a_list_via_extract_enum",
"value": 734,
"range": "± 38",
"unit": "ns/iter"
},
{
"name": "f64_from_pyobject",
"value": 2,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "clean_gilpool_new",
"value": 19,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "clean_acquire_gil",
"value": 100,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "dirty_acquire_gil",
"value": 104,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "getattr_direct",
"value": 163,
"range": "± 7",
"unit": "ns/iter"
},
{
"name": "getattr_intern",
"value": 38,
"range": "± 1",
"unit": "ns/iter"
},
{
"name": "iter_list",
"value": 2034322,
"range": "± 9261",
"unit": "ns/iter"
},
{
"name": "list_new",
"value": 1374551,
"range": "± 125805",
"unit": "ns/iter"
},
{
"name": "list_get_item",
"value": 1157207,
"range": "± 38328",
"unit": "ns/iter"
},
{
"name": "list_get_item_unchecked",
"value": 1011071,
"range": "± 38866",
"unit": "ns/iter"
},
{
"name": "sequence_from_list",
"value": 2,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "first_time_init",
"value": 3347,
"range": "± 144",
"unit": "ns/iter"
},
{
"name": "drop_many_objects",
"value": 3119,
"range": "± 2",
"unit": "ns/iter"
},
{
"name": "iter_tuple",
"value": 1432456,
"range": "± 8508",
"unit": "ns/iter"
},
{
"name": "tuple_new",
"value": 1408543,
"range": "± 129484",
"unit": "ns/iter"
},
{
"name": "tuple_get_item",
"value": 929636,
"range": "± 2261",
"unit": "ns/iter"
},
{
"name": "tuple_get_item_unchecked",
"value": 780706,
"range": "± 1803",
"unit": "ns/iter"
},
{
"name": "sequence_from_tuple",
"value": 3,
"range": "± 0",
"unit": "ns/iter"
},
{
"name": "tuple_new_list",
"value": 219873,
"range": "± 1683",
"unit": "ns/iter"
},
{
"name": "tuple_to_list",
"value": 152986,
"range": "± 336",
"unit": "ns/iter"
},
{
"name": "tuple_into_py",
"value": 109,
"range": "± 0",
"unit": "ns/iter"
}
]
}
],
"pytest-bench": [
Expand Down

0 comments on commit 8e6d22e

Please sign in to comment.