Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
for lstoll to work his magic on.
branch: master
Failed to load latest commit information.
Gemfile
Gemfile.lock
Procfile
README
app use threaded runtime
app.hs
run need this too

README

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.
Something went wrong with that request. Please try again.