For the lulz: ddmd vs libdparse lexer timings

Shammah Chancellor via Digitalmars-d digitalmars-d at puremagic.com
Thu Jan 8 18:21:14 PST 2015


On 2015-01-05 00:50:55 +0000, Brian Schott said:

> 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.

I'd be interested to know where libd sits on here.  It's lexer is very 
clever.  Props to Amaury or Bernhard (whoever wrote it)

-S.



More information about the Digitalmars-d mailing list