D - Profiler
- anderson (31/31) Oct 16 2002 Does D have any profilers built into it? (If so skip the rest).
- Burton Radons (2/3) Oct 15 2002 "-gt" adds trace profiling hooks.
- Walter (4/7) Oct 20 2002 The trace profiler is actually highly useful. I've used it a lot, and it...
- Evan McClanahan (6/18) Oct 22 2002 I suppose that this applies to the Exceptions thread above, also. When...
- Walter (5/17) Oct 24 2002 it's
Does D have any profilers built into it? (If so skip the rest). If it doesn't I think it would be cool if there was something built into the complier or standard lib to simplify the process. It could be removed in the release like contracts. Perhaps it could be part of contracts. Perhaps it can already be done with a timer and contracts, but I'm looking for something more sophisticated. Perhaps it could be done in a meta-language, but that's never as nice as having it direct in the language itself. I don't know what the final version would look like, I'm hoping you peoples could help fill in those details. Parhaps it could be an extention to contracts. It should be able to inform how long (and how many times) lines, procedure, ect... are peformed. Parhaps a syntax format (something to begin with working with anyhow). Profiler("Test 1", LINE_BY_LINE) { ... } Where test 1 gives the each profile a name. And parhaps you could specify to the complier where to output the profiler results (and when to turn it off and on). They could also be nested. Profiler("Test 1", LINE_BY_LINE) { Profiler("Test 2", PROC_BY_PROC) { ... } } And it would return some comprehesive set of results for anaysis. It would be really useful in performace programming (but I don't need to tell you that).
Oct 16 2002
anderson wrote:Does D have any profilers built into it? (If so skip the rest)."-gt" adds trace profiling hooks.
Oct 15 2002
"Burton Radons" <loth users.sourceforge.net> wrote in message news:aoig72$19fa$1 digitaldaemon.com...anderson wrote:The trace profiler is actually highly useful. I've used it a lot, and it's the reason why DMC is the fastest compiler available.Does D have any profilers built into it? (If so skip the rest)."-gt" adds trace profiling hooks.
Oct 20 2002
Walter wrote:"Burton Radons" <loth users.sourceforge.net> wrote in message news:aoig72$19fa$1 digitaldaemon.com...I suppose that this applies to the Exceptions thread above, also. When I use vtune with the -gt compiled version of a d program, it can't fnid the symbols or the source. Will the VS profiler handle this correctly, or is there some other profiler that you reccommend for use with d? Evananderson wrote:The trace profiler is actually highly useful. I've used it a lot, and it's the reason why DMC is the fastest compiler available.Does D have any profilers built into it? (If so skip the rest)."-gt" adds trace profiling hooks.
Oct 22 2002
"Evan McClanahan" <evan dontSPAMaltarinteractive.com> wrote in message news:ap39tq$gh1$1 digitaldaemon.com...Walter wrote:it's"Burton Radons" <loth users.sourceforge.net> wrote in message news:aoig72$19fa$1 digitaldaemon.com...anderson wrote:The trace profiler is actually highly useful. I've used it a lot, andDoes D have any profilers built into it? (If so skip the rest)."-gt" adds trace profiling hooks.Vtune should be used with -g to emit symbolic debug info. The -gt is for the Digital Mars trace profiler, which has nothing for vtune.the reason why DMC is the fastest compiler available.I suppose that this applies to the Exceptions thread above, also. When I use vtune with the -gt compiled version of a d program, it can't fnid the symbols or the source. Will the VS profiler handle this correctly, or is there some other profiler that you reccommend for use with d?
Oct 24 2002