On Fri, Jan 24, 2014 at 8:15 PM, Dmitry Olshansky <dmitry.o...@gmail.com> wrote: > 24-Jan-2014 20:31, Philippe Sigaud пишет: > >> I'm trying to use the `-profile` flag for DMD and, without any >> documentation, I can't really understand the resulting log files: >> >> * They contain only mangled names. Is there a way to get demangled, >> human-readable symbols? >> > pipe it though ddemangle tool. I though it was shipped with compiler.
Maybe it is :-) I never used it, though. Will it automatically demangle all mangled symbols it finds? Can I use it on other outputs with mangled symbols? >> * Can someone tell me what the numbers means? > > > Ticks spent in this function. One column specifies inclusive time (the whole > call-tree of that function) another one exclusive - time spent exactly in > this function not its children. OK. I get it. >> Is there a page somewhere on dlang.org that explains how to use the >> profiler? > > > http://digitalmars.com/ctg/trace.html > see Dynamic Profiling With DMD There it is! I knew I saw some page on profiling long ago. Must have been before the switch to dlang.org. Thanks a lot.