From 9dbc16c3159e45ecd2bb8c050f6b0307671e7e90 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Sat, 23 Sep 2023 22:43:56 +0000 Subject: [PATCH] add pyo3-bench (cargo) benchmark result for f691a68b46e78ef33ac699d3e2d28e70aa92c7bd --- dev/bench/data.js | 308 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 307 insertions(+), 1 deletion(-) diff --git a/dev/bench/data.js b/dev/bench/data.js index 94ea23bb70c..e27c8a26c7f 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1695475837412, + "lastUpdate": 1695509035981, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -165746,6 +165746,312 @@ window.BENCHMARK_DATA = { "unit": "ns/iter" } ] + }, + { + "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": true, + "id": "f691a68b46e78ef33ac699d3e2d28e70aa92c7bd", + "message": "Merge pull request #3472 from davidhewitt/normalized-exceptions-3\n\nunify 3.12 / non-3.12 error handling branches", + "timestamp": "2023-09-23T21:45:25Z", + "tree_id": "d96f4bc4115e35e82b19744237cfb4753d85dc62", + "url": "https://github.com/PyO3/pyo3/commit/f691a68b46e78ef33ac699d3e2d28e70aa92c7bd" + }, + "date": 1695509020069, + "tool": "cargo", + "benches": [ + { + "name": "identify_object_type", + "value": 466, + "range": "± 15", + "unit": "ns/iter" + }, + { + "name": "collect_generic_iterator", + "value": 11090950, + "range": "± 135189", + "unit": "ns/iter" + }, + { + "name": "call_0", + "value": 34933, + "range": "± 933", + "unit": "ns/iter" + }, + { + "name": "call_method_0", + "value": 121269, + "range": "± 5512", + "unit": "ns/iter" + }, + { + "name": "ordered_dunder_methods", + "value": 62, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "ordered_richcmp", + "value": 65, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "err_new_restore_and_fetch", + "value": 97, + "range": "± 6", + "unit": "ns/iter" + }, + { + "name": "err_new_without_gil", + "value": 17, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_extract_success", + "value": 12, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_extract_fail", + "value": 47, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_str_downcast_success", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_downcast_fail", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_extract_success", + "value": 6, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_extract_fail", + "value": 170, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_int_downcast_success", + "value": 7, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_downcast_fail", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_extract_success", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_extract_fail", + "value": 152, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_success", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_fail", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "enum_from_pyobject", + "value": 1161, + "range": "± 35", + "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": 41, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "not_a_list_via_extract_enum", + "value": 692, + "range": "± 26", + "unit": "ns/iter" + }, + { + "name": "f64_from_pyobject", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "clean_gilpool_new", + "value": 21, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "clean_acquire_gil", + "value": 100, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "dirty_acquire_gil", + "value": 112, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "getattr_direct", + "value": 143, + "range": "± 6", + "unit": "ns/iter" + }, + { + "name": "getattr_intern", + "value": 37, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "iter_list", + "value": 2028504, + "range": "± 8322", + "unit": "ns/iter" + }, + { + "name": "list_new", + "value": 1218189, + "range": "± 113545", + "unit": "ns/iter" + }, + { + "name": "list_get_item", + "value": 1135150, + "range": "± 34436", + "unit": "ns/iter" + }, + { + "name": "list_get_item_unchecked", + "value": 1066286, + "range": "± 31271", + "unit": "ns/iter" + }, + { + "name": "sequence_from_list", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "first_time_init", + "value": 3595, + "range": "± 123", + "unit": "ns/iter" + }, + { + "name": "drop_many_objects", + "value": 5086, + "range": "± 50", + "unit": "ns/iter" + }, + { + "name": "iter_tuple", + "value": 1557805, + "range": "± 6425", + "unit": "ns/iter" + }, + { + "name": "tuple_new", + "value": 1234976, + "range": "± 116438", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item", + "value": 953433, + "range": "± 4523", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item_unchecked", + "value": 877347, + "range": "± 2365", + "unit": "ns/iter" + }, + { + "name": "sequence_from_tuple", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "tuple_new_list", + "value": 247853, + "range": "± 1882", + "unit": "ns/iter" + }, + { + "name": "tuple_to_list", + "value": 152407, + "range": "± 999", + "unit": "ns/iter" + }, + { + "name": "tuple_into_py", + "value": 110, + "range": "± 0", + "unit": "ns/iter" + } + ] } ], "pytest-bench": [