~/talk

Optimising for fast builds with GHC

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

Shows a workflow and tools to cut Haskell compile time: use the GHC build stats plugin to list slow modules and emit traces, find the package or module critical path (example 23s of a 55s build), and benchmark changes in CI. Practical fixes include a binary search to isolate hot definitions, remove reexports, split interface vs implementation, avoid indiscriminate INLINE/specialization, and prefer 8 physical cores per GHC job for best memory/parallelism tradeoffs.

AI-written summary · about

  1. 0:00Introduction
  2. 3:15Build time factors
  3. 9:12Parallelism and caching
  4. 11:25Benchmarking slow modules
  5. 15:45Debugging with core analysis
  6. 21:03Package structure for parallel builds
  7. 26:45Module dependencies and interfaces
  8. 30:59Package graphs optimization
  9. 38:01Best practices for fast builds
  10. 39:50Q&A on GHC parallelism
  11. 53:15Architecture for build performance
  12. 56:26Tools for module graphs
  13. 58:15Critical path metrics
  14. 1:00:26Q&A and closing
~/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.