On the X axis you see the number of threads that the program creates. On the Y axis you see the arithmetic mean of the run time over 10 runs. The green line is Haskell, the red line is C. Haskell is almost 10 times faster. Control.Concurrent kicked pthreads’ ass, leaving it no chances.
http://10098.arnet.am/?p=147 #haskell #threads #c #comparison #programming #pthread #benchmark #programming-languages