Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Out 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: