diff --git a/dev/bench/data.js b/dev/bench/data.js index 1ae1ac321cd..50d70215b1e 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1711546546507, + "lastUpdate": 1711558867408, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -289748,6 +289748,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": "dd1710256d00ac2538f2fb8068fe63254b9f469c", + "message": "use `extract_argument` for `#[setter]` extraction (#3998)\n\n* use `extract_argument` for `#[setter]` extraction\n\n* add newsfragment", + "timestamp": "2024-03-27T15:41:04Z", + "tree_id": "5a8e68a9dc4be6a319c9d2d5bdc236e18cb504d7", + "url": "https://github.com/PyO3/pyo3/commit/dd1710256d00ac2538f2fb8068fe63254b9f469c" + }, + "date": 1711558847947, + "tool": "cargo", + "benches": [ + { + "name": "identify_object_type", + "value": 449, + "range": "± 3", + "unit": "ns/iter" + }, + { + "name": "collect_generic_iterator", + "value": 10186627, + "range": "± 177868", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_extract_fail", + "value": 242, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_small", + "value": 57, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_negative", + "value": 175, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_positive", + "value": 159, + "range": "± 5", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_negative", + "value": 1259, + "range": "± 31", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_positive", + "value": 1029, + "range": "± 7", + "unit": "ns/iter" + }, + { + "name": "call_0", + "value": 30977, + "range": "± 74", + "unit": "ns/iter" + }, + { + "name": "call_method_0", + "value": 112957, + "range": "± 2035", + "unit": "ns/iter" + }, + { + "name": "ordered_dunder_methods", + "value": 43, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "ordered_richcmp", + "value": 41, + "range": "± 4", + "unit": "ns/iter" + }, + { + "name": "decimal_via_extract", + "value": 363, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "iter_dict", + "value": 1151259, + "range": "± 4052", + "unit": "ns/iter" + }, + { + "name": "dict_new", + "value": 3171759, + "range": "± 32120", + "unit": "ns/iter" + }, + { + "name": "dict_get_item", + "value": 2214607, + "range": "± 29765", + "unit": "ns/iter" + }, + { + "name": "extract_hashmap", + "value": 4892300, + "range": "± 31904", + "unit": "ns/iter" + }, + { + "name": "extract_btreemap", + "value": 7715457, + "range": "± 33864", + "unit": "ns/iter" + }, + { + "name": "mapping_from_dict", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "err_new_restore_and_fetch", + "value": 146, + "range": "± 37", + "unit": "ns/iter" + }, + { + "name": "err_new_without_gil", + "value": 13, + "range": "± 2", + "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": 4, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_extract_fail", + "value": 248, + "range": "± 0", + "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": 244, + "range": "± 1", + "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": 878, + "range": "± 3", + "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": 476, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "clean_acquire_gil", + "value": 65, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "dirty_acquire_gil", + "value": 64, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "getattr_direct", + "value": 99, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "getattr_intern", + "value": 26, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "iter_list", + "value": 778018, + "range": "± 14988", + "unit": "ns/iter" + }, + { + "name": "list_new", + "value": 902288, + "range": "± 188158", + "unit": "ns/iter" + }, + { + "name": "list_get_item", + "value": 653254, + "range": "± 25440", + "unit": "ns/iter" + }, + { + "name": "list_get_item_unchecked", + "value": 466978, + "range": "± 992", + "unit": "ns/iter" + }, + { + "name": "sequence_from_list", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "first_time_init", + "value": 3202, + "range": "± 133", + "unit": "ns/iter" + }, + { + "name": "drop_many_objects", + "value": 3096, + "range": "± 187", + "unit": "ns/iter" + }, + { + "name": "set_new", + "value": 2858025, + "range": "± 85206", + "unit": "ns/iter" + }, + { + "name": "iter_set", + "value": 1252804, + "range": "± 34707", + "unit": "ns/iter" + }, + { + "name": "extract_hashset", + "value": 5578353, + "range": "± 122804", + "unit": "ns/iter" + }, + { + "name": "extract_btreeset", + "value": 1931304, + "range": "± 6300", + "unit": "ns/iter" + }, + { + "name": "iter_tuple", + "value": 654509, + "range": "± 4787", + "unit": "ns/iter" + }, + { + "name": "tuple_new", + "value": 1004287, + "range": "± 186766", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item", + "value": 576213, + "range": "± 7196", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item_unchecked", + "value": 421078, + "range": "± 21094", + "unit": "ns/iter" + }, + { + "name": "tuple_get_borrowed_item", + "value": 563573, + "range": "± 8057", + "unit": "ns/iter" + }, + { + "name": "tuple_get_borrowed_item_unchecked", + "value": 419985, + "range": "± 519", + "unit": "ns/iter" + }, + { + "name": "sequence_from_tuple", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "tuple_new_list", + "value": 267554, + "range": "± 43886", + "unit": "ns/iter" + }, + { + "name": "tuple_to_list", + "value": 179835, + "range": "± 40267", + "unit": "ns/iter" + }, + { + "name": "tuple_into_py", + "value": 92, + "range": "± 1", + "unit": "ns/iter" + } + ] } ], "pytest-bench": [