From 5ce4a95992f873fd6131aa4f128763dfe5d79758 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Fri, 3 May 2024 11:26:53 +0000 Subject: [PATCH] add pyo3-bench (cargo) benchmark result for 7cbb85476c920cb80d2906b08b2a25d96fe4b5c8 --- 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 f2995f842cf..f27988910be 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1714342596417, + "lastUpdate": 1714735612609, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -310556,6 +310556,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": "7cbb85476c920cb80d2906b08b2a25d96fe4b5c8", + "message": "fix `check-guide` ci workflow (#4146)", + "timestamp": "2024-05-03T10:17:14Z", + "tree_id": "1d899f74aa66f0a61ada3efa3b6d4c0bbedfe448", + "url": "https://github.com/PyO3/pyo3/commit/7cbb85476c920cb80d2906b08b2a25d96fe4b5c8" + }, + "date": 1714735590610, + "tool": "cargo", + "benches": [ + { + "name": "identify_object_type", + "value": 488, + "range": "± 20", + "unit": "ns/iter" + }, + { + "name": "collect_generic_iterator", + "value": 10182116, + "range": "± 423107", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_extract_fail", + "value": 256, + "range": "± 4", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_small", + "value": 60, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_negative", + "value": 190, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_positive", + "value": 152, + "range": "± 7", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_negative", + "value": 1248, + "range": "± 13", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_positive", + "value": 1011, + "range": "± 30", + "unit": "ns/iter" + }, + { + "name": "call_0", + "value": 30963, + "range": "± 136", + "unit": "ns/iter" + }, + { + "name": "call_method_0", + "value": 98386, + "range": "± 1446", + "unit": "ns/iter" + }, + { + "name": "ordered_dunder_methods", + "value": 44, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "ordered_richcmp", + "value": 44, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "decimal_via_extract", + "value": 377, + "range": "± 3", + "unit": "ns/iter" + }, + { + "name": "iter_dict", + "value": 1139133, + "range": "± 4331", + "unit": "ns/iter" + }, + { + "name": "dict_new", + "value": 3278288, + "range": "± 161508", + "unit": "ns/iter" + }, + { + "name": "dict_get_item", + "value": 2187440, + "range": "± 21902", + "unit": "ns/iter" + }, + { + "name": "extract_hashmap", + "value": 5006583, + "range": "± 50865", + "unit": "ns/iter" + }, + { + "name": "extract_btreemap", + "value": 7575844, + "range": "± 219591", + "unit": "ns/iter" + }, + { + "name": "mapping_from_dict", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "err_new_restore_and_fetch", + "value": 158, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "err_new_without_gil", + "value": 13, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_extract_success", + "value": 10, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_extract_fail", + "value": 24, + "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": 4, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_extract_fail", + "value": 254, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "extract_int_downcast_success", + "value": 4, + "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": 253, + "range": "± 2", + "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": 940, + "range": "± 11", + "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": 475, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "clean_acquire_gil", + "value": 66, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "dirty_acquire_gil", + "value": 64, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "getattr_direct", + "value": 98, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "getattr_intern", + "value": 26, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "iter_list", + "value": 747419, + "range": "± 25249", + "unit": "ns/iter" + }, + { + "name": "list_new", + "value": 949165, + "range": "± 196559", + "unit": "ns/iter" + }, + { + "name": "list_get_item", + "value": 605985, + "range": "± 4579", + "unit": "ns/iter" + }, + { + "name": "list_get_item_unchecked", + "value": 437507, + "range": "± 24899", + "unit": "ns/iter" + }, + { + "name": "sequence_from_list", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "first_time_init", + "value": 3180, + "range": "± 149", + "unit": "ns/iter" + }, + { + "name": "drop_many_objects", + "value": 1860, + "range": "± 4", + "unit": "ns/iter" + }, + { + "name": "set_new", + "value": 2921859, + "range": "± 48175", + "unit": "ns/iter" + }, + { + "name": "iter_set", + "value": 1238618, + "range": "± 54313", + "unit": "ns/iter" + }, + { + "name": "extract_hashset", + "value": 5666459, + "range": "± 66004", + "unit": "ns/iter" + }, + { + "name": "extract_btreeset", + "value": 1993475, + "range": "± 13141", + "unit": "ns/iter" + }, + { + "name": "iter_tuple", + "value": 652248, + "range": "± 16068", + "unit": "ns/iter" + }, + { + "name": "tuple_new", + "value": 956251, + "range": "± 181483", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item", + "value": 605851, + "range": "± 1469", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item_unchecked", + "value": 450192, + "range": "± 19724", + "unit": "ns/iter" + }, + { + "name": "tuple_get_borrowed_item", + "value": 574101, + "range": "± 6698", + "unit": "ns/iter" + }, + { + "name": "tuple_get_borrowed_item_unchecked", + "value": 449696, + "range": "± 21275", + "unit": "ns/iter" + }, + { + "name": "sequence_from_tuple", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "tuple_new_list", + "value": 244869, + "range": "± 47890", + "unit": "ns/iter" + }, + { + "name": "tuple_to_list", + "value": 176364, + "range": "± 43697", + "unit": "ns/iter" + }, + { + "name": "tuple_into_py", + "value": 86, + "range": "± 0", + "unit": "ns/iter" + } + ] } ], "pytest-bench": [