Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000849XdebugFeature/Change requestpublic2012-06-02 19:142012-06-25 19:06
Reporterdinu 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000849: Decrease tracing/profiling overhead
DescriptionAs mentioned, I get 200% to 600% execution timings when tracing a script; is it at all possible to reduce this overhead? Especially since I'm guessing it's roughly linear with the number of function calls, it makes profiling scripts with large number of funcalls difficult.

For instance, I have a script that runs under 400ms, but does in excess of 100K calls; this leads to a traced execution time of 2s. The functions at the bottom of the call tree (those that get called a lot) pull a lot of weight for being traced, although execution in a timed cycle shows they don't pulled nearly as much weight as the profile reports.
TagsNo tags attached.
Operating System
PHP Version5.3.3
Attached Files

- Relationships

-  Notes
(0002279)
derick (administrator)
2012-06-25 19:06

This is definitely on the plan!

- Issue History
Date Modified Username Field Change
2012-06-02 19:14 dinu New Issue
2012-06-25 19:06 derick Note Added: 0002279


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker