From eb84b3b68142ffbd2fed46820ed3e7e475a7d441 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Sat, 27 Apr 2024 12:47:55 +0000 Subject: [PATCH] add pyo3-bench (cargo) benchmark result for 059c8b386201a2aaa7a76b06392308ddcdfaa6e3 --- dev/bench/data.js | 410 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 409 insertions(+), 1 deletion(-) diff --git a/dev/bench/data.js b/dev/bench/data.js index c106daf7b60..c86f2f1aaab 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1714199247002, + "lastUpdate": 1714222074584, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -308924,6 +308924,414 @@ window.BENCHMARK_DATA = { "unit": "ns/iter" } ] + }, + { + "commit": { + "author": { + "email": "10486322+Icxolu@users.noreply.github.com", + "name": "Icxolu", + "username": "Icxolu" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "059c8b386201a2aaa7a76b06392308ddcdfaa6e3", + "message": "feature gate deprecated APIs for `PyBytes` and `PyPyByteArray` (#4131)", + "timestamp": "2024-04-27T11:34:27Z", + "tree_id": "51a9b18c6de9391c19a9b2e090ce3d73668c2460", + "url": "https://github.com/PyO3/pyo3/commit/059c8b386201a2aaa7a76b06392308ddcdfaa6e3" + }, + "date": 1714222053293, + "tool": "cargo", + "benches": [ + { + "name": "identify_object_type", + "value": 501, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "collect_generic_iterator", + "value": 10087236, + "range": "± 139343", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_extract_fail", + "value": 252, + "range": "± 12", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_small", + "value": 57, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_negative", + "value": 177, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_positive", + "value": 148, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_negative", + "value": 1298, + "range": "± 15", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_positive", + "value": 1064, + "range": "± 8", + "unit": "ns/iter" + }, + { + "name": "call_0", + "value": 30959, + "range": "± 145", + "unit": "ns/iter" + }, + { + "name": "call_method_0", + "value": 99546, + "range": "± 2531", + "unit": "ns/iter" + }, + { + "name": "ordered_dunder_methods", + "value": 47, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "ordered_richcmp", + "value": 44, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "decimal_via_extract", + "value": 380, + "range": "± 3", + "unit": "ns/iter" + }, + { + "name": "iter_dict", + "value": 1142517, + "range": "± 15757", + "unit": "ns/iter" + }, + { + "name": "dict_new", + "value": 3206770, + "range": "± 28234", + "unit": "ns/iter" + }, + { + "name": "dict_get_item", + "value": 2184511, + "range": "± 31893", + "unit": "ns/iter" + }, + { + "name": "extract_hashmap", + "value": 4878832, + "range": "± 15938", + "unit": "ns/iter" + }, + { + "name": "extract_btreemap", + "value": 7339047, + "range": "± 27388", + "unit": "ns/iter" + }, + { + "name": "mapping_from_dict", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "err_new_restore_and_fetch", + "value": 162, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "err_new_without_gil", + "value": 12, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_extract_success", + "value": 10, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_extract_fail", + "value": 19, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_downcast_success", + "value": 10, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_downcast_fail", + "value": 1, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_extract_success", + "value": 5, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_extract_fail", + "value": 253, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "extract_int_downcast_success", + "value": 5, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_downcast_fail", + "value": 1, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_extract_success", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_extract_fail", + "value": 247, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_success", + "value": 1, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_fail", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "enum_from_pyobject", + "value": 895, + "range": "± 5", + "unit": "ns/iter" + }, + { + "name": "list_via_downcast", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "list_via_extract", + "value": 6, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "not_a_list_via_downcast", + "value": 1, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "not_a_list_via_extract", + "value": 30, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "not_a_list_via_extract_enum", + "value": 503, + "range": "± 3", + "unit": "ns/iter" + }, + { + "name": "clean_acquire_gil", + "value": 66, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "dirty_acquire_gil", + "value": 64, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "getattr_direct", + "value": 104, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "getattr_intern", + "value": 25, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "iter_list", + "value": 724027, + "range": "± 1079", + "unit": "ns/iter" + }, + { + "name": "list_new", + "value": 898865, + "range": "± 145387", + "unit": "ns/iter" + }, + { + "name": "list_get_item", + "value": 575232, + "range": "± 3467", + "unit": "ns/iter" + }, + { + "name": "list_get_item_unchecked", + "value": 436568, + "range": "± 7102", + "unit": "ns/iter" + }, + { + "name": "sequence_from_list", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "first_time_init", + "value": 3123, + "range": "± 315", + "unit": "ns/iter" + }, + { + "name": "drop_many_objects", + "value": 2169, + "range": "± 35", + "unit": "ns/iter" + }, + { + "name": "set_new", + "value": 2786844, + "range": "± 53233", + "unit": "ns/iter" + }, + { + "name": "iter_set", + "value": 1222192, + "range": "± 9255", + "unit": "ns/iter" + }, + { + "name": "extract_hashset", + "value": 5575301, + "range": "± 11087", + "unit": "ns/iter" + }, + { + "name": "extract_btreeset", + "value": 1950203, + "range": "± 7232", + "unit": "ns/iter" + }, + { + "name": "iter_tuple", + "value": 653290, + "range": "± 1041", + "unit": "ns/iter" + }, + { + "name": "tuple_new", + "value": 947303, + "range": "± 178466", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item", + "value": 576162, + "range": "± 2327", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item_unchecked", + "value": 420406, + "range": "± 1415", + "unit": "ns/iter" + }, + { + "name": "tuple_get_borrowed_item", + "value": 574726, + "range": "± 1040", + "unit": "ns/iter" + }, + { + "name": "tuple_get_borrowed_item_unchecked", + "value": 404196, + "range": "± 13376", + "unit": "ns/iter" + }, + { + "name": "sequence_from_tuple", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "tuple_new_list", + "value": 253328, + "range": "± 40557", + "unit": "ns/iter" + }, + { + "name": "tuple_to_list", + "value": 179051, + "range": "± 43467", + "unit": "ns/iter" + }, + { + "name": "tuple_into_py", + "value": 87, + "range": "± 0", + "unit": "ns/iter" + } + ] } ], "pytest-bench": [