othiym23 / nonsense-benchmark

suite of servers that don't do anything very interesting, but do it very quickly (and asynchronously)
8 stars 15 forks source link

Haskell server #21

Closed aughr closed 11 years ago

aughr commented 11 years ago

It's pretty fast!

othiym23 commented 11 years ago

Haskell is so much better at serving requests than it is at initiating them it's kind of mind-blowing:

Made 40000 requests in 14.64s.

Times in ms, min/mean/median/max (stddev)
Handled 40000 requests:         0.3/23.4/11.8/1399.8 (116.7)
IQR filtered to 38959 requests: 4.0/12.1/11.7/20.4 (2.9)
Throughput: 163.93krpm (IQR adjusted: 317.62krpm).

There's some pretty brutal skew on the unfiltered request population, which makes me wonder if there's some GC wackiness going on in there. Still, this is more than respectably fast! I think it's in the top 3 now. It'll be interesting to see how the numbers change once I have a C benchmarking client.