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

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

Description

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

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.

Differential Revision: https://phabricator.haskell.org/D2065

Details

Committed
nomeataMar 30 2016, 11:07 AM
Pushed
bgamariAug 25 2016, 1:39 PM
Differential Revision
D2065: Do not claim that -O2 does not do better than -O
Parents
rGHCDIFF1757dd8ebed0: Don't recompute some free vars in lintCoercion
Branches
Unknown
Tags
Unknown