For the lulz: ddmd vs libdparse lexer timings
Brian Schott via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jan 5 23:01:41 PST 2015
On Monday, 5 January 2015 at 00:50:57 UTC, Brian Schott wrote:
> Looks like it's time to spend some more time with perf:
>
> http://i.imgur.com/k50dFbU.png
>
> X-axis: Meaningless (Phobos module file names)
> Y-axis: Time in "hnsecs" (Lower is better)
>
> I had to hack the ddmd code to get it compile (more "1337 h4x"
> were required to compile with LDC than with DMD), so I haven't
> uploaded the code for the benchmark to Github yet.
>
> Both tests were in the same binary and thus had the same
> compiler flags.
Now with more copy-paste inlining!
http://i.imgur.com/D5IAlvl.png
I'm glad I could get this kind of speed up, but not happy with
how ugly the changes were.
More information about the Digitalmars-d
mailing list