You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Paul Bowen-Huggett edited this page Jun 6, 2018
·
9 revisions
The following charts show the time spent in the "back-end" of LLVM when compiling large projects (Clang+LLVM3.7 and Chrome). The X axis contains a point for each of the project's source files: for each of these, the position on the Y axise shows the ratio of time spent in clang (i.e. the “front-end”) to the time spent in LLVM (the “back-end”) performing optimization and code-generation.
The llvm-prepo compiler work eliminates the back-end time for functions that are not changed by a user between compilations. These charts show the percentage compilation time reduction if we assume that the llvm-prepo passes themselves add no overhead; this corresponds to the ”speed of light” for the project.
The data in these charts was produced by capturing the output of the "-ftime-report" option, parsing the resulting files and categorizing each entry as "front-end" or "back-end". The build was performed 16 times and the mean timings taken.