Files
swift-nio-ssl/Sources/NIOTLSServer
Cory Benfield 0b0bf35497 Improve performance characteristics of TLS echo server. (#28)
Motivation:

The TLS echo server was doing a few stupid things it didn't need to.
That was greatly slowing it down when testing raw throughput, and also
demonstrating bad coding style.

Modifications:

- Stopped sending promises for writes we don't care about.
- Flushed less frequently, only on channelReadComplete.
- Didn't shrink maxMessagesPerRead

Result:

Better performance from the TLS echo server.
2018-08-16 14:26:18 +01:00
..