Optimization coaching
Authors:
Open Access
- 19 October 2012
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 47 (10) , 163-178
Abstract
Optimizing compilers map programs in high-level languages to high-performance target language code. To most programmers, such a compiler constitutes an impenetrable black box whose inner workings are beyond their understanding. Since programmers often must understand the workings of their compilers to achieve their desired performance goals, they typically resort to various forms of reverse engineering, such as examining compiled code or intermediate forms. Instead, optimizing compilers should engage programmers in a dialog. This paper introduces one such possible form of dialog: optimization coaching. An optimization coach watches while a program is compiled, analyzes the results, generates suggestions for enabling further compiler optimization in the source program, and presents a suitable synthesis of its results to the programmer. We present an evaluation based on case studies, which illustrate how an optimization coach can help programmers achieve optimizations resulting in substantial performance improvements.Keywords
This publication has 20 references indexed in Scilit:
- Understanding and detecting real-world performance bugs2012
- Typing the Numeric TowerLecture Notes in Computer Science, 2012
- Catch me if you can2011
- Debugging hygienic macrosScience of Computer Programming, 2010
- Finding and Removing Performance Bottlenecks in Large Systems2004
- Integrating the Soot Compiler Infrastructure into an IDELecture Notes in Computer Science, 2004
- DrScheme: a programming environment for SchemeJournal of Functional Programming, 2002
- Catching bugs in the web of program invariants1996
- Loops skewing: The wavefront method revisitedInternational Journal of Parallel Programming, 1986
- An empirical study of FORTRAN programsSoftware: Practice and Experience, 1971