From 37f630e9d354083275ec99f4bf14a50f63ee8b57 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Sun, 29 Oct 2023 14:58:23 +0000 Subject: [PATCH] add pyo3-bench (cargo) benchmark result for bb808dad5c62193dff302985f9f5c7ad39cbd59b --- 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 1e56bd7a45b..69c851c5c19 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1698421760855, + "lastUpdate": 1698591502435, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -180638,6 +180638,414 @@ window.BENCHMARK_DATA = { "unit": "ns/iter" } ] + }, + { + "commit": { + "author": { + "email": "adamreichold@users.noreply.github.com", + "name": "Adam Reichold", + "username": "adamreichold" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": false, + "id": "bb808dad5c62193dff302985f9f5c7ad39cbd59b", + "message": "Merge pull request #3556 from wyfo/giloncecell_take\n\nfeat: add `take` and `into_inner` methods to `GILOnceCell`", + "timestamp": "2023-10-29T13:15:45Z", + "tree_id": "d7d8d60284c67e7ef71e0b03d0180c764fe8e67e", + "url": "https://github.com/PyO3/pyo3/commit/bb808dad5c62193dff302985f9f5c7ad39cbd59b" + }, + "date": 1698591486444, + "tool": "cargo", + "benches": [ + { + "name": "identify_object_type", + "value": 646, + "range": "± 3", + "unit": "ns/iter" + }, + { + "name": "collect_generic_iterator", + "value": 13958341, + "range": "± 99520", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_extract_fail", + "value": 345, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_small", + "value": 75, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_negative", + "value": 247, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_positive", + "value": 209, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_negative", + "value": 1838, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_positive", + "value": 1621, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "call_0", + "value": 48430, + "range": "± 901", + "unit": "ns/iter" + }, + { + "name": "call_method_0", + "value": 159402, + "range": "± 4291", + "unit": "ns/iter" + }, + { + "name": "ordered_dunder_methods", + "value": 64, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "ordered_richcmp", + "value": 67, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "decimal_via_extract", + "value": 501, + "range": "± 8", + "unit": "ns/iter" + }, + { + "name": "iter_dict", + "value": 2786820, + "range": "± 26617", + "unit": "ns/iter" + }, + { + "name": "dict_new", + "value": 5417760, + "range": "± 121057", + "unit": "ns/iter" + }, + { + "name": "dict_get_item", + "value": 3422861, + "range": "± 30178", + "unit": "ns/iter" + }, + { + "name": "extract_hashmap", + "value": 9554054, + "range": "± 643647", + "unit": "ns/iter" + }, + { + "name": "extract_btreemap", + "value": 13916972, + "range": "± 167205", + "unit": "ns/iter" + }, + { + "name": "mapping_from_dict", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "err_new_restore_and_fetch", + "value": 244, + "range": "± 12", + "unit": "ns/iter" + }, + { + "name": "err_new_without_gil", + "value": 17, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_extract_success", + "value": 9, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_extract_fail", + "value": 36, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_downcast_success", + "value": 4, + "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": 344, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_int_downcast_success", + "value": 8, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_downcast_fail", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_extract_success", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_extract_fail", + "value": 329, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_success", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_fail", + "value": 5, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "enum_from_pyobject", + "value": 1349, + "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": 32, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "not_a_list_via_extract_enum", + "value": 831, + "range": "± 44", + "unit": "ns/iter" + }, + { + "name": "f64_from_pyobject", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "clean_gilpool_new", + "value": 19, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "clean_acquire_gil", + "value": 115, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "dirty_acquire_gil", + "value": 117, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "getattr_direct", + "value": 171, + "range": "± 10", + "unit": "ns/iter" + }, + { + "name": "getattr_intern", + "value": 40, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "iter_list", + "value": 1977805, + "range": "± 41849", + "unit": "ns/iter" + }, + { + "name": "list_new", + "value": 1499346, + "range": "± 148664", + "unit": "ns/iter" + }, + { + "name": "list_get_item", + "value": 1132197, + "range": "± 36086", + "unit": "ns/iter" + }, + { + "name": "list_get_item_unchecked", + "value": 1008178, + "range": "± 42930", + "unit": "ns/iter" + }, + { + "name": "sequence_from_list", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "first_time_init", + "value": 4194, + "range": "± 425", + "unit": "ns/iter" + }, + { + "name": "drop_many_objects", + "value": 2355, + "range": "± 10", + "unit": "ns/iter" + }, + { + "name": "set_new", + "value": 2224792, + "range": "± 25606", + "unit": "ns/iter" + }, + { + "name": "iter_set", + "value": 2516355, + "range": "± 13079", + "unit": "ns/iter" + }, + { + "name": "extract_hashset", + "value": 9211820, + "range": "± 93144", + "unit": "ns/iter" + }, + { + "name": "extract_btreeset", + "value": 4263142, + "range": "± 26524", + "unit": "ns/iter" + }, + { + "name": "iter_tuple", + "value": 1386348, + "range": "± 2597", + "unit": "ns/iter" + }, + { + "name": "tuple_new", + "value": 1548031, + "range": "± 140204", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item", + "value": 901461, + "range": "± 1221", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item_unchecked", + "value": 768870, + "range": "± 2182", + "unit": "ns/iter" + }, + { + "name": "sequence_from_tuple", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "tuple_new_list", + "value": 226514, + "range": "± 503", + "unit": "ns/iter" + }, + { + "name": "tuple_to_list", + "value": 163903, + "range": "± 685", + "unit": "ns/iter" + }, + { + "name": "tuple_into_py", + "value": 122, + "range": "± 0", + "unit": "ns/iter" + } + ] } ], "pytest-bench": [