]> granicus.if.org Git - clang/commitdiff
Clarify performance experiments description based on feedback from
authorDaniel Dunbar <daniel@zuster.org>
Mon, 3 Nov 2008 20:03:58 +0000 (20:03 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 3 Nov 2008 20:03:58 +0000 (20:03 +0000)
Eric C, thanks!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58634 91177308-0d34-0410-b5e6-96231b3b80d8

www/performance.html

index 28ac6a6901156d266b2a5ef7b60f25abaf3e6c35..5246ac30b8576cf4d57f8d7b6a80212d774ebc57 100644 (file)
@@ -45,7 +45,7 @@ interesting benchmarks:
 
 <p>Measurements are done by serially processing each file in the
 respective benchmark, using Clang, gcc, and llvm-gcc as compilers. In
-order to track the performance of various subsystems, the timings have
+order to track the performance of various subsystems the timings have
 been broken down into separate stages where possible:
 
 <ul>
@@ -76,6 +76,12 @@ with <tt>-parse-noop</tt> (for clang) or <tt>-MM</tt> with gcc and
 llvm-gcc. This amounts to a fairly accurate measure of only the time
 to perform semantic analysis (and parsing, in the case of gcc and llvm-gcc).</p>
 
+<p>These timings are chosen to break down the compilation process for
+clang as much as possible. The graphs below show these numbers
+combined so that it is easy to see how the time for a particular task
+is divided among various components. For example, <tt>-S -O0</tt>
+includes the time of <tt>-fsyntax-only</tt> and <tt>-emit-llvm -O0</tt>.</p>
+
 <p>Note that we already know that the LLVM optimizers are substantially (30-40%)
 faster than the GCC optimizers at a given -O level, so we only focus on -O0
 compile time here.</p>