The visual-prof package

[Tags:bsd3, program]

visual-prof profiles your Haskell program and generates a html file containing its source code with parts of the code highlighted in different colors depending on the fraction of the running time that they take. visual-prof gives you an easy way to find places for optimization in your code.


 visual-prof -px A/B/C.hs run "arg1 arg2"

This will profile the C.hs file used by run.hs which contains the Main module of your project. Arguments to ./run are passed as shown (arg1, arg2,...). The parameters should be given in that order.

The simplest way to run it is:

 visual-prof -px test.hs test

which will generate a profile for the file test.hs (which needs to have a main function)


Versions 0.1, 0.2, 0.3, 0.4, 0.5
Dependencies base (<5), containers, directory, filepath, haskell-src-exts, mtl, parsec, pretty, process, regexpr, split, uniplate [details]
License BSD3
Author Daniel Velkov
Category Development
Home page
Uploaded Sat Feb 23 20:29:16 UTC 2013 by DanielVelkov
Distributions NixOS:0.5
Downloads 1284 total (16 in the last 30 days)
1 []
Status Docs not available [build log]
All reported builds failed as of 2016-12-22 [all 7 reports]


splitbaseChoose the new smaller, split-up base package.EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees