Understanding and detecting real-world performance bugs
Authors:
Top Cited Papers
Open Access
- 11 June 2012
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 77-88
Abstract
Developers frequently use inefficient code sequences that could be fixed by simple patches. These inefficient code sequences can cause significant performance degradation and resource waste, referred to as performance bugs. Meager increases in single threaded performance in the multi-core era and increasing emphasis on energy efficiency call for more effort in tackling performance bugs. This paper conducts a comprehensive study of 110 real-world performance bugs that are randomly sampled from five representative software suites (Apache, Chrome, GCC, Mozilla, and MySQL). The findings of this study provide guidance for future work to avoid, expose, detect, and fix performance bugs. Guided by our characteristics study, efficiency rules are extracted from 25 patches and are used to detect performance bugs. 332 previously unknown performance problems are found in the latest versions of MySQL, Apache, and Mozilla applications, including 219 performance problems found by applying rules across applications.Keywords
This publication has 42 references indexed in Scilit:
- Catch me if you can2011
- SHERIFF2011
- TraceAnalyzer: a system for processing performance tracesSoftware: Practice and Experience, 2010
- Learning from mistakes2008
- Semantic patches considered helpfulACM SIGOPS Operating Systems Review, 2006
- Modeling Runtime Behavior in Framework-Based Applications2006
- Automating vertical profiling2005
- DynaMine2005
- Isolating cause-effect chains from computer programs2002
- The Paradyn parallel performance measurement toolComputer, 1995