Simple web server benchmark - vibe.d is slower than node.js and Go?

Vadim Lopatin coolreader.org at gmail.com
Thu Sep 21 09:17:04 UTC 2017


On Thursday, 21 September 2017 at 08:18:51 UTC, Suliman wrote:
> Can it be issue with regex speed?
> auto reg = ctRegex!"^/greeting/([a-z]+)$";
>
> Did you try without it?

Regex is used for request paths like "/greeting/username" and not 
used for path "/"

There is no big slowdown caused by regex.
45.6K requests/second with regex vs 46.8K requests/second w/o 
regex.


More information about the Digitalmars-d mailing list