Do not claim that -O2 does not do better than -O
ClosedPublic

Authored by nomeata on Mar 30 2016, 9:12 AM.

Details

Summary

when in fact it does. This was pointed out by Johannes Bechberger and
supported with seemingly statistically sound evidence in his Bachelor
thesis: Of the benchmark shootout programs, 80% benefit significantly by
switchtng from -O to -O2.

See https://uqudy.serpens.uberspace.de/blog/2016/02/08/ghc-performance-over-time/
for a few raw numbers.

Diff Detail

Repository
rGHC Glasgow Haskell Compiler
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
nomeata retitled this revision from to Do not claim that -O2 does not do better than -O.Mar 30 2016, 9:12 AM
nomeata updated this object.
nomeata edited the test plan for this revision. (Show Details)
austin accepted this revision.Mar 30 2016, 10:49 AM

My brain has trouble with the double negative in the title. :)

This revision is now accepted and ready to land.Mar 30 2016, 10:49 AM
This revision was automatically updated to reflect the committed changes.