Tags:
create new tag
, view all tags
Attached is a simple script that will output dynamic function coverage, when combined with -d:Dprof

To use this script:

  1. Take a copy of the 'view' script; call it "view_dprof"
  2. Change the -wT at the top of view_dprof to "-d:DProf"
  3. View a page using the dprof script instead of view
  4. set $bin in this script to point to the bin directory of the installation
  5. 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

Topic attachments
I Attachment Action Size Date Who Comment
Texttxt coverage.pl.txt manage 1.3 K 2004-10-18 - 12:53 CrawfordCurrie  
Topic revision: r3 - 2006-04-28 - HaraldJoerg
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.