From d9341fa229841e40ed12bc4f0db3c05a3f6e230f Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Wed, 25 Oct 2023 09:21:34 +0000 Subject: [PATCH] add pyo3-bench (cargo) benchmark result for de6162f5330304f5fd9386a4cb6673894bbbf7a4 --- 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 ba1b7e31aa3..b9cd57b681a 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1698099774330, + "lastUpdate": 1698225693894, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -177374,6 +177374,414 @@ window.BENCHMARK_DATA = { "unit": "ns/iter" } ] + }, + { + "commit": { + "author": { + "email": "1939362+davidhewitt@users.noreply.github.com", + "name": "David Hewitt", + "username": "davidhewitt" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "de6162f5330304f5fd9386a4cb6673894bbbf7a4", + "message": "Merge pull request #3546 from davidhewitt/older-hashbrown\n\nci: use older hashbrown and indexmap for MSRV", + "timestamp": "2023-10-25T08:01:35Z", + "tree_id": "181b0983b72f2754941b16aa776b19d0f009a45e", + "url": "https://github.com/PyO3/pyo3/commit/de6162f5330304f5fd9386a4cb6673894bbbf7a4" + }, + "date": 1698225673137, + "tool": "cargo", + "benches": [ + { + "name": "identify_object_type", + "value": 773, + "range": "± 5", + "unit": "ns/iter" + }, + { + "name": "collect_generic_iterator", + "value": 16531661, + "range": "± 144686", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_extract_fail", + "value": 417, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_small", + "value": 89, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_negative", + "value": 303, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_positive", + "value": 251, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_negative", + "value": 2219, + "range": "± 6", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_positive", + "value": 1956, + "range": "± 13", + "unit": "ns/iter" + }, + { + "name": "call_0", + "value": 58228, + "range": "± 1080", + "unit": "ns/iter" + }, + { + "name": "call_method_0", + "value": 189768, + "range": "± 11803", + "unit": "ns/iter" + }, + { + "name": "ordered_dunder_methods", + "value": 77, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "ordered_richcmp", + "value": 80, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "decimal_via_extract", + "value": 596, + "range": "± 15", + "unit": "ns/iter" + }, + { + "name": "iter_dict", + "value": 3317403, + "range": "± 24916", + "unit": "ns/iter" + }, + { + "name": "dict_new", + "value": 6136319, + "range": "± 152744", + "unit": "ns/iter" + }, + { + "name": "dict_get_item", + "value": 4092423, + "range": "± 52874", + "unit": "ns/iter" + }, + { + "name": "extract_hashmap", + "value": 9652937, + "range": "± 602337", + "unit": "ns/iter" + }, + { + "name": "extract_btreemap", + "value": 15997941, + "range": "± 231877", + "unit": "ns/iter" + }, + { + "name": "mapping_from_dict", + "value": 4, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "err_new_restore_and_fetch", + "value": 285, + "range": "± 11", + "unit": "ns/iter" + }, + { + "name": "err_new_without_gil", + "value": 20, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_extract_success", + "value": 11, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_extract_fail", + "value": 42, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_downcast_success", + "value": 4, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_downcast_fail", + "value": 4, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_extract_success", + "value": 9, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_extract_fail", + "value": 412, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_int_downcast_success", + "value": 9, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_downcast_fail", + "value": 4, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_extract_success", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_extract_fail", + "value": 396, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_success", + "value": 4, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_fail", + "value": 6, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "enum_from_pyobject", + "value": 1582, + "range": "± 43", + "unit": "ns/iter" + }, + { + "name": "list_via_downcast", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "list_via_extract", + "value": 2, + "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": 39, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "not_a_list_via_extract_enum", + "value": 930, + "range": "± 57", + "unit": "ns/iter" + }, + { + "name": "f64_from_pyobject", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "clean_gilpool_new", + "value": 23, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "clean_acquire_gil", + "value": 134, + "range": "± 3", + "unit": "ns/iter" + }, + { + "name": "dirty_acquire_gil", + "value": 138, + "range": "± 3", + "unit": "ns/iter" + }, + { + "name": "getattr_direct", + "value": 189, + "range": "± 13", + "unit": "ns/iter" + }, + { + "name": "getattr_intern", + "value": 49, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "iter_list", + "value": 2357285, + "range": "± 37123", + "unit": "ns/iter" + }, + { + "name": "list_new", + "value": 1759408, + "range": "± 178617", + "unit": "ns/iter" + }, + { + "name": "list_get_item", + "value": 1369978, + "range": "± 35692", + "unit": "ns/iter" + }, + { + "name": "list_get_item_unchecked", + "value": 1211791, + "range": "± 31215", + "unit": "ns/iter" + }, + { + "name": "sequence_from_list", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "first_time_init", + "value": 4797, + "range": "± 661", + "unit": "ns/iter" + }, + { + "name": "drop_many_objects", + "value": 2827, + "range": "± 3", + "unit": "ns/iter" + }, + { + "name": "set_new", + "value": 2664357, + "range": "± 35982", + "unit": "ns/iter" + }, + { + "name": "iter_set", + "value": 2965053, + "range": "± 18720", + "unit": "ns/iter" + }, + { + "name": "extract_hashset", + "value": 10631120, + "range": "± 175170", + "unit": "ns/iter" + }, + { + "name": "extract_btreeset", + "value": 5044929, + "range": "± 45020", + "unit": "ns/iter" + }, + { + "name": "iter_tuple", + "value": 1667225, + "range": "± 10598", + "unit": "ns/iter" + }, + { + "name": "tuple_new", + "value": 1952786, + "range": "± 23588", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item", + "value": 1085409, + "range": "± 5443", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item_unchecked", + "value": 916787, + "range": "± 5859", + "unit": "ns/iter" + }, + { + "name": "sequence_from_tuple", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "tuple_new_list", + "value": 267741, + "range": "± 1018", + "unit": "ns/iter" + }, + { + "name": "tuple_to_list", + "value": 190769, + "range": "± 794", + "unit": "ns/iter" + }, + { + "name": "tuple_into_py", + "value": 146, + "range": "± 1", + "unit": "ns/iter" + } + ] } ], "pytest-bench": [