The ghc-gc-tune package

[ Tags: bsd3, development, program ] [ Propose Tags ]

ghc-gc-tune runs your compiled Haskell program with different GC flags, and generates a graph of time as those GC settings vary. ghc-gc-tune lets your automate the task of finding good GC flags for your program, in order to get the best performance from it.

Graphs are rendered with gnuplot, so make sure that is installed.

Example use:

ghc -O2 --make binarytrees.hs
ghc-gc-tune -t svg binarytrees 12

Example output:

For more information on GHC garbage collector settings, see


Versions 0.1, 0.2, 0.2.1, 0.3
Dependencies base (>=4 && <=5), directory, filepath, process (>=1.0.1) [details]
License BSD3
Author Don Stewart
Maintainer Don Stewart
Category Development
Home page
Source repo head: darcs get
Uploaded Sat Dec 1 18:00:50 UTC 2012 by DonaldStewart
Distributions NixOS:0.3
Executables ghc-gc-tune
Downloads 1694 total (20 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2016-12-23 [all 8 reports]
Hackage Matrix CI


Maintainer's Corner

For package maintainers and hackage trustees