swift-nio/Sources
Franz Busch 213eb6887e
Add baseline performance and allocation tests for scheduling tasks and executing (#2009)
### Motivation:

In issue https://github.com/apple/swift-nio/issues/1316, we see a large number of allocations to happen when scheduling tasks. This can definitely be optimized. This PR adds a number of baseline allocation and performance tests for both `scheduleTask` and `execute`. In the next PRs, I am going to try a few optimizations to reduce the number of allocations.

### Modifications:

Added baseline performance and allocation tests for `scheduleTask` and `execute`
2021-12-13 16:33:13 +00:00
..
CNIOAtomics CNIOAtomics: define types for `uintptr_t` and `intptr_t` (#1401) 2020-02-26 17:07:39 +00:00
CNIODarwin Feature: Datagram Packet Info (#1888) 2021-07-08 11:04:53 +01:00
CNIOHTTPParser http_parser: update vendored copy (#1822) 2021-06-01 15:26:10 +01:00
CNIOLinux Enable io_uring builds with newer liburing (#2006) 2021-12-09 09:19:12 +00:00
CNIOSHA1 Final language fix (#1732) 2021-01-22 18:39:10 +00:00
CNIOWindows NIO: extract control message handling into a separate protocol (#1678) 2020-10-19 16:18:57 +01:00
NIO Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
NIOAsyncAwaitDemo Adds Swift Concurrency Availability to macOS 10.15, iOS 13, tvOS 13, and watchOS 6 (#2004) 2021-12-03 17:35:01 +00:00
NIOChatClient Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
NIOChatServer Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
NIOConcurrencyHelpers disable PTHREAD_MUTEX_ERRORCHECK in release mode (#1995) 2021-11-29 09:49:07 +00:00
NIOCore Adds Swift Concurrency Availability to macOS 10.15, iOS 13, tvOS 13, and watchOS 6 (#2004) 2021-12-03 17:35:01 +00:00
NIOCrashTester remove/deprecate the file:line: parameters from flatMap and friends (#1998) 2021-12-03 08:27:55 -08:00
NIOEchoClient Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
NIOEchoServer Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
NIOEmbedded remove/deprecate the file:line: parameters from flatMap and friends (#1998) 2021-12-03 08:27:55 -08:00
NIOFoundationCompat [ByteBuffer] Replace use of .map with guard in Data read (#1979) 2021-10-25 10:36:49 +02:00
NIOHTTP1 Allow HTTP Server to send multiple informational heads before actual response head (#1985) 2021-11-09 10:20:51 +00:00
NIOHTTP1Client Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
NIOHTTP1Server Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
NIOMulticastChat Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
NIOPerformanceTester Add baseline performance and allocation tests for scheduling tasks and executing (#2009) 2021-12-13 16:33:13 +00:00
NIOPosix Enable io_uring builds with newer liburing (#2006) 2021-12-09 09:19:12 +00:00
NIOTLS Clean up dependencies and imports. (#1935) 2021-08-12 13:49:46 +01:00
NIOTestUtils Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
NIOUDPEchoClient Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
NIOUDPEchoServer Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
NIOWebSocket ByteBuffer: provide multi read/write int methods (#1987) 2021-11-22 14:58:52 +00:00
NIOWebSocketClient Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
NIOWebSocketServer Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
_NIOConcurrency Readd module _NIOConcurrency to not break adopters (#1970) 2021-09-23 16:50:53 +02:00
_NIODataStructures Extract PriorityQueue to its own module. (#1932) 2021-08-09 11:00:03 +01:00