digitalmars.D.bugs - [Issue 9787] New: Improve performance of -profile by factor of 10
- d-bugmail puremagic.com (22/22) Mar 22 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9787
http://d.puremagic.com/issues/show_bug.cgi?id=9787 Summary: Improve performance of -profile by factor of 10 Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: druntime AssignedTo: nobody puremagic.com ReportedBy: bugzilla digitalmars.com 15:34:13 PDT --- Although -profile works, it is slow enough that its use is severely restricted on larger, more complex programs. Decreasing its overhead by a factor of 10 will help with this. One place to start is trace_addsym(). It does a tree lookup of the function name upon every function entry. It could be replaced with a hash lookup of the return address for _c_trace_pro() in druntime/src/rt/trace.d. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 22 2013