From bf7823072e6f1c025db2329cc85aacfce9b6f688 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Sun, 26 May 2024 01:11:59 +0000 Subject: [PATCH] add pyo3-bench (cargo) benchmark result for 388d1760b5d6545c94925dafe0d640200b9fded2 --- 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 ab1bceb034e..761ea8ebe6f 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1716685194663, + "lastUpdate": 1716685918121, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -324020,6 +324020,414 @@ window.BENCHMARK_DATA = { "unit": "ns/iter" } ] + }, + { + "commit": { + "author": { + "email": "mail@davidhewitt.dev", + "name": "David Hewitt", + "username": "davidhewitt" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "388d1760b5d6545c94925dafe0d640200b9fded2", + "message": "ci: start testing on 3.13-dev (#4184)\n\n* ci: start testing on 3.13-dev\n\n* ffi fixes for 3.13 beta 1\n\n* support 3.13\n\n* move gevent to be binary-only\n\n* adjust for div_ceil\n\n* fixup pytests", + "timestamp": "2024-05-25T22:41:26Z", + "tree_id": "32015c0ae78e71f9ec599ae139667068ec7c19b3", + "url": "https://github.com/PyO3/pyo3/commit/388d1760b5d6545c94925dafe0d640200b9fded2" + }, + "date": 1716685895661, + "tool": "cargo", + "benches": [ + { + "name": "identify_object_type", + "value": 473, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "collect_generic_iterator", + "value": 10105274, + "range": "± 213501", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_extract_fail", + "value": 255, + "range": "± 7", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_small", + "value": 54, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_negative", + "value": 176, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_big_positive", + "value": 138, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_negative", + "value": 1256, + "range": "± 17", + "unit": "ns/iter" + }, + { + "name": "extract_bigint_huge_positive", + "value": 990, + "range": "± 7", + "unit": "ns/iter" + }, + { + "name": "call_0", + "value": 30386, + "range": "± 139", + "unit": "ns/iter" + }, + { + "name": "call_method_0", + "value": 96689, + "range": "± 1573", + "unit": "ns/iter" + }, + { + "name": "ordered_dunder_methods", + "value": 36, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "ordered_richcmp", + "value": 35, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "decimal_via_extract", + "value": 366, + "range": "± 4", + "unit": "ns/iter" + }, + { + "name": "iter_dict", + "value": 1141290, + "range": "± 61115", + "unit": "ns/iter" + }, + { + "name": "dict_new", + "value": 3057900, + "range": "± 105769", + "unit": "ns/iter" + }, + { + "name": "dict_get_item", + "value": 2192278, + "range": "± 11220", + "unit": "ns/iter" + }, + { + "name": "extract_hashmap", + "value": 4956514, + "range": "± 35345", + "unit": "ns/iter" + }, + { + "name": "extract_btreemap", + "value": 7854329, + "range": "± 36953", + "unit": "ns/iter" + }, + { + "name": "mapping_from_dict", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "err_new_restore_and_fetch", + "value": 153, + "range": "± 6", + "unit": "ns/iter" + }, + { + "name": "err_new_without_gil", + "value": 14, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_extract_success", + "value": 10, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_extract_fail", + "value": 24, + "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": 4, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_extract_fail", + "value": 257, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "extract_int_downcast_success", + "value": 4, + "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": 242, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_success", + "value": 1, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_fail", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "enum_from_pyobject", + "value": 902, + "range": "± 5", + "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": 34, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "not_a_list_via_extract_enum", + "value": 502, + "range": "± 4", + "unit": "ns/iter" + }, + { + "name": "clean_acquire_gil", + "value": 61, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "dirty_acquire_gil", + "value": 83, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "getattr_direct", + "value": 97, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "getattr_intern", + "value": 26, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "iter_list", + "value": 743479, + "range": "± 12945", + "unit": "ns/iter" + }, + { + "name": "list_new", + "value": 908374, + "range": "± 191516", + "unit": "ns/iter" + }, + { + "name": "list_get_item", + "value": 635836, + "range": "± 1650", + "unit": "ns/iter" + }, + { + "name": "list_get_item_unchecked", + "value": 511610, + "range": "± 5399", + "unit": "ns/iter" + }, + { + "name": "sequence_from_list", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "first_time_init", + "value": 3133, + "range": "± 160", + "unit": "ns/iter" + }, + { + "name": "drop_many_objects", + "value": 2169, + "range": "± 3", + "unit": "ns/iter" + }, + { + "name": "set_new", + "value": 2944913, + "range": "± 56281", + "unit": "ns/iter" + }, + { + "name": "iter_set", + "value": 1156488, + "range": "± 28258", + "unit": "ns/iter" + }, + { + "name": "extract_hashset", + "value": 5520884, + "range": "± 14709", + "unit": "ns/iter" + }, + { + "name": "extract_btreeset", + "value": 1861950, + "range": "± 9237", + "unit": "ns/iter" + }, + { + "name": "iter_tuple", + "value": 621424, + "range": "± 1221", + "unit": "ns/iter" + }, + { + "name": "tuple_new", + "value": 921523, + "range": "± 134936", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item", + "value": 604903, + "range": "± 3187", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item_unchecked", + "value": 435093, + "range": "± 1071", + "unit": "ns/iter" + }, + { + "name": "tuple_get_borrowed_item", + "value": 558400, + "range": "± 1716", + "unit": "ns/iter" + }, + { + "name": "tuple_get_borrowed_item_unchecked", + "value": 403563, + "range": "± 2594", + "unit": "ns/iter" + }, + { + "name": "sequence_from_tuple", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "tuple_new_list", + "value": 104639, + "range": "± 707", + "unit": "ns/iter" + }, + { + "name": "tuple_to_list", + "value": 43949, + "range": "± 3304", + "unit": "ns/iter" + }, + { + "name": "tuple_into_py", + "value": 88, + "range": "± 0", + "unit": "ns/iter" + } + ] } ], "pytest-bench": [