simonmar / monad-par

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable Benchmark.hs to parallelize compile phase.

rrnewton opened this issue · comments

In particular it should produce all the executables at the outset, using unique names based on each configuration.

This would also enable shipping off a benchmark as a bundle of executables (e.g. Haskell CnC's "run_from_packed") which is especially useful when trying to benchmark, say, machines with old Redhat installs that don't run GHC easily.

Further, the code to traverse configurations should be generalized a bit and should support testing multiple GHC versions in one go.

And while we're at it should probably switch to throughput-benchmarking rather than time-benchmarking for parfib....

This is done. It takes a --par argument.