mirror of
https://github.com/apple/swift-nio
synced 2026-11-28 05:14:23 +00:00
Motivation: As pointed out in #3071, the `flatScheduleTask` implementations can be improved. Modifications: - Refactor the `flatScheduleTask` implementations to skip `flatMap` calls, which avoids creating an extra promise. - As there is now a lower number of allocations, reduce the necessary thresholds for the allocation tests. Result: Reduction in the number of allocations in the package. --------- Co-authored-by: George Barnett <gbarnett@apple.com>
60 lines
2.5 KiB
JSON
60 lines
2.5 KiB
JSON
{
|
|
"10000000_asyncsequenceproducer": 19,
|
|
"1000000_asyncwriter": 1000050,
|
|
"1000_addHandlers": 44050,
|
|
"1000_addHandlers_sync": 37050,
|
|
"1000_addRemoveHandlers_handlercontext": 8050,
|
|
"1000_addRemoveHandlers_handlername": 8050,
|
|
"1000_addRemoveHandlers_handlertype": 8050,
|
|
"1000_autoReadGetAndSet": 18050,
|
|
"1000_autoReadGetAndSet_sync": 0,
|
|
"1000_copying_bytebufferview_to_array": 1050,
|
|
"1000_copying_circularbuffer_to_array": 1050,
|
|
"1000_getHandlers": 8050,
|
|
"1000_getHandlers_sync": 35,
|
|
"1000_reqs_1_conn": 26400,
|
|
"1000_rst_connections": 145050,
|
|
"1000_tcpbootstraps": 3050,
|
|
"1000_tcpconnections": 152050,
|
|
"1000_udp_reqs": 6050,
|
|
"1000_udpbootstraps": 2050,
|
|
"1000_udpconnections": 75050,
|
|
"1_reqs_1000_conn": 384000,
|
|
"assume_isolated_scheduling_10000_executions": 89,
|
|
"bytebuffer_lots_of_rw": 2050,
|
|
"creating_10000_headers": 0,
|
|
"decode_1000_ws_frames": 2050,
|
|
"encode_1000_ws_frames_holding_buffer": 3,
|
|
"encode_1000_ws_frames_holding_buffer_with_mask": 2050,
|
|
"encode_1000_ws_frames_holding_buffer_with_space": 3,
|
|
"encode_1000_ws_frames_holding_buffer_with_space_with_mask": 2050,
|
|
"encode_1000_ws_frames_new_buffer": 3050,
|
|
"encode_1000_ws_frames_new_buffer_with_mask": 5050,
|
|
"encode_1000_ws_frames_new_buffer_with_space": 3050,
|
|
"encode_1000_ws_frames_new_buffer_with_space_with_mask": 5050,
|
|
"execute_hop_10000_tasks": 0,
|
|
"flat_schedule_10000_tasks": 100100,
|
|
"flat_schedule_assume_isolated_10000_tasks": 90100,
|
|
"future_assume_isolated_lots_of_callbacks": 74050,
|
|
"future_erase_result": 4050,
|
|
"future_lots_of_callbacks": 74050,
|
|
"get_100000_headers_canonical_form": 700050,
|
|
"get_100000_headers_canonical_form_trimming_whitespace": 700050,
|
|
"get_100000_headers_canonical_form_trimming_whitespace_from_long_string": 700050,
|
|
"get_100000_headers_canonical_form_trimming_whitespace_from_short_string": 700050,
|
|
"modifying_1000_circular_buffer_elements": 0,
|
|
"modifying_byte_buffer_view": 6050,
|
|
"ping_pong_1000_reqs_1_conn": 314,
|
|
"read_10000_chunks_from_file": 110050,
|
|
"schedule_10000_tasks": 40100,
|
|
"schedule_and_run_10000_tasks": 50050,
|
|
"schedule_assume_isolated_10000_tasks": 40100,
|
|
"schedule_with_deadline_10000_tasks": 40100,
|
|
"schedule_with_deadline_assume_isolated_10000_tasks": 40100,
|
|
"scheduling_10000_executions": 89,
|
|
"submit_10000_tasks": 20100,
|
|
"submit_assume_isolated_10000_tasks": 20100,
|
|
"udp_1000_reqs_1_conn": 6200,
|
|
"udp_1_reqs_1000_conn": 162050
|
|
}
|