[Haskell-cafe] Benchmarking Framework

Marc Weber marco-oweber at gmx.de
Wed May 28 13:25:00 EDT 2008


On Wed, May 28, 2008 at 11:41:34AM +0100, Tom Harper wrote:
> I am in the process of writing a library for my MSc dissertation and
> would like to do some benchmarking.  In doing so I need to compare
> the time and space of my library with some other code.  Is there a
> framework for doing so in Haskell, aside from the Profiling tools in
> GHC?   Basically I'm looking for something like QuickCheck, but that
> helps with generating repeatable tests to measure performance.  Is
> there anything out there that anyone would recommend?
Also have a look at smallcheck (hackage) then.
It has been announced on the haskell mailinglist recently;

"SmallCheck is similar to QuickCheck (Claessen and Hughes 2000-) but
instead of testing for a sample of randomly generated values, SmallCheck
tests properties for all the finitely many values up to some depth,
progressively increasing the depth used"

Marc Weber


More information about the Haskell-Cafe mailing list