4 ms·
Here's a haskell comparison (hint: it does very well). https://gist.github.com/jamwt/5017172 https://gist.github.com/jamwt/5017172 Haskell was ghc 7.6.1 with
by jamwt 14y ago
Here's a haskell comparison (hint: it does very well).
https://gist.github.com/jamwt/5017172 https://gist.github.com/jamwt/5017172
Haskell was ghc 7.6.1 with ghc --make -O2
Go is go1.0.2 with "go build".
- gnuvince 14y agoWarp is very nice.
- e12e 14y agoAs noted above - with ridiculously large values for ab this one crashes (although I didn't compile with O-parameters). I think this (and the other haskell solution) ran out of resources. Both the go and nodejs versions completed without problems. I was a little disappointed -- I was actually hoping I'd see comparable performance -- even if it is a silly test. I think it is interesting that simple, idomatic code in go and nodejs didn't crash -- not sure what assumptions might be "wrong" in the underlying haskell code (I'm guessing if anything should be "fixed" it is in the web server libraries used).