From b715eae43a399415a33430e815b90d31264fafbf Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Mon, 16 Oct 2023 20:23:17 +0000 Subject: [PATCH] add pyo3-bench (cargo) benchmark result for 674dac8bfcbddc82e340b7dabd0f030c87af608f --- dev/bench/data.js | 308 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 307 insertions(+), 1 deletion(-) diff --git a/dev/bench/data.js b/dev/bench/data.js index bec5eb0a0e4..fe8eff3816d 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1697387269145, + "lastUpdate": 1697487796203, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -174620,6 +174620,312 @@ window.BENCHMARK_DATA = { "unit": "ns/iter" } ] + }, + { + "commit": { + "author": { + "email": "1939362+davidhewitt@users.noreply.github.com", + "name": "David Hewitt", + "username": "davidhewitt" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "674dac8bfcbddc82e340b7dabd0f030c87af608f", + "message": "Merge pull request #3517 from davidhewitt/remove-comparison\n\nremove comparison to rust-cpython", + "timestamp": "2023-10-16T19:11:29Z", + "tree_id": "9393bb7e94e5e0a42e1519d18b99c873694882e0", + "url": "https://github.com/PyO3/pyo3/commit/674dac8bfcbddc82e340b7dabd0f030c87af608f" + }, + "date": 1697487776886, + "tool": "cargo", + "benches": [ + { + "name": "identify_object_type", + "value": 811, + "range": "± 36", + "unit": "ns/iter" + }, + { + "name": "collect_generic_iterator", + "value": 18538501, + "range": "± 795637", + "unit": "ns/iter" + }, + { + "name": "call_0", + "value": 60519, + "range": "± 5131", + "unit": "ns/iter" + }, + { + "name": "call_method_0", + "value": 210415, + "range": "± 12037", + "unit": "ns/iter" + }, + { + "name": "ordered_dunder_methods", + "value": 78, + "range": "± 3", + "unit": "ns/iter" + }, + { + "name": "ordered_richcmp", + "value": 81, + "range": "± 4", + "unit": "ns/iter" + }, + { + "name": "err_new_restore_and_fetch", + "value": 304, + "range": "± 26", + "unit": "ns/iter" + }, + { + "name": "err_new_without_gil", + "value": 19, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_extract_success", + "value": 12, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_extract_fail", + "value": 48, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "extract_str_downcast_success", + "value": 4, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_downcast_fail", + "value": 4, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_extract_success", + "value": 9, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_extract_fail", + "value": 488, + "range": "± 28", + "unit": "ns/iter" + }, + { + "name": "extract_int_downcast_success", + "value": 10, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_int_downcast_fail", + "value": 4, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_extract_success", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_extract_fail", + "value": 548, + "range": "± 31", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_success", + "value": 4, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_fail", + "value": 5, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "enum_from_pyobject", + "value": 1648, + "range": "± 73", + "unit": "ns/iter" + }, + { + "name": "list_via_downcast", + "value": 0, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "list_via_extract", + "value": 3, + "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": "± 2", + "unit": "ns/iter" + }, + { + "name": "not_a_list_via_extract_enum", + "value": 1000, + "range": "± 73", + "unit": "ns/iter" + }, + { + "name": "f64_from_pyobject", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "clean_gilpool_new", + "value": 24, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "clean_acquire_gil", + "value": 137, + "range": "± 6", + "unit": "ns/iter" + }, + { + "name": "dirty_acquire_gil", + "value": 141, + "range": "± 8", + "unit": "ns/iter" + }, + { + "name": "getattr_direct", + "value": 206, + "range": "± 12", + "unit": "ns/iter" + }, + { + "name": "getattr_intern", + "value": 48, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "iter_list", + "value": 2434432, + "range": "± 116561", + "unit": "ns/iter" + }, + { + "name": "list_new", + "value": 1738032, + "range": "± 199878", + "unit": "ns/iter" + }, + { + "name": "list_get_item", + "value": 1402101, + "range": "± 65928", + "unit": "ns/iter" + }, + { + "name": "list_get_item_unchecked", + "value": 1289960, + "range": "± 108574", + "unit": "ns/iter" + }, + { + "name": "sequence_from_list", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "first_time_init", + "value": 5269, + "range": "± 968", + "unit": "ns/iter" + }, + { + "name": "drop_many_objects", + "value": 3255, + "range": "± 151", + "unit": "ns/iter" + }, + { + "name": "iter_tuple", + "value": 1798909, + "range": "± 100870", + "unit": "ns/iter" + }, + { + "name": "tuple_new", + "value": 1898204, + "range": "± 103319", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item", + "value": 1122982, + "range": "± 37699", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item_unchecked", + "value": 991831, + "range": "± 47117", + "unit": "ns/iter" + }, + { + "name": "sequence_from_tuple", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "tuple_new_list", + "value": 315729, + "range": "± 11444", + "unit": "ns/iter" + }, + { + "name": "tuple_to_list", + "value": 244476, + "range": "± 9631", + "unit": "ns/iter" + }, + { + "name": "tuple_into_py", + "value": 134, + "range": "± 4", + "unit": "ns/iter" + } + ] } ], "pytest-bench": [