4 ms·
The "horribly slow" Gorilla still completes most of my requests in under a millisecond, whereas something actually slow, such as PHP, takes around 200ms, even f
by Artemis2 12y ago
The "horribly slow" Gorilla still completes most of my requests in under a millisecond, whereas something actually slow, such as PHP, takes around 200ms, even for the simplest requests.
Gorilla gives me a lot of comfort, but httprouter might be interesting once I remove other bottlenecks in my app. For most developers, swapping the two is a very premature optimization.
- chafir 12y agoOut of interest where did that figure come from for PHP? It seems to contradict the benchmarks I could find for framework routers and PHP extensions. Ref: https://github.com/c9s/router-benchmark https://github.com/c9s/router-benchmark