summaryrefslogtreecommitdiff
path: root/lld/docs
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-02-27 21:07:50 +0000
committerRui Ueyama <ruiu@google.com>2017-02-27 21:07:50 +0000
commit186ff0414da62f4c86fd55aaf046cfd7c55111e6 (patch)
treee12647ee8dc36648e7f5f5bd457175de4fd91e90 /lld/docs
parentf4b03523659521a8c9c48310d971ef4510cc23ea (diff)
Clarify benchmark conditions.
Diffstat (limited to 'lld/docs')
-rw-r--r--lld/docs/index.rst21
1 files changed, 14 insertions, 7 deletions
diff --git a/lld/docs/index.rst b/lld/docs/index.rst
index 952bcb8b255..6d9780458d1 100644
--- a/lld/docs/index.rst
+++ b/lld/docs/index.rst
@@ -81,13 +81,20 @@ Note that this is just a benchmark result of our environment.
Depending on number of available cores, available amount of memory or
disk latency/throughput, your results may vary.
-============ =========== ======= ======== ======
-Program Output size GNU ld GNU gold LLD
-ffmpeg dbg 91 MiB 1.59s 1.15s 0.78s
-mysqld dbg 157 MiB 7.09s 2.49s 1.31s
-clang dbg 1.45 GiB 86.76s 21.93s 8.38s
-chromium dbg 1.52 GiB 142.30s 40.86s 12.69s
-============ =========== ======= ======== ======
+============ =========== ============ ============= ======
+Program Output size GNU ld GNU gold [1]_ LLD
+ffmpeg dbg 91 MiB 1.59s 1.15s 0.78s
+mysqld dbg 157 MiB 7.09s 2.49s 1.31s
+clang dbg 1.45 GiB 86.76s 21.93s 8.38s
+chromium dbg 1.52 GiB 142.30s [2]_ 40.86s 12.69s
+============ =========== ============ ============= ======
+
+.. [1] With the ``--threads`` option to enable multi-threading support.
+
+.. [2] Since GNU ld doesn't support the ``-icf=all`` option, we
+ removed that from the command line for GNU ld. GNU ld would be
+ slower than this if it had that option support. For gold and
+ LLD, we use ``-icf=all``.
Build
-----