[SelectableEventLoop] SR-15872; Save allocations when appending task (#2046)

* [SelectableEventLoop] SR-15872; Save allocations when appending task

* Add pr to workaround list

* Update alloc counters

* Update alloc script to include 5.6

* Update alloc counters

Co-authored-by: Cory Benfield <lukasa@apple.com>
This commit is contained in:
Fabian Fett 2022-02-17 21:18:21 +01:00 committed by GitHub
parent 28850a539b
commit c74c3bbabf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 79 additions and 75 deletions

View File

@ -66,7 +66,10 @@ internal final class SelectableEventLoop: EventLoop {
internal var scheduledTaskCounter = NIOAtomic.makeAtomic(value: UInt64(0))
@usableFromInline
internal var _scheduledTasks = PriorityQueue<ScheduledTask>()
private var tasksCopy = ContiguousArray<() -> Void>()
// We only need the ScheduledTask's task closure. However, an `Array<() -> Void>` allocates
// for every appended closure. https://bugs.swift.org/browse/SR-15872
private var tasksCopy = ContiguousArray<ScheduledTask>()
@usableFromInline
internal var _succeededVoidFuture: Optional<EventLoopFuture<Void>> = nil {
didSet {
@ -491,7 +494,7 @@ Further information:
while tasksCopy.count < tasksCopy.capacity, let task = self._scheduledTasks.peek() {
if task.readyIn(now) <= .nanoseconds(0) {
self._scheduledTasks.pop()
self.tasksCopy.append(task.task)
self.tasksCopy.append(task)
} else {
nextReadyTask = task
break
@ -517,7 +520,7 @@ Further information:
for task in self.tasksCopy {
/* for macOS: in case any calls we make to Foundation put objects into an autoreleasepool */
withAutoReleasePool {
task()
task.task()
}
}
// Drop everything (but keep the capacity) so we can fill it again on the next iteration.

View File

@ -22,7 +22,7 @@ url_prefix=${1-"https://ci.swiftserver.group/job/swift-nio2-swift"}
target_repo=${2-"$here/.."}
tmpdir=$(mktemp -d /tmp/.last-build_XXXXXX)
for f in 52 53 54 55 -nightly; do
for f in 52 53 54 55 56 -nightly; do
echo "swift$f"
url="$url_prefix$f-prb/lastCompletedBuild/consoleFull"
echo "$url"

View File

@ -23,18 +23,18 @@ services:
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlercontext=9050
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlername=9050
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlertype=9050
- MAX_ALLOCS_ALLOWED_1000_autoReadGetAndSet=25050
- MAX_ALLOCS_ALLOWED_1000_autoReadGetAndSet=21050
- MAX_ALLOCS_ALLOWED_1000_autoReadGetAndSet_sync=0
- MAX_ALLOCS_ALLOWED_1000_copying_bytebufferview_to_array=1050
- MAX_ALLOCS_ALLOWED_1000_getHandlers=9050
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=30450
- MAX_ALLOCS_ALLOWED_1000_getHandlers_sync=35
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=30400
- MAX_ALLOCS_ALLOWED_1000_tcpbootstraps=4050
- MAX_ALLOCS_ALLOWED_1000_tcpconnections=162050
- MAX_ALLOCS_ALLOWED_1000_tcpconnections=156050
- MAX_ALLOCS_ALLOWED_1000_udp_reqs=12050
- MAX_ALLOCS_ALLOWED_1000_udpbootstraps=2050
- MAX_ALLOCS_ALLOWED_1000_udpconnections=89500
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=427000
- MAX_ALLOCS_ALLOWED_1000_udpconnections=83050
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=406050
- MAX_ALLOCS_ALLOWED_bytebuffer_lots_of_rw=2050
- MAX_ALLOCS_ALLOWED_creating_10000_headers=0
- MAX_ALLOCS_ALLOWED_decode_1000_ws_frames=2050
@ -42,7 +42,7 @@ services:
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_holding_buffer_with_space=3
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_new_buffer=3050
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_new_buffer_with_space=3050
- MAX_ALLOCS_ALLOWED_execute_hop_10000_tasks=10000
- MAX_ALLOCS_ALLOWED_execute_hop_10000_tasks=0
- MAX_ALLOCS_ALLOWED_future_erase_result=4050
- MAX_ALLOCS_ALLOWED_future_lots_of_callbacks=60050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form=700050
@ -51,13 +51,13 @@ services:
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace_from_short_string=700050
- MAX_ALLOCS_ALLOWED_modifying_1000_circular_buffer_elements=0
- MAX_ALLOCS_ALLOWED_modifying_byte_buffer_view=2050
- MAX_ALLOCS_ALLOWED_ping_pong_1000_reqs_1_conn=4400
- MAX_ALLOCS_ALLOWED_read_10000_chunks_from_file=180050
- MAX_ALLOCS_ALLOWED_schedule_10000_tasks=60150
- MAX_ALLOCS_ALLOWED_schedule_and_run_10000_tasks=70050
- MAX_ALLOCS_ALLOWED_scheduling_10000_executions=10150
- MAX_ALLOCS_ALLOWED_udp_1000_reqs_1_conn=12200
- MAX_ALLOCS_ALLOWED_udp_1_reqs_1000_conn=177050
- MAX_ALLOCS_ALLOWED_ping_pong_1000_reqs_1_conn=4350
- MAX_ALLOCS_ALLOWED_read_10000_chunks_from_file=170050
- MAX_ALLOCS_ALLOWED_schedule_10000_tasks=60100
- MAX_ALLOCS_ALLOWED_schedule_and_run_10000_tasks=60050
- MAX_ALLOCS_ALLOWED_scheduling_10000_executions=98
- MAX_ALLOCS_ALLOWED_udp_1000_reqs_1_conn=12150
- MAX_ALLOCS_ALLOWED_udp_1_reqs_1000_conn=166050
- SANITIZER_ARG=--sanitize=thread
performance-test:

View File

@ -23,18 +23,18 @@ services:
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlercontext=9050
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlername=9050
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlertype=9050
- MAX_ALLOCS_ALLOWED_1000_autoReadGetAndSet=28050
- MAX_ALLOCS_ALLOWED_1000_autoReadGetAndSet=24050
- MAX_ALLOCS_ALLOWED_1000_autoReadGetAndSet_sync=0
- MAX_ALLOCS_ALLOWED_1000_copying_bytebufferview_to_array=1050
- MAX_ALLOCS_ALLOWED_1000_getHandlers=9050
- MAX_ALLOCS_ALLOWED_1000_getHandlers_sync=35
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=30450
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=30400
- MAX_ALLOCS_ALLOWED_1000_tcpbootstraps=4050
- MAX_ALLOCS_ALLOWED_1000_tcpconnections=163050
- MAX_ALLOCS_ALLOWED_1000_tcpconnections=157050
- MAX_ALLOCS_ALLOWED_1000_udp_reqs=12050
- MAX_ALLOCS_ALLOWED_1000_udpbootstraps=2050
- MAX_ALLOCS_ALLOWED_1000_udpconnections=90500
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=432000
- MAX_ALLOCS_ALLOWED_1000_udpconnections=84000
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=411000
- MAX_ALLOCS_ALLOWED_bytebuffer_lots_of_rw=2050
- MAX_ALLOCS_ALLOWED_creating_10000_headers=0
- MAX_ALLOCS_ALLOWED_decode_1000_ws_frames=2050
@ -42,7 +42,7 @@ services:
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_holding_buffer_with_space=3
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_new_buffer=3050
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_new_buffer_with_space=3050
- MAX_ALLOCS_ALLOWED_execute_hop_10000_tasks=10000
- MAX_ALLOCS_ALLOWED_execute_hop_10000_tasks=0
- MAX_ALLOCS_ALLOWED_future_erase_result=4050
- MAX_ALLOCS_ALLOWED_future_lots_of_callbacks=60050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form=700050
@ -52,12 +52,12 @@ services:
- MAX_ALLOCS_ALLOWED_modifying_1000_circular_buffer_elements=0
- MAX_ALLOCS_ALLOWED_modifying_byte_buffer_view=2050
- MAX_ALLOCS_ALLOWED_ping_pong_1000_reqs_1_conn=4400
- MAX_ALLOCS_ALLOWED_read_10000_chunks_from_file=190050
- MAX_ALLOCS_ALLOWED_schedule_10000_tasks=60150
- MAX_ALLOCS_ALLOWED_schedule_and_run_10000_tasks=70050
- MAX_ALLOCS_ALLOWED_scheduling_10000_executions=10150
- MAX_ALLOCS_ALLOWED_udp_1000_reqs_1_conn=12200
- MAX_ALLOCS_ALLOWED_udp_1_reqs_1000_conn=177050
- MAX_ALLOCS_ALLOWED_read_10000_chunks_from_file=180050
- MAX_ALLOCS_ALLOWED_schedule_10000_tasks=60100
- MAX_ALLOCS_ALLOWED_schedule_and_run_10000_tasks=60050
- MAX_ALLOCS_ALLOWED_scheduling_10000_executions=97
- MAX_ALLOCS_ALLOWED_udp_1000_reqs_1_conn=12150
- MAX_ALLOCS_ALLOWED_udp_1_reqs_1000_conn=166050
# - SANITIZER_ARG=--sanitize=thread broken on 18.04
- INTEGRATION_TESTS_ARG=-f tests_0[013-9]

View File

@ -23,18 +23,18 @@ services:
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlercontext=9050
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlername=9050
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlertype=9050
- MAX_ALLOCS_ALLOWED_1000_autoReadGetAndSet=25050
- MAX_ALLOCS_ALLOWED_1000_autoReadGetAndSet=21050
- MAX_ALLOCS_ALLOWED_1000_autoReadGetAndSet_sync=0
- MAX_ALLOCS_ALLOWED_1000_copying_bytebufferview_to_array=1050
- MAX_ALLOCS_ALLOWED_1000_getHandlers=9050
- MAX_ALLOCS_ALLOWED_1000_getHandlers_sync=35
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=30450
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=30400
- MAX_ALLOCS_ALLOWED_1000_tcpbootstraps=4050
- MAX_ALLOCS_ALLOWED_1000_tcpconnections=164050
- MAX_ALLOCS_ALLOWED_1000_tcpconnections=158050
- MAX_ALLOCS_ALLOWED_1000_udp_reqs=12050
- MAX_ALLOCS_ALLOWED_1000_udpbootstraps=2050
- MAX_ALLOCS_ALLOWED_1000_udpconnections=90500
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=430000
- MAX_ALLOCS_ALLOWED_1000_udpconnections=84050
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=409050
- MAX_ALLOCS_ALLOWED_bytebuffer_lots_of_rw=2050
- MAX_ALLOCS_ALLOWED_creating_10000_headers=0
- MAX_ALLOCS_ALLOWED_decode_1000_ws_frames=2050
@ -42,7 +42,7 @@ services:
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_holding_buffer_with_space=3
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_new_buffer=3050
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_new_buffer_with_space=3050
- MAX_ALLOCS_ALLOWED_execute_hop_10000_tasks=10000
- MAX_ALLOCS_ALLOWED_execute_hop_10000_tasks=0
- MAX_ALLOCS_ALLOWED_future_erase_result=4050
- MAX_ALLOCS_ALLOWED_future_lots_of_callbacks=60050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form=700050
@ -52,12 +52,12 @@ services:
- MAX_ALLOCS_ALLOWED_modifying_1000_circular_buffer_elements=0
- MAX_ALLOCS_ALLOWED_modifying_byte_buffer_view=2050
- MAX_ALLOCS_ALLOWED_ping_pong_1000_reqs_1_conn=4400
- MAX_ALLOCS_ALLOWED_read_10000_chunks_from_file=180050
- MAX_ALLOCS_ALLOWED_schedule_10000_tasks=60150
- MAX_ALLOCS_ALLOWED_schedule_and_run_10000_tasks=70050
- MAX_ALLOCS_ALLOWED_scheduling_10000_executions=10150
- MAX_ALLOCS_ALLOWED_read_10000_chunks_from_file=170050
- MAX_ALLOCS_ALLOWED_schedule_10000_tasks=60100
- MAX_ALLOCS_ALLOWED_schedule_and_run_10000_tasks=60050
- MAX_ALLOCS_ALLOWED_scheduling_10000_executions=98
- MAX_ALLOCS_ALLOWED_udp_1000_reqs_1_conn=12200
- MAX_ALLOCS_ALLOWED_udp_1_reqs_1000_conn=179050
- MAX_ALLOCS_ALLOWED_udp_1_reqs_1000_conn=168050
# - SANITIZER_ARG=--sanitize=thread # TSan broken still
performance-test:

View File

@ -23,18 +23,18 @@ services:
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlercontext=9050
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlername=9050
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlertype=9050
- MAX_ALLOCS_ALLOWED_1000_autoReadGetAndSet=25050
- MAX_ALLOCS_ALLOWED_1000_autoReadGetAndSet=21050
- MAX_ALLOCS_ALLOWED_1000_autoReadGetAndSet_sync=0
- MAX_ALLOCS_ALLOWED_1000_copying_bytebufferview_to_array=1050
- MAX_ALLOCS_ALLOWED_1000_getHandlers=9050
- MAX_ALLOCS_ALLOWED_1000_getHandlers_sync=35
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=30450
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=30400
- MAX_ALLOCS_ALLOWED_1000_tcpbootstraps=4050
- MAX_ALLOCS_ALLOWED_1000_tcpconnections=164050
- MAX_ALLOCS_ALLOWED_1000_tcpconnections=158050
- MAX_ALLOCS_ALLOWED_1000_udp_reqs=12050
- MAX_ALLOCS_ALLOWED_1000_udpbootstraps=2050
- MAX_ALLOCS_ALLOWED_1000_udpconnections=90500
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=430050
- MAX_ALLOCS_ALLOWED_1000_udpconnections=84050
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=409050
- MAX_ALLOCS_ALLOWED_bytebuffer_lots_of_rw=2050
- MAX_ALLOCS_ALLOWED_creating_10000_headers=0
- MAX_ALLOCS_ALLOWED_decode_1000_ws_frames=2050
@ -42,7 +42,7 @@ services:
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_holding_buffer_with_space=3
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_new_buffer=3050
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_new_buffer_with_space=3050
- MAX_ALLOCS_ALLOWED_execute_hop_10000_tasks=10000
- MAX_ALLOCS_ALLOWED_execute_hop_10000_tasks=0
- MAX_ALLOCS_ALLOWED_future_erase_result=4050
- MAX_ALLOCS_ALLOWED_future_lots_of_callbacks=60050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form=700050
@ -52,12 +52,12 @@ services:
- MAX_ALLOCS_ALLOWED_modifying_1000_circular_buffer_elements=0
- MAX_ALLOCS_ALLOWED_modifying_byte_buffer_view=2050
- MAX_ALLOCS_ALLOWED_ping_pong_1000_reqs_1_conn=4400
- MAX_ALLOCS_ALLOWED_read_10000_chunks_from_file=170050
- MAX_ALLOCS_ALLOWED_schedule_10000_tasks=60100
- MAX_ALLOCS_ALLOWED_schedule_and_run_10000_tasks=60050
- MAX_ALLOCS_ALLOWED_scheduling_10000_executions=98
- MAX_ALLOCS_ALLOWED_udp_1000_reqs_1_conn=12200
- MAX_ALLOCS_ALLOWED_read_10000_chunks_from_file=180050
- MAX_ALLOCS_ALLOWED_schedule_10000_tasks=60150
- MAX_ALLOCS_ALLOWED_schedule_and_run_10000_tasks=70050
- MAX_ALLOCS_ALLOWED_scheduling_10000_executions=10150
- MAX_ALLOCS_ALLOWED_udp_1_reqs_1000_conn=179050
- MAX_ALLOCS_ALLOWED_udp_1_reqs_1000_conn=168050
# - SANITIZER_ARG=--sanitize=thread # TSan broken still
performance-test:

View File

@ -23,18 +23,18 @@ services:
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlercontext=9050
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlername=9050
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlertype=9050
- MAX_ALLOCS_ALLOWED_1000_autoReadGetAndSet=24050
- MAX_ALLOCS_ALLOWED_1000_autoReadGetAndSet=20050
- MAX_ALLOCS_ALLOWED_1000_autoReadGetAndSet_sync=0
- MAX_ALLOCS_ALLOWED_1000_copying_bytebufferview_to_array=1050
- MAX_ALLOCS_ALLOWED_1000_getHandlers=9050
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=30450
- MAX_ALLOCS_ALLOWED_1000_getHandlers_sync=35
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=30400
- MAX_ALLOCS_ALLOWED_1000_tcpbootstraps=4050
- MAX_ALLOCS_ALLOWED_1000_tcpconnections=160050
- MAX_ALLOCS_ALLOWED_1000_tcpconnections=154050
- MAX_ALLOCS_ALLOWED_1000_udp_reqs=12050
- MAX_ALLOCS_ALLOWED_1000_udpbootstraps=2050
- MAX_ALLOCS_ALLOWED_1000_udpconnections=87050
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=427050
- MAX_ALLOCS_ALLOWED_1000_udpconnections=81050
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=406050
- MAX_ALLOCS_ALLOWED_bytebuffer_lots_of_rw=2050
- MAX_ALLOCS_ALLOWED_creating_10000_headers=0
- MAX_ALLOCS_ALLOWED_decode_1000_ws_frames=2050
@ -42,7 +42,7 @@ services:
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_holding_buffer_with_space=3
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_new_buffer=3050
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_new_buffer_with_space=3050
- MAX_ALLOCS_ALLOWED_execute_hop_10000_tasks=10000
- MAX_ALLOCS_ALLOWED_execute_hop_10000_tasks=0
- MAX_ALLOCS_ALLOWED_future_erase_result=4050
- MAX_ALLOCS_ALLOWED_future_lots_of_callbacks=59050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form=700050
@ -51,13 +51,13 @@ services:
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace_from_short_string=700050
- MAX_ALLOCS_ALLOWED_modifying_1000_circular_buffer_elements=0
- MAX_ALLOCS_ALLOWED_modifying_byte_buffer_view=2050
- MAX_ALLOCS_ALLOWED_ping_pong_1000_reqs_1_conn=4400
- MAX_ALLOCS_ALLOWED_read_10000_chunks_from_file=150050
- MAX_ALLOCS_ALLOWED_schedule_10000_tasks=60150
- MAX_ALLOCS_ALLOWED_schedule_and_run_10000_tasks=70050
- MAX_ALLOCS_ALLOWED_scheduling_10000_executions=10150
- MAX_ALLOCS_ALLOWED_ping_pong_1000_reqs_1_conn=4350
- MAX_ALLOCS_ALLOWED_read_10000_chunks_from_file=140050
- MAX_ALLOCS_ALLOWED_schedule_10000_tasks=60100
- MAX_ALLOCS_ALLOWED_schedule_and_run_10000_tasks=60050
- MAX_ALLOCS_ALLOWED_scheduling_10000_executions=97
- MAX_ALLOCS_ALLOWED_udp_1000_reqs_1_conn=12200
- MAX_ALLOCS_ALLOWED_udp_1_reqs_1000_conn=177050
- MAX_ALLOCS_ALLOWED_udp_1_reqs_1000_conn=166050
# - SANITIZER_ARG=--sanitize=thread # TSan broken still
performance-test:

View File

@ -23,18 +23,18 @@ services:
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlercontext=9050
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlername=9050
- MAX_ALLOCS_ALLOWED_1000_addRemoveHandlers_handlertype=9050
- MAX_ALLOCS_ALLOWED_1000_autoReadGetAndSet=24050
- MAX_ALLOCS_ALLOWED_1000_autoReadGetAndSet=20050
- MAX_ALLOCS_ALLOWED_1000_autoReadGetAndSet_sync=0
- MAX_ALLOCS_ALLOWED_1000_copying_bytebufferview_to_array=1050
- MAX_ALLOCS_ALLOWED_1000_getHandlers=9050
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=30450
- MAX_ALLOCS_ALLOWED_1000_getHandlers_sync=35
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=30400
- MAX_ALLOCS_ALLOWED_1000_tcpbootstraps=4050
- MAX_ALLOCS_ALLOWED_1000_tcpconnections=160050
- MAX_ALLOCS_ALLOWED_1000_tcpconnections=154050
- MAX_ALLOCS_ALLOWED_1000_udp_reqs=12050
- MAX_ALLOCS_ALLOWED_1000_udpbootstraps=2050
- MAX_ALLOCS_ALLOWED_1000_udpconnections=87050
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=427050
- MAX_ALLOCS_ALLOWED_1000_udpconnections=81050
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=406050
- MAX_ALLOCS_ALLOWED_bytebuffer_lots_of_rw=2050
- MAX_ALLOCS_ALLOWED_creating_10000_headers=0
- MAX_ALLOCS_ALLOWED_decode_1000_ws_frames=2050
@ -42,7 +42,7 @@ services:
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_holding_buffer_with_space=3
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_new_buffer=3050
- MAX_ALLOCS_ALLOWED_encode_1000_ws_frames_new_buffer_with_space=3050
- MAX_ALLOCS_ALLOWED_execute_hop_10000_tasks=10000
- MAX_ALLOCS_ALLOWED_execute_hop_10000_tasks=0
- MAX_ALLOCS_ALLOWED_future_erase_result=4050
- MAX_ALLOCS_ALLOWED_future_lots_of_callbacks=59050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form=700050
@ -51,13 +51,13 @@ services:
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace_from_short_string=700050
- MAX_ALLOCS_ALLOWED_modifying_1000_circular_buffer_elements=0
- MAX_ALLOCS_ALLOWED_modifying_byte_buffer_view=2050
- MAX_ALLOCS_ALLOWED_ping_pong_1000_reqs_1_conn=4400
- MAX_ALLOCS_ALLOWED_read_10000_chunks_from_file=150050
- MAX_ALLOCS_ALLOWED_schedule_10000_tasks=60150
- MAX_ALLOCS_ALLOWED_schedule_and_run_10000_tasks=70050
- MAX_ALLOCS_ALLOWED_scheduling_10000_executions=10150
- MAX_ALLOCS_ALLOWED_ping_pong_1000_reqs_1_conn=4350
- MAX_ALLOCS_ALLOWED_read_10000_chunks_from_file=140050
- MAX_ALLOCS_ALLOWED_schedule_10000_tasks=60100
- MAX_ALLOCS_ALLOWED_schedule_and_run_10000_tasks=60050
- MAX_ALLOCS_ALLOWED_scheduling_10000_executions=97
- MAX_ALLOCS_ALLOWED_udp_1000_reqs_1_conn=12200
- MAX_ALLOCS_ALLOWED_udp_1_reqs_1000_conn=177050
- MAX_ALLOCS_ALLOWED_udp_1_reqs_1000_conn=166050
# - SANITIZER_ARG=--sanitize=thread # TSan broken still
performance-test:

View File

@ -14,3 +14,4 @@ or cases where the Swift compiler was unable to sufficiently optimize the code:
- https://github.com/apple/swift-nio/pull/1814
- https://github.com/apple/swift-nio/pull/1956
- https://github.com/apple/swift-nio/pull/1961
- https://github.com/apple/swift-nio/pull/2046