[Haskell-cafe] Benchmarking and Garbage Collection

Jesper Louis Andersen jesper.louis.andersen at gmail.com
Thu Mar 4 16:21:10 EST 2010

On Thu, Mar 4, 2010 at 8:35 PM, Neil Brown <nccb2 at kent.ac.uk> wrote:
> CML is indeed the library that has the most markedly different behaviour.
>  In Haskell, the CML package manages to produce timings like this for fairly
> simple benchmarks:
>  %GC time      96.3%  (96.0% elapsed)
> I knew from reading the code that CML's implementation would do something
> like this, although I do wonder if it triggers some pathological case in the
> GC.

That result is peculiar. What are you doing to the library, and what
do you expect happens? Since I have some code invested on top of CML,
I'd like to gain a little insight if possible.


More information about the Haskell-Cafe mailing list