diff --git a/dev/bench/data.js b/dev/bench/data.js index 93b4f0bfab9..70bb98ef4b7 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1697063238522, + "lastUpdate": 1697183961977, "repoUrl": "https://github.com/PyO3/pyo3", "entries": { "pyo3-bench": [ @@ -172784,6 +172784,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": "db13a9779086030630d16e0d1b8838effa5ba649", + "message": "Merge pull request #3445 from davidhewitt/py2-internals\n\nadd `Py2` as an internal API for optimization and dogfooding", + "timestamp": "2023-10-13T06:49:08Z", + "tree_id": "ea52fa1646d55aa69307546b77dbcf936388ffc4", + "url": "https://github.com/PyO3/pyo3/commit/db13a9779086030630d16e0d1b8838effa5ba649" + }, + "date": 1697183945887, + "tool": "cargo", + "benches": [ + { + "name": "identify_object_type", + "value": 498, + "range": "± 10", + "unit": "ns/iter" + }, + { + "name": "collect_generic_iterator", + "value": 13149777, + "range": "± 67721", + "unit": "ns/iter" + }, + { + "name": "call_0", + "value": 38112, + "range": "± 1575", + "unit": "ns/iter" + }, + { + "name": "call_method_0", + "value": 139270, + "range": "± 4155", + "unit": "ns/iter" + }, + { + "name": "ordered_dunder_methods", + "value": 61, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "ordered_richcmp", + "value": 63, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "err_new_restore_and_fetch", + "value": 226, + "range": "± 12", + "unit": "ns/iter" + }, + { + "name": "err_new_without_gil", + "value": 17, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_extract_success", + "value": 10, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_str_extract_fail", + "value": 38, + "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": 212, + "range": "± 0", + "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": 188, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_success", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "extract_float_downcast_fail", + "value": 6, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "enum_from_pyobject", + "value": 1207, + "range": "± 42", + "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": 37, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "not_a_list_via_extract_enum", + "value": 734, + "range": "± 38", + "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": 100, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "dirty_acquire_gil", + "value": 104, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "getattr_direct", + "value": 163, + "range": "± 7", + "unit": "ns/iter" + }, + { + "name": "getattr_intern", + "value": 38, + "range": "± 1", + "unit": "ns/iter" + }, + { + "name": "iter_list", + "value": 2034322, + "range": "± 9261", + "unit": "ns/iter" + }, + { + "name": "list_new", + "value": 1374551, + "range": "± 125805", + "unit": "ns/iter" + }, + { + "name": "list_get_item", + "value": 1157207, + "range": "± 38328", + "unit": "ns/iter" + }, + { + "name": "list_get_item_unchecked", + "value": 1011071, + "range": "± 38866", + "unit": "ns/iter" + }, + { + "name": "sequence_from_list", + "value": 2, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "first_time_init", + "value": 3347, + "range": "± 144", + "unit": "ns/iter" + }, + { + "name": "drop_many_objects", + "value": 3119, + "range": "± 2", + "unit": "ns/iter" + }, + { + "name": "iter_tuple", + "value": 1432456, + "range": "± 8508", + "unit": "ns/iter" + }, + { + "name": "tuple_new", + "value": 1408543, + "range": "± 129484", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item", + "value": 929636, + "range": "± 2261", + "unit": "ns/iter" + }, + { + "name": "tuple_get_item_unchecked", + "value": 780706, + "range": "± 1803", + "unit": "ns/iter" + }, + { + "name": "sequence_from_tuple", + "value": 3, + "range": "± 0", + "unit": "ns/iter" + }, + { + "name": "tuple_new_list", + "value": 219873, + "range": "± 1683", + "unit": "ns/iter" + }, + { + "name": "tuple_to_list", + "value": 152986, + "range": "± 336", + "unit": "ns/iter" + }, + { + "name": "tuple_into_py", + "value": 109, + "range": "± 0", + "unit": "ns/iter" + } + ] } ], "pytest-bench": [