11 ms·
The article mentions the "pong" benchmark which seems to reside here: https://github.com/snoyberg/benchmarks https://github.com/snoyberg/benchmarks. Looking at
by eelco 16y ago
The article mentions the "pong" benchmark which seems to reside here: https://github.com/snoyberg/benchmarks https://github.com/snoyberg/benchmarks. Looking at the code is doesn't do anything besides answering "pong" to any request so it's mostly about testing the overhead of the webserver, not its resilience against high loads.
- antihero 16y agoI may be wrong, but with those benchmarks, the "typical" servers are configured to load the text "PONG" from a file as opposed to the haskell servers that are hard-coded to do it. Surely I/O gives them a massive disadvantage?
- thesz 16y agoYesod does support sendfile: http://hackage.haskell.org/packages/archive/yesod/0.7.1/doc/html/doc-index-S.html http://hackage.haskell.org/packages/archive/yesod/0.7.1/doc/...