diff --git a/dev/bench/data.js b/dev/bench/data.js index 1f65308b8e1..9a77ff4b0b0 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1700469164246, + "lastUpdate": 1700685719359, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -184310,6 +184310,414 @@ window.BENCHMARK_DATA = { "unit": "ns/iter" } ] + }, + { + "commit": { + "author": { + "email": "mail@davidhewitt.dev", + "name": "David Hewitt", + "username": "davidhewitt" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": false, + "id": "3f0dfa969880c1d276e2eac5f69364b4d1fed3b2", + "message": "Merge pull request #3587 from wyfo/classmethod_into\n\nfeat: allow classmethods to receive `Py`", + "timestamp": "2023-11-22T19:34:19Z", + "tree_id": "077b85e4e50090ea71962055b17d08053a8cc07d", + "url": "https://github.com/PyO3/pyo3/commit/3f0dfa969880c1d276e2eac5f69364b4d1fed3b2" + }, + "date": 1700685707042, + "tool": "cargo", + "benches": [ + { + "name": "identify_object_type", + "value": 441, + "range": "± 5", + "unit": "ns/iter" + }, + { + "name": "collect_generic_iterator", + "value": 11125196, + "range": "± 183551", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_extract_fail", + "value": 241, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_small", + "value": 59, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_negative", + "value": 174, + "range": "± 8", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_positive", + "value": 146, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_negative", + "value": 1318, + "range": "± 18", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_positive", + "value": 1069, + "range": "± 5", + "unit": "ns/iter" + }, + { + "name": "call_0", + "value": 32717, + "range": "± 549", + "unit": "ns/iter" + }, + { + "name": "call_method_0", + "value": 99285, + "range": "± 3986", + "unit": "ns/iter" + }, + { + "name": "ordered_dunder_methods", + "value": 43, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "ordered_richcmp", + "value": 45, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "decimal_via_extract", + "value": 390, + "range": "± 8", + "unit": "ns/iter" + }, + { + "name": "iter_dict", + "value": 2056326, + "range": "± 43729", + "unit": "ns/iter" + }, + { + "name": "dict_new", + "value": 4081589, + "range": "± 88646", + "unit": "ns/iter" + }, + { + "name": "dict_get_item", + "value": 2605015, + "range": "± 37399", + "unit": "ns/iter" + }, + { + "name": "extract_hashmap", + "value": 6386234, + "range": "± 91424", + "unit": "ns/iter" + }, + { + "name": "extract_btreemap", + "value": 9589566, + "range": "± 83224", + "unit": "ns/iter" + }, + { + "name": "mapping_from_dict", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "err_new_restore_and_fetch", + "value": 155, + "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": 36, + "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": 233, + "range": "± 2", + "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": 223, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_success", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_fail", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "enum_from_pyobject", + "value": 977, + "range": "± 38", + "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": 570, + "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": 63, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "getattr_direct", + "value": 104, + "range": "± 3", + "unit": "ns/iter" + }, + { + "name": "getattr_intern", + "value": 28, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "iter_list", + "value": 1743354, + "range": "± 21532", + "unit": "ns/iter" + }, + { + "name": "list_new", + "value": 1111812, + "range": "± 108493", + "unit": "ns/iter" + }, + { + "name": "list_get_item", + "value": 956821, + "range": "± 9407", + "unit": "ns/iter" + }, + { + "name": "list_get_item_unchecked", + "value": 859884, + "range": "± 11770", + "unit": "ns/iter" + }, + { + "name": "sequence_from_list", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "first_time_init", + "value": 3174, + "range": "± 135", + "unit": "ns/iter" + }, + { + "name": "drop_many_objects", + "value": 1859, + "range": "± 9", + "unit": "ns/iter" + }, + { + "name": "set_new", + "value": 1654588, + "range": "± 34976", + "unit": "ns/iter" + }, + { + "name": "iter_set", + "value": 1998376, + "range": "± 12981", + "unit": "ns/iter" + }, + { + "name": "extract_hashset", + "value": 7126745, + "range": "± 41761", + "unit": "ns/iter" + }, + { + "name": "extract_btreeset", + "value": 3256943, + "range": "± 26976", + "unit": "ns/iter" + }, + { + "name": "iter_tuple", + "value": 1366016, + "range": "± 20155", + "unit": "ns/iter" + }, + { + "name": "tuple_new", + "value": 1216671, + "range": "± 103549", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item", + "value": 859125, + "range": "± 1874", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item_unchecked", + "value": 781243, + "range": "± 5470", + "unit": "ns/iter" + }, + { + "name": "sequence_from_tuple", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "tuple_new_list", + "value": 170460, + "range": "± 9183", + "unit": "ns/iter" + }, + { + "name": "tuple_to_list", + "value": 78977, + "range": "± 431", + "unit": "ns/iter" + }, + { + "name": "tuple_into_py", + "value": 94, + "range": "± 0", + "unit": "ns/iter" + } + ] } ], "pytest-bench": [