diff --git a/dev/bench/data.js b/dev/bench/data.js index 162e8cdce39..74e3368c4fd 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1703113029870, + "lastUpdate": 1703155282121, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -204710,6 +204710,414 @@ window.BENCHMARK_DATA = { "unit": "ns/iter" } ] + }, + { + "commit": { + "author": { + "email": "adamreichold@users.noreply.github.com", + "name": "Adam Reichold", + "username": "adamreichold" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "7f626b26d460125529e526936de046bdeb9249b6", + "message": "Merge pull request #3678 from davidhewitt/mapping2\n\nimplement `PyMappingMethods`", + "timestamp": "2023-12-21T09:47:35Z", + "tree_id": "2ea9201efb304468873c3f20c94d4876699b2ea8", + "url": "https://github.com/PyO3/pyo3/commit/7f626b26d460125529e526936de046bdeb9249b6" + }, + "date": 1703155268658, + "tool": "cargo", + "benches": [ + { + "name": "identify_object_type", + "value": 481, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "collect_generic_iterator", + "value": 11042431, + "range": "± 125334", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_extract_fail", + "value": 241, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_small", + "value": 57, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_negative", + "value": 195, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_positive", + "value": 149, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_negative", + "value": 1300, + "range": "± 13", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_positive", + "value": 1043, + "range": "± 11", + "unit": "ns/iter" + }, + { + "name": "call_0", + "value": 32195, + "range": "± 643", + "unit": "ns/iter" + }, + { + "name": "call_method_0", + "value": 106451, + "range": "± 12558", + "unit": "ns/iter" + }, + { + "name": "ordered_dunder_methods", + "value": 43, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "ordered_richcmp", + "value": 44, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "decimal_via_extract", + "value": 374, + "range": "± 4", + "unit": "ns/iter" + }, + { + "name": "iter_dict", + "value": 2354527, + "range": "± 13739", + "unit": "ns/iter" + }, + { + "name": "dict_new", + "value": 4079293, + "range": "± 90774", + "unit": "ns/iter" + }, + { + "name": "dict_get_item", + "value": 2600830, + "range": "± 29907", + "unit": "ns/iter" + }, + { + "name": "extract_hashmap", + "value": 6806037, + "range": "± 65099", + "unit": "ns/iter" + }, + { + "name": "extract_btreemap", + "value": 10200717, + "range": "± 68066", + "unit": "ns/iter" + }, + { + "name": "mapping_from_dict", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "err_new_restore_and_fetch", + "value": 169, + "range": "± 5", + "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": 33, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_downcast_success", + "value": 10, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_downcast_fail", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_extract_success", + "value": 7, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_extract_fail", + "value": 243, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_int_downcast_success", + "value": 8, + "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": 233, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_success", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_fail", + "value": 4, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "enum_from_pyobject", + "value": 1002, + "range": "± 35", + "unit": "ns/iter" + }, + { + "name": "list_via_downcast", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "list_via_extract", + "value": 0, + "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": 21, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "not_a_list_via_extract_enum", + "value": 568, + "range": "± 17", + "unit": "ns/iter" + }, + { + "name": "f64_from_pyobject", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "clean_gilpool_new", + "value": 7, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "clean_acquire_gil", + "value": 61, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "dirty_acquire_gil", + "value": 62, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "getattr_direct", + "value": 117, + "range": "± 3", + "unit": "ns/iter" + }, + { + "name": "getattr_intern", + "value": 30, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "iter_list", + "value": 1765268, + "range": "± 45232", + "unit": "ns/iter" + }, + { + "name": "list_new", + "value": 1126120, + "range": "± 105468", + "unit": "ns/iter" + }, + { + "name": "list_get_item", + "value": 967981, + "range": "± 5970", + "unit": "ns/iter" + }, + { + "name": "list_get_item_unchecked", + "value": 858423, + "range": "± 4975", + "unit": "ns/iter" + }, + { + "name": "sequence_from_list", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "first_time_init", + "value": 3184, + "range": "± 407", + "unit": "ns/iter" + }, + { + "name": "drop_many_objects", + "value": 2169, + "range": "± 220", + "unit": "ns/iter" + }, + { + "name": "set_new", + "value": 1702651, + "range": "± 38610", + "unit": "ns/iter" + }, + { + "name": "iter_set", + "value": 1995201, + "range": "± 17290", + "unit": "ns/iter" + }, + { + "name": "extract_hashset", + "value": 7162233, + "range": "± 288291", + "unit": "ns/iter" + }, + { + "name": "extract_btreeset", + "value": 3144308, + "range": "± 24335", + "unit": "ns/iter" + }, + { + "name": "iter_tuple", + "value": 1307444, + "range": "± 2527", + "unit": "ns/iter" + }, + { + "name": "tuple_new", + "value": 1129691, + "range": "± 91930", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item", + "value": 856975, + "range": "± 4044", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item_unchecked", + "value": 779540, + "range": "± 4282", + "unit": "ns/iter" + }, + { + "name": "sequence_from_tuple", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "tuple_new_list", + "value": 170399, + "range": "± 12111", + "unit": "ns/iter" + }, + { + "name": "tuple_to_list", + "value": 80554, + "range": "± 1760", + "unit": "ns/iter" + }, + { + "name": "tuple_into_py", + "value": 95, + "range": "± 1", + "unit": "ns/iter" + } + ] } ], "pytest-bench": [