summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2016-03-30 16:09:36 +0200
committerJoachim Breitner <mail@joachim-breitner.de>2016-03-30 18:07:12 +0200
commit3d245bf5255ebfb72813596fa93b9051f7518321 (patch)
treecaef6b33ffa4e532dd8e0b90075be00898fceaa7 /docs
parent1757dd8ebed0732018319e43e6468b868a6aceeb (diff)
downloadhaskell-3d245bf5255ebfb72813596fa93b9051f7518321.tar.gz
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
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/using-optimisation.rst3
1 files changed, 0 insertions, 3 deletions
diff --git a/docs/users_guide/using-optimisation.rst b/docs/users_guide/using-optimisation.rst
index bc8e70036e..5e4995d968 100644
--- a/docs/users_guide/using-optimisation.rst
+++ b/docs/users_guide/using-optimisation.rst
@@ -79,9 +79,6 @@ one reason to stick to no-optimisation when developing code.
runtime or space *worse* if you're unlucky. They are normally turned
on or off individually.
- At the moment, ``-O2`` is *unlikely* to produce better code than
- ``-O``.
-
.. ghc-flag:: -Odph
.. index::