eventcore vs boost.asio performance?

tchaloupka chalucha at gmail.com
Tue Feb 21 09:43:50 UTC 2023


On Monday, 20 February 2023 at 09:12:37 UTC, Daniel Kozak wrote:
>
> Last time I checked the main reason why vibed was slower has 
> been because of HTTP parsing. vibe-core with manual http 
> parsing has been the same fast as all other fastest 
> alternatives.

I've compared what syscalls various frameworks generates and by 
far the most difference makes that in vibe-d response header and 
body are written in two separate syscalls (tested on linux with 
epoll). That makes a pretty huge difference of about 30% if I 
remember correctly. Eventcore itself is not slow and is 
comparable with the top ones.

Tom


More information about the Digitalmars-d mailing list