diff --git a/dev/bench/data.js b/dev/bench/data.js index dda7e6d105a..a0caebdbcad 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1700908346599, + "lastUpdate": 1700909427040, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -187166,6 +187166,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": "1203921d5cf9125a253fc4191f15270b39dfbe63", + "message": "Merge pull request #3456 from aldanor/feature/either\n\nAdd conversion support for `either::Either`", + "timestamp": "2023-11-25T09:37:49Z", + "tree_id": "3a00e867a74ba3028de45fb630029d93db0fee4a", + "url": "https://github.com/PyO3/pyo3/commit/1203921d5cf9125a253fc4191f15270b39dfbe63" + }, + "date": 1700909415674, + "tool": "cargo", + "benches": [ + { + "name": "identify_object_type", + "value": 452, + "range": "± 14", + "unit": "ns/iter" + }, + { + "name": "collect_generic_iterator", + "value": 11378308, + "range": "± 46633", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_extract_fail", + "value": 244, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_small", + "value": 51, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_negative", + "value": 167, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_positive", + "value": 145, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_negative", + "value": 1269, + "range": "± 9", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_positive", + "value": 1054, + "range": "± 36", + "unit": "ns/iter" + }, + { + "name": "call_0", + "value": 32940, + "range": "± 650", + "unit": "ns/iter" + }, + { + "name": "call_method_0", + "value": 103155, + "range": "± 3173", + "unit": "ns/iter" + }, + { + "name": "ordered_dunder_methods", + "value": 44, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "ordered_richcmp", + "value": 45, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "decimal_via_extract", + "value": 382, + "range": "± 12", + "unit": "ns/iter" + }, + { + "name": "iter_dict", + "value": 1915468, + "range": "± 63191", + "unit": "ns/iter" + }, + { + "name": "dict_new", + "value": 4070293, + "range": "± 89926", + "unit": "ns/iter" + }, + { + "name": "dict_get_item", + "value": 2420790, + "range": "± 38513", + "unit": "ns/iter" + }, + { + "name": "extract_hashmap", + "value": 6473893, + "range": "± 301188", + "unit": "ns/iter" + }, + { + "name": "extract_btreemap", + "value": 9629520, + "range": "± 131824", + "unit": "ns/iter" + }, + { + "name": "mapping_from_dict", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "err_new_restore_and_fetch", + "value": 161, + "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": 3, + "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": 234, + "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": 229, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_success", + "value": 4, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_fail", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "enum_from_pyobject", + "value": 982, + "range": "± 27", + "unit": "ns/iter" + }, + { + "name": "list_via_downcast", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "list_via_extract", + "value": 1, + "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": 30, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "not_a_list_via_extract_enum", + "value": 588, + "range": "± 19", + "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": 63, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "dirty_acquire_gil", + "value": 64, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "getattr_direct", + "value": 115, + "range": "± 5", + "unit": "ns/iter" + }, + { + "name": "getattr_intern", + "value": 28, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "iter_list", + "value": 1770779, + "range": "± 13955", + "unit": "ns/iter" + }, + { + "name": "list_new", + "value": 1100724, + "range": "± 101284", + "unit": "ns/iter" + }, + { + "name": "list_get_item", + "value": 973443, + "range": "± 27528", + "unit": "ns/iter" + }, + { + "name": "list_get_item_unchecked", + "value": 867566, + "range": "± 32557", + "unit": "ns/iter" + }, + { + "name": "sequence_from_list", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "first_time_init", + "value": 3247, + "range": "± 181", + "unit": "ns/iter" + }, + { + "name": "drop_many_objects", + "value": 1859, + "range": "± 30", + "unit": "ns/iter" + }, + { + "name": "set_new", + "value": 1896818, + "range": "± 65230", + "unit": "ns/iter" + }, + { + "name": "iter_set", + "value": 1963082, + "range": "± 17849", + "unit": "ns/iter" + }, + { + "name": "extract_hashset", + "value": 7158388, + "range": "± 49122", + "unit": "ns/iter" + }, + { + "name": "extract_btreeset", + "value": 3199088, + "range": "± 16985", + "unit": "ns/iter" + }, + { + "name": "iter_tuple", + "value": 1309534, + "range": "± 2408", + "unit": "ns/iter" + }, + { + "name": "tuple_new", + "value": 1095629, + "range": "± 83668", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item", + "value": 860945, + "range": "± 6042", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item_unchecked", + "value": 781131, + "range": "± 5936", + "unit": "ns/iter" + }, + { + "name": "sequence_from_tuple", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "tuple_new_list", + "value": 171875, + "range": "± 8619", + "unit": "ns/iter" + }, + { + "name": "tuple_to_list", + "value": 78931, + "range": "± 1408", + "unit": "ns/iter" + }, + { + "name": "tuple_into_py", + "value": 95, + "range": "± 1", + "unit": "ns/iter" + } + ] } ], "pytest-bench": [