Why C++ compiles slowly

Walter Bright newshound2 at digitalmars.com
Wed Aug 25 23:13:34 PDT 2010


Steven Schveighoffer wrote:
> On Tue, 24 Aug 2010 03:58:57 -0400, Walter Bright 
> <newshound2 at digitalmars.com> wrote:
> 
>> Steven Schveighoffer wrote:
>>> With profiling enabled, gprof outputs this as the top hitters:
>>>   Flat profile:
>>>  Each sample counts as 0.01 seconds.
>>>   %   cumulative   self              self     total
>>>  time   seconds   seconds    calls  ms/call  ms/call  name
>>>  77.76      6.68     6.68     2952     2.26     2.26  
>>> elf_findstr(Outbuffer*, char const*, char const*)
>>>   2.10      6.86     0.18     4342     0.04     0.04  searchfixlist
>>
>> elf_findstr definitely looks like a problem area. I can't look at it 
>> right now, so can you post this to bugzilla please?
> 
> http://d.puremagic.com/issues/show_bug.cgi?id=4721

Let me know how this works:

http://www.dsource.org/projects/dmd/changeset/628


More information about the Digitalmars-d mailing list