#894: Add benchmark support ----------------------------+----------------------------------------------- Reporter: tibbe | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal library | Version: Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ----------------------------+----------------------------------------------- Today, a user needs to rely on external tools, such as Make, to build benchmarks associated with a package. This has a couple of issues:
* It's hard to have both Make (which builds the benchmark) and Cabal (which builds the library) pick the same versions of package dependencies. This leads to compilation errors when the user installs or removes some packages from his/her system. * It's hard to accurately track what needs to be rebuilt when, forcing the user to rebuild more than necessary, which wastes time. Proposal: Add a new `.cabal` file section for benchmarks, modeled after the "test-suite" section. Usage: {{{ cabal configure --enable-benchmarks cabal build cabal bench # results are written to stdout }}} -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/894> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects _______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel