top time wasters in DMD, as reported by gprof

Adam Wilson flyboynw at gmail.com
Mon Jun 24 12:27:56 PDT 2013


On Mon, 24 Jun 2013 11:44:24 -0700, Andrej Mitrovic  
<andrej.mitrovich at gmail.com> wrote:

> On 6/24/13, dennis luehring <dl.soluz at gmx.net> wrote:
>> i know - my question was - how does that look using msvc...
>
> The recent speed improvements in git-head have improve both the
> DMC-based and MSVC-based DMD executables. It shaved off from 700msecs
> on small projects up to 4 seconds on large projects for clean builds
> (for me).
>
> That being said the MSVC built compiler is usually twice as fast as
> the DMC built one. It goes to show that whatever is in that DMC
> backend is long outdated.

I asked Walter about that recently, he says that with all the focus on D  
there hasn't been enough time to seriously develop the backend in a LONG  
time. IIRC he said it's been something like 15 years since it's seen any  
serious development work...

NOTE: It came up because I was asking about getting things like  
auto-vectorization and Haswell's new Transactional Synchronization  
Extensions and the related instructions into the backend.

-- 
Adam Wilson
IRC: LightBender
Project Coordinator
The Horizon Project
http://www.thehorizonproject.org/


More information about the Digitalmars-d mailing list