[Issue 17577] 20%+ Performance degradation in std.conv.to due to 'import std.getopt'

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jun 29 18:08:57 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17577

--- Comment #2 from Jon Degenhardt <jrdemail2000-dlang at yahoo.com> ---
(In reply to Vladimir Panteleev from comment #1)
> Reproducible on Linux x86_64 (11.6 / 10.6 seconds with dmd)
> 
> (In reply to Jon Degenhardt from comment #0)
> > Implication so far is that
> > something is interfering with proper inlining.
> > [...]
> >   $ ldc2 -release -O3 -boundscheck=off -singleobj use_conv_to.d
> >   $ dmd -release -O -boundscheck=off use_conv_to.d
> 
> This command line does not include -inline.

Nice catch. I'll add -inline to the DMD command lines and retry. (It doesn't
apply to the LDC command line.) Thanks!

--


More information about the Digitalmars-d-bugs mailing list