cabal bench implemented

Simon Meier iridcode at
Tue Oct 25 20:37:11 CEST 2011

Hi Johan,

I tried out the new interface on the example you give in the
documentation. However, it was missing the 'time' dependency. This is
fixed in the attached patch. There was also a small typo in the
explanation of '--enable-benchmarks'; also fixed in attached patch.

I have two open questions:

* Is the >= 1.9.2 interface the right interface? From the changelog, I
would assume that it is already public and contains the test-suite
support only.

* It would be cool to have a 'cabal bench' command that builds and
executes the benchmarks.

However, even being able to build the benchmarks easily makes my life
already a lot simpler. Thanks for the work.

best regards,

2011/10/25 Simon Meier <iridcode at>:
> Cool. Great stuff. I'll try it out on my 'bytestring' builder work.
> 2011/10/25 Bas van Dijk <v.dijk.bas at>:
>> On 25 October 2011 03:00, Johan Tibell <johan.tibell at> wrote:
>>> Just wanted to advertise that 'cabal bench' is now implement and pushed to
>>> HEAD. Please try it out. It's described in the user guide.
>> Great! I'l be sure to check it out on some of by packages with benchmarks.
>> Bas
>> _______________________________________________
>> cabal-devel mailing list
>> cabal-devel at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: typos-in-benchmarks-documentation_help.dpatch
Type: application/octet-stream
Size: 14402 bytes
Desc: not available
URL: <>

More information about the cabal-devel mailing list