From 12cdbc11200a1d896ad7ec48d1e9ea63f65867d7 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Tue, 31 Oct 2023 00:27:40 +0000 Subject: [PATCH] add pyo3-bench (cargo) benchmark result for c8fdb806300ff82747f58bcb9ca08abd3da480b4 --- 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 808b34d653d..1de01a8f3a4 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1698592019273, + "lastUpdate": 1698712059962, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -181454,6 +181454,414 @@ window.BENCHMARK_DATA = { "unit": "ns/iter" } ] + }, + { + "commit": { + "author": { + "email": "59372212+mejrs@users.noreply.github.com", + "name": "Bruno Kolenbrander", + "username": "mejrs" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "c8fdb806300ff82747f58bcb9ca08abd3da480b4", + "message": "Merge pull request #3559 from davidhewitt/cross-compile-link\n\nadd link to user guide to cross compile error message", + "timestamp": "2023-10-30T23:19:08Z", + "tree_id": "9ccdd36c5ecbc851677ed1e9d7d701ca10b741de", + "url": "https://github.com/PyO3/pyo3/commit/c8fdb806300ff82747f58bcb9ca08abd3da480b4" + }, + "date": 1698712042422, + "tool": "cargo", + "benches": [ + { + "name": "identify_object_type", + "value": 621, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "collect_generic_iterator", + "value": 13690290, + "range": "± 156862", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_extract_fail", + "value": 311, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_small", + "value": 70, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_negative", + "value": 234, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_positive", + "value": 197, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_negative", + "value": 1810, + "range": "± 13", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_positive", + "value": 1510, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "call_0", + "value": 42953, + "range": "± 1313", + "unit": "ns/iter" + }, + { + "name": "call_method_0", + "value": 146723, + "range": "± 2916", + "unit": "ns/iter" + }, + { + "name": "ordered_dunder_methods", + "value": 53, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "ordered_richcmp", + "value": 59, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "decimal_via_extract", + "value": 479, + "range": "± 9", + "unit": "ns/iter" + }, + { + "name": "iter_dict", + "value": 2716858, + "range": "± 16534", + "unit": "ns/iter" + }, + { + "name": "dict_new", + "value": 4727828, + "range": "± 136911", + "unit": "ns/iter" + }, + { + "name": "dict_get_item", + "value": 3279000, + "range": "± 87833", + "unit": "ns/iter" + }, + { + "name": "extract_hashmap", + "value": 13048011, + "range": "± 684183", + "unit": "ns/iter" + }, + { + "name": "extract_btreemap", + "value": 14087027, + "range": "± 62589", + "unit": "ns/iter" + }, + { + "name": "mapping_from_dict", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "err_new_restore_and_fetch", + "value": 221, + "range": "± 11", + "unit": "ns/iter" + }, + { + "name": "err_new_without_gil", + "value": 15, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_extract_success", + "value": 24, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_extract_fail", + "value": 43, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_downcast_success", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_downcast_fail", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_extract_success", + "value": 7, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_extract_fail", + "value": 311, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_int_downcast_success", + "value": 7, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_downcast_fail", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_extract_success", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_extract_fail", + "value": 296, + "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": 1323, + "range": "± 34", + "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": 782, + "range": "± 33", + "unit": "ns/iter" + }, + { + "name": "f64_from_pyobject", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "clean_gilpool_new", + "value": 21, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "clean_acquire_gil", + "value": 112, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "dirty_acquire_gil", + "value": 114, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "getattr_direct", + "value": 145, + "range": "± 7", + "unit": "ns/iter" + }, + { + "name": "getattr_intern", + "value": 36, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "iter_list", + "value": 2088202, + "range": "± 6011", + "unit": "ns/iter" + }, + { + "name": "list_new", + "value": 1337286, + "range": "± 132516", + "unit": "ns/iter" + }, + { + "name": "list_get_item", + "value": 1184180, + "range": "± 30735", + "unit": "ns/iter" + }, + { + "name": "list_get_item_unchecked", + "value": 1106364, + "range": "± 32474", + "unit": "ns/iter" + }, + { + "name": "sequence_from_list", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "first_time_init", + "value": 4010, + "range": "± 359", + "unit": "ns/iter" + }, + { + "name": "drop_many_objects", + "value": 2422, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "set_new", + "value": 2099122, + "range": "± 24742", + "unit": "ns/iter" + }, + { + "name": "iter_set", + "value": 2471400, + "range": "± 12279", + "unit": "ns/iter" + }, + { + "name": "extract_hashset", + "value": 10148369, + "range": "± 113284", + "unit": "ns/iter" + }, + { + "name": "extract_btreeset", + "value": 4050543, + "range": "± 24874", + "unit": "ns/iter" + }, + { + "name": "iter_tuple", + "value": 1585155, + "range": "± 3872", + "unit": "ns/iter" + }, + { + "name": "tuple_new", + "value": 1375639, + "range": "± 113327", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item", + "value": 988891, + "range": "± 1121", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item_unchecked", + "value": 915235, + "range": "± 2154", + "unit": "ns/iter" + }, + { + "name": "sequence_from_tuple", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "tuple_new_list", + "value": 239869, + "range": "± 466", + "unit": "ns/iter" + }, + { + "name": "tuple_to_list", + "value": 165411, + "range": "± 367", + "unit": "ns/iter" + }, + { + "name": "tuple_into_py", + "value": 114, + "range": "± 0", + "unit": "ns/iter" + } + ] } ], "pytest-bench": [