~/talk

What we have learned about memory profiling in the last 5 years

Talkat 2025 Haskell Ecosystem Workshop · on Thursday, 2025-06-05· [haskell]
links:none on file
slides:none on file

Retrospective lists concrete tooling and workflows: collect runtime events with +RTS -l, visualize heap bands and per-closure counts with eventlog2html, and drill precise retainers with GHC debug (break/snapshot mode). Use -hT for closure-type counts, -hI plus an info table map to get per-thunk source locations (bigger binaries and slower compilation). Era profiling tags allocations to track lifetimes. Event-log traces add almost no overhead; profiling runtime helps time/cost-centre work but not heap heat maps. A 100-path retainer query can take ~23s in the demo.

AI-written summary · about

  1. 0:00Memory profiling in Haskell
  2. 1:08Five years of progress
  3. 5:23Axes of memory tools
  4. 8:15Memory invariants
  5. 14:53Event log fundamentals
  6. 19:06Heap profiling with EventLogToHTML
  7. 25:25Closure types basics
  8. 28:56Closure type profiling
  9. 33:52Heap analysis with EventLogToHTML
  10. 41:16User traces correlation
  11. 46:45Info table profiling
  12. 56:37Profiling by era
  13. 1:02:10GHC Debug
  14. 1:18:48Tool adoption challenges
  15. 1:23:00Summary and future
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.