meiersi/blaze-binary — pull request #3 by basvandijk (2012-05-12 15:31:07+00:00)
Title: Use a benchmark section in the blaze-binary.cabal file 

Hi Simon,

This does require the latest cabal-install (0.14.0), but I think it's easier to work with. To build the benchmarks:

```
cabal configure --enable-benchmarks; cabal build
````

run them using: `cabal bench` or directly using: `dist/build/bench/bench`

BTW
Some time ago [I added a little handy feature to criterion](https://github.com/bos/criterion/pull/9). You can use it to compare benchmarks against each other. To use it simply place the `bcompare` function in front of the benchmarks you want to compare (the first one is used as the reference).

Unfortunately the feature is not released yet but it is in criterion HEAD.