From f6428d9f82b566bcfcec184b477fa66388a480fc Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Fri, 12 Apr 2024 01:38:36 +0000 Subject: [PATCH] add pyo3-bench (cargo) benchmark result for 9a6b1962d39c0acd6ddc42b186151611018cbd69 --- 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 c3a05b3bd5c..1e000461b54 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1712447326878, + "lastUpdate": 1712885915982, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -298316,6 +298316,414 @@ window.BENCHMARK_DATA = { "unit": "ns/iter" } ] + }, + { + "commit": { + "author": { + "email": "liam@lfn3.net", + "name": "Liam", + "username": "lfn3" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": false, + "id": "9a6b1962d39c0acd6ddc42b186151611018cbd69", + "message": "Minor: Fix a typo in Contributing.md (#4066)", + "timestamp": "2024-04-11T21:11:51Z", + "tree_id": "67590182d0ffb9396074880f3f66577ade244aa6", + "url": "https://github.com/PyO3/pyo3/commit/9a6b1962d39c0acd6ddc42b186151611018cbd69" + }, + "date": 1712885894929, + "tool": "cargo", + "benches": [ + { + "name": "identify_object_type", + "value": 451, + "range": "± 10", + "unit": "ns/iter" + }, + { + "name": "collect_generic_iterator", + "value": 9652591, + "range": "± 54964", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_extract_fail", + "value": 255, + "range": "± 4", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_small", + "value": 56, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_negative", + "value": 175, + "range": "± 4", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_positive", + "value": 160, + "range": "± 5", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_negative", + "value": 1244, + "range": "± 49", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_positive", + "value": 1025, + "range": "± 7", + "unit": "ns/iter" + }, + { + "name": "call_0", + "value": 30984, + "range": "± 758", + "unit": "ns/iter" + }, + { + "name": "call_method_0", + "value": 118354, + "range": "± 1095", + "unit": "ns/iter" + }, + { + "name": "ordered_dunder_methods", + "value": 50, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "ordered_richcmp", + "value": 50, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "decimal_via_extract", + "value": 362, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "iter_dict", + "value": 1142972, + "range": "± 16088", + "unit": "ns/iter" + }, + { + "name": "dict_new", + "value": 3034366, + "range": "± 23198", + "unit": "ns/iter" + }, + { + "name": "dict_get_item", + "value": 2185973, + "range": "± 34277", + "unit": "ns/iter" + }, + { + "name": "extract_hashmap", + "value": 4985029, + "range": "± 23804", + "unit": "ns/iter" + }, + { + "name": "extract_btreemap", + "value": 7427664, + "range": "± 25104", + "unit": "ns/iter" + }, + { + "name": "mapping_from_dict", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "err_new_restore_and_fetch", + "value": 148, + "range": "± 1", + "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": 19, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_downcast_success", + "value": 10, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_downcast_fail", + "value": 1, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_extract_success", + "value": 5, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_extract_fail", + "value": 249, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_downcast_success", + "value": 5, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_downcast_fail", + "value": 1, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_extract_success", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_extract_fail", + "value": 233, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_success", + "value": 1, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_fail", + "value": 4, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "enum_from_pyobject", + "value": 876, + "range": "± 28", + "unit": "ns/iter" + }, + { + "name": "list_via_downcast", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "list_via_extract", + "value": 6, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "not_a_list_via_downcast", + "value": 1, + "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": 492, + "range": "± 14", + "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": 103, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "getattr_intern", + "value": 30, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "iter_list", + "value": 728892, + "range": "± 46732", + "unit": "ns/iter" + }, + { + "name": "list_new", + "value": 947379, + "range": "± 198949", + "unit": "ns/iter" + }, + { + "name": "list_get_item", + "value": 589838, + "range": "± 6914", + "unit": "ns/iter" + }, + { + "name": "list_get_item_unchecked", + "value": 451878, + "range": "± 27065", + "unit": "ns/iter" + }, + { + "name": "sequence_from_list", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "first_time_init", + "value": 3141, + "range": "± 221", + "unit": "ns/iter" + }, + { + "name": "drop_many_objects", + "value": 2169, + "range": "± 17", + "unit": "ns/iter" + }, + { + "name": "set_new", + "value": 2908966, + "range": "± 80177", + "unit": "ns/iter" + }, + { + "name": "iter_set", + "value": 1224184, + "range": "± 49465", + "unit": "ns/iter" + }, + { + "name": "extract_hashset", + "value": 5551612, + "range": "± 23715", + "unit": "ns/iter" + }, + { + "name": "extract_btreeset", + "value": 1918186, + "range": "± 6887", + "unit": "ns/iter" + }, + { + "name": "iter_tuple", + "value": 683133, + "range": "± 1534", + "unit": "ns/iter" + }, + { + "name": "tuple_new", + "value": 1010939, + "range": "± 187180", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item", + "value": 637735, + "range": "± 6760", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item_unchecked", + "value": 451414, + "range": "± 4148", + "unit": "ns/iter" + }, + { + "name": "tuple_get_borrowed_item", + "value": 636812, + "range": "± 1711", + "unit": "ns/iter" + }, + { + "name": "tuple_get_borrowed_item_unchecked", + "value": 450750, + "range": "± 4361", + "unit": "ns/iter" + }, + { + "name": "sequence_from_tuple", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "tuple_new_list", + "value": 263408, + "range": "± 42085", + "unit": "ns/iter" + }, + { + "name": "tuple_to_list", + "value": 170550, + "range": "± 41084", + "unit": "ns/iter" + }, + { + "name": "tuple_into_py", + "value": 88, + "range": "± 0", + "unit": "ns/iter" + } + ] } ], "pytest-bench": [