On Tue, 30 Jan 2018 08:58:48 -0500, Steven Schveighoffer wrote:

On 1/30/18 5:19 AM, Martin Tschierschke wrote:

On Mon, 29 Jan 2018 11:29:30 -0500, Steven Schveighoffer wrote:

On 1/29/18 11:05 AM, Martin Tschierschke wrote:

I just took the time and minimized my application to see, why the compilation time has increased.


If the linking speed is the problem, then perhaps it's symbol name size.
I know that if the linker is dealing with huge symbols (which isn't hard
to have with all the templating that vibe.d does), then it is much slower.

Not sure if there's a solution. I know that a recent version of DMD
helped with the symbol size, but it may not be recursive symbols that is
your problem.

You may get more traction with help by posting an example.


Thank you, as posted in the D Forum, one reason for the slow compilation, was my use of ctRegex, I removed nearly everything from my example but forgot an additional .d file in source/
It was not imported, but still compiled, now I get the following timing:

real 0m3.148s
user 0m2.612s
sys 0m0.480s

Do you know how to measure compile/linking time separately with dub?