From 7dcc49207af1a43a04950f85b9a7a72b48374531 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Wed, 15 Nov 2023 02:03:31 +0000 Subject: [PATCH] add pyo3-bench (cargo) benchmark result for 1e28ba7fd01c67075db2d597cf4486491c5892e5 --- 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 66f5edc567d..1462c498ec6 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1700012793966, + "lastUpdate": 1700013810444, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -182270,6 +182270,414 @@ window.BENCHMARK_DATA = { "unit": "ns/iter" } ] + }, + { + "commit": { + "author": { + "email": "mail@davidhewitt.io", + "name": "David Hewitt", + "username": "davidhewitt" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "1e28ba7fd01c67075db2d597cf4486491c5892e5", + "message": "Merge pull request #3570 from suriya-ganesh/patch-1\n\ndocs: fix missing char conversion", + "timestamp": "2023-11-15T00:54:44Z", + "tree_id": "1f821fd82377391fbb19507ffb7dcae8c46f8caf", + "url": "https://github.com/PyO3/pyo3/commit/1e28ba7fd01c67075db2d597cf4486491c5892e5" + }, + "date": 1700013799363, + "tool": "cargo", + "benches": [ + { + "name": "identify_object_type", + "value": 463, + "range": "± 8", + "unit": "ns/iter" + }, + { + "name": "collect_generic_iterator", + "value": 11688701, + "range": "± 200621", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_extract_fail", + "value": 228, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_small", + "value": 56, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_negative", + "value": 173, + "range": "± 5", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_positive", + "value": 144, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_negative", + "value": 1274, + "range": "± 39", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_positive", + "value": 1031, + "range": "± 5", + "unit": "ns/iter" + }, + { + "name": "call_0", + "value": 33001, + "range": "± 608", + "unit": "ns/iter" + }, + { + "name": "call_method_0", + "value": 100307, + "range": "± 2255", + "unit": "ns/iter" + }, + { + "name": "ordered_dunder_methods", + "value": 44, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "ordered_richcmp", + "value": 46, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "decimal_via_extract", + "value": 376, + "range": "± 5", + "unit": "ns/iter" + }, + { + "name": "iter_dict", + "value": 1908047, + "range": "± 23619", + "unit": "ns/iter" + }, + { + "name": "dict_new", + "value": 4068622, + "range": "± 86642", + "unit": "ns/iter" + }, + { + "name": "dict_get_item", + "value": 2433711, + "range": "± 33522", + "unit": "ns/iter" + }, + { + "name": "extract_hashmap", + "value": 6473510, + "range": "± 140448", + "unit": "ns/iter" + }, + { + "name": "extract_btreemap", + "value": 10166110, + "range": "± 184372", + "unit": "ns/iter" + }, + { + "name": "mapping_from_dict", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "err_new_restore_and_fetch", + "value": 168, + "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": 231, + "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": 210, + "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": 985, + "range": "± 28", + "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": 595, + "range": "± 21", + "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": "± 0", + "unit": "ns/iter" + }, + { + "name": "dirty_acquire_gil", + "value": 62, + "range": "± 3", + "unit": "ns/iter" + }, + { + "name": "getattr_direct", + "value": 112, + "range": "± 5", + "unit": "ns/iter" + }, + { + "name": "getattr_intern", + "value": 28, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "iter_list", + "value": 1745598, + "range": "± 18019", + "unit": "ns/iter" + }, + { + "name": "list_new", + "value": 1097090, + "range": "± 113021", + "unit": "ns/iter" + }, + { + "name": "list_get_item", + "value": 954447, + "range": "± 26246", + "unit": "ns/iter" + }, + { + "name": "list_get_item_unchecked", + "value": 861098, + "range": "± 14223", + "unit": "ns/iter" + }, + { + "name": "sequence_from_list", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "first_time_init", + "value": 3212, + "range": "± 141", + "unit": "ns/iter" + }, + { + "name": "drop_many_objects", + "value": 2169, + "range": "± 15", + "unit": "ns/iter" + }, + { + "name": "set_new", + "value": 2173076, + "range": "± 60356", + "unit": "ns/iter" + }, + { + "name": "iter_set", + "value": 1948421, + "range": "± 14220", + "unit": "ns/iter" + }, + { + "name": "extract_hashset", + "value": 6981011, + "range": "± 333164", + "unit": "ns/iter" + }, + { + "name": "extract_btreeset", + "value": 3176185, + "range": "± 16821", + "unit": "ns/iter" + }, + { + "name": "iter_tuple", + "value": 1307060, + "range": "± 1534", + "unit": "ns/iter" + }, + { + "name": "tuple_new", + "value": 1094707, + "range": "± 85400", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item", + "value": 860892, + "range": "± 5971", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item_unchecked", + "value": 780796, + "range": "± 6633", + "unit": "ns/iter" + }, + { + "name": "sequence_from_tuple", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "tuple_new_list", + "value": 202075, + "range": "± 9551", + "unit": "ns/iter" + }, + { + "name": "tuple_to_list", + "value": 78800, + "range": "± 902", + "unit": "ns/iter" + }, + { + "name": "tuple_into_py", + "value": 94, + "range": "± 0", + "unit": "ns/iter" + } + ] } ], "pytest-bench": [