DMD backend quality (Was: Re: DIP 1031--Deprecate Brace-Style Struct Initializers--Community Review Round 1 Discussion)
H. S. Teoh
hsteoh at quickfur.ath.cx
Tue Feb 18 22:25:49 UTC 2020
On Tue, Feb 18, 2020 at 10:14:54PM +0000, kinke via Digitalmars-d wrote:
> On Tuesday, 18 February 2020 at 21:26:14 UTC, H. S. Teoh wrote:
> > With `dmd -O -inline`, a typical run is about 25-26 seconds. With
> > `ldmd2 -O3`, a typical run is about 16-17 seconds. We're looking at
> > a ~30% increase in performance here
>
> Take care with such numbers - this sounds more like a 50% increase in
> performance. A speed-up by 4 (300% performance *increase*) results in
> 1/4th of the runtime, i.e., a runtime *decrease* by 75%.
Even better then. :-D
T
--
"A one-question geek test. If you get the joke, you're a geek: Seen on a California license plate on a VW Beetle: 'FEATURE'..." -- Joshua D. Wachs - Natural Intelligence, Inc.
More information about the Digitalmars-d
mailing list