Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 495 Bytes
get the haskell platform
cabal install loli hack-handler-simpleserver
ghc --make app.hs
PORT=3001 ./app
➜ ~ sudo ab -n 2000 -c 20
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.