Journal of Functional Programming · 1995 · 15 citations · 29 references
ComputingComputer EngineeringComputer ScienceCompilersParallel ComputingProgramming LanguagesAbstract Syntax TreesBehavioral AnalysisControl-flow AnalysisData-flow AnalysisLexical AnalysisLexical ProfilingLexical Analysis Of Programming LanguagesParallel ReductionProfiling
Abstract This paper addresses the issue of analysing the run-time behaviour of lazy, higher-order functional programs. We examine the difference between the way that functional programmers and functional language implementors view program behaviour. Existing profiling techniques are discussed and a new technique is proposed which produces results that are straightforward for programmers to assimilate. The new technique, which we call lexical profiling , collects information about the run-time behaviour of functional programs, and reports the results with respect to the original source code rather than simply listing the actions performed at run-time. Lexical profiling complements implementation-specific profiling and is important because it provides a view of program activity which is largely independent of the underlying evaluation mechanism. Using the lexical profiler, programmers may easily relate results back to the source program. We give a full implementation of the lexical profiling technique for a sequential, interpretive graph reduction engine, and extensions for compiled and parallel graph reduction are discussed.
29
The implementation of functional programming languages
Microprocessors and Microsystems · 1987 · 1.1K citations
Susan L. Graham, Peter B. Kessler, Marshall Kirk McKusick · 1982 · 978 citations
Why Functional Programming Matters
John Hughes · The Computer Journal · 1989 · 739 citations · Full text
An empirical study of FORTRAN programs
Donald E. Knuth · Software Practice and Experience · 1971 · 682 citations
List processing in real time on a serial computer
Henry G. Baker · Communications of the ACM · 1978 · 592 citations · Full text