Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 495 Bytes
get the haskell platform
http://hackage.haskell.org/platform/linux.html
cabal install loli hack-handler-simpleserver
ghc --make app.hs
PORT=3001 ./app
➜ ~ sudo ab -n 2000 -c 20 http://127.0.0.1:3001/
Requests per second: 9760.91 [#/sec] (mean)
Time per request: 2.049 [ms] (mean)
Time per request: 0.102 [ms] (mean, across all concurrent requests)
Transfer rate: 0.00 [Kbytes/sec] received
probably goes faster with the libevent backend, but this'll do for now.
Jump to Line
Something went wrong with that request. Please try again.