As a fun hobby project, I’ve been writing a compiler and trying to optimize it as much as possible (for speed). It's interesting to see the memory allocation breakdown (which has some correlation to perf).
(Turns out error reporting is memory intensive).