Hostname: page-component-77f85d65b8-lfk5g Total loading time: 0 Render date: 2026-04-19T06:14:48.010Z Has data issue: false hasContentIssue false

Heap profiling of lazy functional programs

Published online by Cambridge University Press:  07 November 2008

Colin Runciman
Affiliation:
Department of Computer Science, University of York, Heslington, York YO1 5DD, UK (e-mail: colin@minster.york.ac.uk, dw@minster.york.ac.uk)
David Wakeling
Affiliation:
Department of Computer Science, University of York, Heslington, York YO1 5DD, UK (e-mail: colin@minster.york.ac.uk, dw@minster.york.ac.uk)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

We describe the design, implementation and use of a new kind of profiling tool that yields valuable information about the memory use of lazy functional programs. The tool has two parts: a modified functional language implementation which generates profiling information during the execution of programs, and a separate program which converts this information to graphical form. With the aid of profile graphs, one can make alterations to a functional program which dramatically reduce its space consumption. We demonstrate this in the case of a genuine example - the first to which the tool was applied - for which the results are strikingly successful.

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 1993
Submit a response

Discussions

No Discussions have been published for this article.