ACM Home Page
Please provide us with feedback. Feedback
Time and space profiling for non-strict, higher-order functional languages
Full text PdfPdf (1.28 MB)
Source Annual Symposium on Principles of Programming Languages archive
Proceedings of the 22nd ACM SIGPLAN-SIGACT symposium on Principles of programming languages table of contents
San Francisco, California, United States
Pages: 355 - 366  
Year of Publication: 1995
ISBN:0-89791-692-1
Authors
Patrick M. Sansom  Dept. of Computing Science, University of Glasgow, Glasgow, Scotland
Simon L. Peyton Jones  Dept. of Computing Science, University of Glasgow, Glasgow, Scotland
Sponsors
SIGPLAN: ACM Special Interest Group on Programming Languages
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 5,   Downloads (12 Months): 19,   Citation Count: 17
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/199448.199531
What is a DOI?

ABSTRACT

We present the first profiler for a compiled, non-strict, higher-order, purely functional language capable of measuring time as well as space usage. Our profiler is implemented in a production-quality optimising compiler for Haskell, has low overheads, and can successfully profile large applications.A unique feature of our approach is that we give a formal specification of the attribution of execution costs to cost centres. This specification enables us to discuss our design decisions in a precise framework. Since it is not obvious how to map this specification onto a particular implementation, we also present an implementation-oriented operational semantics, and prove it equivalent to the specification.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
AW Appel, BF Duba & DB MacQueen {Nov 1988}, "Profiling in the presence of optimization and garbage collection," Technical Report CS-TR-197-88, Princeton University.
 
2
 
3
C Clack, S Clayman & D Parrott{March 1994}, "Lexical Profiling: Theory and Practice," Dept of Computer Science, University College London. To appear in Journal of Functional Programming.
 
4
 
5
SL Graham, PB Kessler & MK McKusick {1983}, "An execution profiler for modular programs," Software m Practice and Experience 13(8), 671-685.
6
 
7
SA Jarvis{April 1994}, "Profiling Large Scale Lazy Functional Systems," Artificial Intelligence Research Group, University of Durham.
8
9
 
10
J Launchbury{June 1993b}, "Lazy imperative programming," Proceedings of A CM SIGPLAN Workshop on State in Programming Languages, Copenhagen, Denmark, 46-56. Available as Research Report YALEU/DCS/RR-968, Yale University.
 
11
SL Peyton Jones {April 1992}, "Implementing lazy functional languages on stock hardware: the Spineless Tagless G-machine," Journal of Functional Programming 2(2), 12#-202
 
12
SL Peyton Jones, CV Hall, K Hammond, WD Partain & PL Wadler{March 1993}, "The Glasgow Haskell compiler: a technical overview," Joint Framework for Information Technology (JFIT) Technical Conference Digest, Keele, 249-257.
 
13
C Runciman & N RSjemo{1994}, "New dimensions in heap profiling," Departments of Computer Science, Chalmers University and University of York.
 
14
C Runciman & D Wakeling {April 1993}, "Heap profiling of lazy functional programs," Journal of Functional Programming 3(2), 217-245.
 
15
PM Sansom {1994a}, "Time profiling a lazy functional compiler," in Functional Programming, Glasgow 1993, K Hammond & J O'Donneli, eds., Workshops in Computing, Springer Verlag.
 
16
PM Sansom {Sept 1994b}, "Execution profiling for non-strict functional languages," PhD thesis, Research Report FP-1994-09, Dept of Computing Science, University of Glasgow. (ftp://ftp. dcs. glasgow, ac. uk/pub/ glasgow-fp/t ech.report s/ FP- 94- 09_ex ecut ~ on-prof ~ling. ps. Z ).
 
17
PM Sansom #z SL Peyton Jones{Nov 1994}, "Time and space profiling for non-strict, higher-order functional languages," Research Report FP-1994-10, Dept of Computing Science, University of Glasgow. (ftp: //ftp. dcs. glasgow, ac. uk/pub/ glasgow-fp/t ech_repor t s/ FP-94-10_t imespace-prof il ing. ps. Z).
 
18
P Sestoft {April 1994}, "Deriving a Lazy Abstract Machine," Dept of Computer Science, Techm'cal University of Denmark.

CITED BY  17

Collaborative Colleagues:
Patrick M. Sansom: colleagues
Simon L. Peyton Jones: colleagues