2013 IEEE 21st International Conference on Program Comprehension (ICPC) (2013)
San Francisco, CA, USA
May 20, 2013 to May 21, 2013
Fabian Beck , VISUS, University of Stuttgart, Germany
Oliver Moseler , University of Trier, Germany
Stephan Diehl , University of Trier, Germany
Gunter Daniel Rey , FernUniversität in Hagen, Germany
Finding and fixing performance bottlenecks requires sound knowledge of the program that is to be optimized. In this paper, we propose an approach for presenting performance-related information to software engineers by visually augmenting source code shown in an editor. Small diagrams at each method declaration and method call visualize the propagation of runtime consumption through the program as well as the interplay of threads in parallelized programs. Advantages of in situ visualization like this over traditional representations, where code and profiling information are shown in different places, promise to be the prevention of a split-attention effect caused by multiple views; information is presented where required, which supports understanding and navigation. We implemented the approach as an IDE plug-in and tested it in a user study with four developers improving the performance of their own programs. The user study provides insights into the process of understanding performance bottlenecks with our approach.
F. Beck, O. Moseler, S. Diehl and G. D. Rey, "In situ understanding of performance bottlenecks through visually augmented code," 2013 IEEE 21st International Conference on Program Comprehension (ICPC), San Francisco, CA, USA, 2013, pp. 63-72.