visual-prof: Create a visual profile of a program's source code

[ bsd3, development, program ] [ Propose Tags ] [ Report a vulnerability ]

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.

Usage:

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)

Flags

Automatic Flags
NameDescriptionDefault
splitbase

Choose the new smaller, split-up base package.

Enabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.2, 0.3, 0.4, 0.5
Dependencies base (<5), containers, directory, filepath, haskell-src-exts (==1.13.5), mtl, pretty, process, regexpr, split, uniplate [details]
License BSD-3-Clause
Author Daniel Velkov
Maintainer djvelkov@gmail.com
Category Development
Home page http://github.com/djv/VisualProf
Uploaded by DanielVelkov at 2014-02-26T04:16:12Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables visual-prof
Downloads 4011 total (15 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2015-05-21 [all 7 reports]