Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mpickering
Created June 11, 2021 14:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpickering/399de683cf7ef7cf224b0aeabd6ff379 to your computer and use it in GitHub Desktop.
Save mpickering/399de683cf7ef7cf224b0aeabd6ff379 to your computer and use it in GitHub Desktop.

Profiling memory usage of applications has historically been a difficult task, thankfully in recent years the profiling tools have become more sophisticated and now it is quite easy to work out memory usage issues, if you know how to ask the right question.

In this workshop, we will look at two profiling tools which can give you both high and low level insight into the memory usage of your application. Firstly, by using eventlog2html we will understand how to get a high-level overview of your program's memory usage. Then using these insights we will then learn how to use ghc-debug in order to answer some more precise questions about memory usage.

The presentation will not require any advanced knowledge but we will be delving into the internals so you should be comfortable with that. The majority of the workshop will be given over to allowing participants to experiment with the tools themselves on our toy examples or their own projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment