7% of the overall runtime spent in SelectableEventLoop.debugDescription
#754
Labels
performance
Issues relating to performance
SelectableEventLoop.debugDescription
#754
Just noticed that when just running loads of sequential super basic HTTP requests against a fast server (
NIOHTTP1Server
), we spent about 7% of the overall runtime inHTTP1ClientChannelHandler.request.setter
which spends most of its time in_print_unlocked<A, B>(_:_:)
because it's pulling adebugDescription
for EventLoop for the logger metadata :P (release mode compile of course)Should be an easy fix.
async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTP1/HTTP1ClientChannelHandler.swift
Line 39 in 54d1006
FWIW, the super basic perf test I used is this: weissi@bf7dbeb (this code isn't meant to be merged).
The text was updated successfully, but these errors were encountered: