top time wasters in DMD, as reported by gprof

Wyatt wyatt.epp at gmail.com
Tue Jun 25 10:01:42 PDT 2013


On Tuesday, 25 June 2013 at 06:46:54 UTC, Marco Leise wrote:
> Am Mon, 24 Jun 2013 21:01:36 +0200
> schrieb Martin Nowak <code at dawg.eu>:
>
>> On 06/24/2013 08:43 PM, Martin Nowak wrote:
>> >
>> > I can try to install kernel debuginfo that 12% might contain 
>> > some useful
>> > information.
>> 
>> http://codepad.org/gWrGvm40
>
> Interesting. So to troll a bit, do I see it right, that dmd is
> mostly a Unicode conversion and memory allocation tool ?

Maybe not DMD, so much as GNU ld?  Whatever the case, I'm not 
surprised to see their iconv that high up in the list; in my 
experience, it's horrifically slow.

Ah, and a fun question: does that number change significantly 
when you modify your locale variables? (I think it should be 
enough to just export LC_CTYPE="C".)

-Wyatt


More information about the Digitalmars-d mailing list