[PDF][PDF] Call path profiling

RJ Hall - Proceedings of the 14th international conference on …, 1992 - dl.acm.org
RJ Hall
Proceedings of the 14th international conference on Software engineering, 1992dl.acm.org
Abstract Robert J. Hall AT&T Bell Laboratories 600 Mountain Ave. Murray Hill, NJ 07974-
0636 hall@ allegra. att. com Practical performance improvement of a complex program must
be guided by empirical measurements of its resource usage in order to avoid wasting
programmer time and to avoid needlessly destroying the original, clear structure. Previous
approaches to measuring programs, while very useful, have shortcomings in that they
provide either too little or too much information. In this paper, I classify previous approaches …
Abstract
Robert J. Hall AT&T Bell Laboratories 600 Mountain Ave. Murray Hill, NJ 07974-0636 hall@ allegra. att. com
Practical performance improvement of a complex program must be guided by empirical measurements of its resource usage in order to avoid wasting programmer time and to avoid needlessly destroying the original, clear structure. Previous approaches to measuring programs, while very useful, have shortcomings in that they provide either too little or too much information. In this paper, I classify previous approaches, explain their strengths and weaknesses, and describe a new approach, call path profiling, that reports resource usage of subroutine calls in their full lexical contexts. This relates resource usage directly to design decisions, providing better guidance to the optimizer. I also discuss the implementation of CPP, a working prototype that operates on Common Lisp programs.
ACM Digital Library