Attached is a simple script that will output dynamic function coverage, when combined with -d:Dprof
To use this script:
- Take a copy of the 'view' script; call it "view_dprof"
- Change the -wT at the top of view_dprof to "-d:DProf"
- View a page using the dprof script instead of view
- set $bin in this script to point to the bin directory of the installation
- run the script
Functions will be sorted by the number of times they were called. You
can pull the same trick for other scripts e.g. edit_dprof.
--
CrawfordCurrie - 18 Oct 2004
GraphVizForPerl has some potential here.
--
MartinCleaver - 18 Oct 2004
CategoryPerformance