[Issue 14955] New: [D1] Add module profiling feature
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Aug 24 07:22:20 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14955
Issue ID: 14955
Summary: [D1] Add module profiling feature
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: andrej.mitrovich at gmail.com
Since the -profile switch by default generates a try/finally
for every function which is generated this causes a major
slowdown of the application and makes it hard to frequently
do performance analysis or even do analysis on a specific
set of functions.
Instead one could profile a specific module via:
$ dmd -profile=my.mod ...
It's fairly easy to implement.
--
More information about the Digitalmars-d-bugs
mailing list