On 2015-03-30 18:09, Martin Krejcirik wrote:
Here is one example:
Orange d5b2e0127c67f50bd885ee43a7dd61dd418b1661
https://github.com/jacob-carlborg/orange.git
make
2.065.0
real 0m9.028s
user 0m7.972s
sys 0m0.940s
2.066.1
real 0m10.796s
user 0m9.629s
sys 0m1.056s
2.067.0
real 0m13.543s
user 0m12.097s
sys 0m1.348s
These are the timings for compiling the unit tests without linking. It
passes all the files to DMD in one command. The make file invokes DMD
once per file.
1.076
real 0m0.212s
user 0m0.187s
sys 0m0.022s
2.065.0
real 0m0.426s
user 0m0.357s
sys 0m0.065s
2.066.1
real 0m0.470s
user 0m0.397s
sys 0m0.064s
2.067.0
real 0m0.510s
user 0m0.435s
sys 0m0.074s
It might not be fair to compare with D1 since it's not exactly the same
code.
--
/Jacob Carlborg