Tracing And Heap Profiling

Afp0506
-- IngmarBrouns - 23 Sep 2003

Introduction

This is the website of Ingmar Brouns and Robert van Herk. We are currently preparing a presentation for the course Advanced Functional Programming. The subject of our presentation is Tracing and Heap Profiling. It will be held on October 23 at the BBL room 505.

History

  • 23 sep, site created
  • 23 sep, literature added
  • 14 oct, literature added
  • 14 oct, literature added

Literature

Our stuff

Assignment

Our assignment is to
  • make your own program. It can be very simple. Make something stupid in this program, so that it runs too slow or uses more memory than it should.
  • Next, make a heap profile of your program and explain how the inefficiency you implemented is shown in the profile.
  • Finally, make an efficient version of your program and make a new profile. Explain what changes you made and how this can be seen in the profile.

As an example, you could think of:

  • Implement insertion sort. Make a profile. Implement quick sort. Make a new profile and explain the differences.
  • Implement a parser in an inefficient library and in an efficient library. Explain the differences that appear in the profiles.
  • Something else. It can be anything, as long as you do not use reverse, since this was the example in our presentation.

Grades for the excercises:

Christof Douma9908188+
Guno Heitman0054445+
Joost Verhoog0019755 0
Niels ReynGoud? 0019593 +
Martje Kolthof0019356 +
Niels Naat van der Velden 0019720 +
Peter f Nagel +

Information on compiling for heap profiling in GHC can be found on http://www.haskell.org/ghc/. See chapter 5 of the documentation.

Topic attachments
I Attachment Action Size Date Who Comment
pdfpdf betaversiepresdeel1.pdf manage 110.2 K 21 Oct 2003 - 18:25 IngmarBrouns Wordt nog gespelchecked en gefinetuned
zipzip slides.sxi.zip manage 11.4 K 21 Oct 2003 - 18:33 IngmarBrouns Beta versie, wordt nog gefinetuned etc...
pdfpdf slides_ingmar.pdf manage 314.4 K 22 Oct 2003 - 21:56 IngmarBrouns De presentatie versie van ingmars slides
pdfpdf slides_robert.pdf manage 64.6 K 22 Oct 2003 - 21:21 RobertVanHerk