[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:00:24 PDT 2017


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

Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dlang-bugzilla at thecybershad
                   |                            |ow.net

--- Comment #1 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
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.

--


More information about the Digitalmars-d-bugs mailing list