|
|
|
Profile-Guided Optimization: Compiler Optimization, Adaptive Optimization, Aliasing (Computing)
|
 (Buch) |
Dieser Artikel gilt, aufgrund seiner Grösse, beim Versand als 2 Artikel!
| Inhalt: |
| Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Profile-guided
optimization (PGO, sometimes pronounced as "pogo") is a compiler
optimization technique in computer programming to improve program
runtime performance. In contrast to traditional optimization techniques
that solely use the source code, PGO uses the results of test runs of
the instrumented program to optimize the final generated code. The
compiler is used to access data from a sample run of the program across
a representative input set. The data indicates which areas of the
program are executed more frequently, and which areas are executed less
frequently. All optimizations benefit from profile-guided feedback
because they are less reliant on heuristics when making compilation
decisions. The caveat, however, is that the sample of data fed to the
program during the profiling stage must be statistically representative
of the typical usage scenarios; otherwise, profile-guided feedback has
the potential of harming the overall performance of the final build
instead of improving it. |
|