Re: Speeding up LDC with Make jobs

2015-01-31 Thread Martin Nowak via Digitalmars-d
It seems completely unrelated to the -j flag, just related to per-file compilation. Look at the linker map file, maybe one build results in a better layout, though the effect should be marginal.

Re: Speeding up LDC with Make jobs

2015-01-30 Thread weaselcat via Digitalmars-d
On Saturday, 31 January 2015 at 03:33:26 UTC, Vladimir Panteleev wrote: On Saturday, 31 January 2015 at 03:27:32 UTC, weaselcat wrote: Wasn't a random occurrence, consistently about 30-40ms shorter with the parallel version vs baseline, same flags(except for output flags.) Can you reproduce

Speeding up LDC with Make jobs

2015-01-30 Thread weaselcat via Digitalmars-d
Based on a post I saw here I thought it would be fun to see how much I could speed up compilation just by using per-file makefiles I decided to use DCD(server only) as the test bench, as it's slightly big with all of its dependencies and takes a medium amount of time to build. Plus it already

Re: Speeding up LDC with Make jobs

2015-01-30 Thread Brian Schott via Digitalmars-d
On Saturday, 31 January 2015 at 03:27:32 UTC, weaselcat wrote: Wasn't a random occurrence, consistently about 30-40ms shorter with the parallel version vs baseline, same flags(except for output flags.) You're making a pull request for this, right?

Re: Speeding up LDC with Make jobs

2015-01-30 Thread Vladimir Panteleev via Digitalmars-d
On Saturday, 31 January 2015 at 03:27:32 UTC, weaselcat wrote: Wasn't a random occurrence, consistently about 30-40ms shorter with the parallel version vs baseline, same flags(except for output flags.) Can you reproduce this is you interleave a dozen or so runs of the binaries built with and