eventcore vs boost.asio performance?

Daniel Kozak kozzi11 at gmail.com
Tue Feb 21 14:25:37 UTC 2023


On Tue, Feb 21, 2023 at 10:45 AM tchaloupka via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> 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.
>

Yes, you are right I have changed that too when I have been trying to make
vibed as fast as possible.


>
> Tom
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20230221/09f0a402/attachment.htm>


More information about the Digitalmars-d mailing list