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.

Reply via email to