I love the work OP is doing (I'm biased as I work on profiling), but from my experience pretty much every JS project suffer from some of the problems described in this series of articles.
This is one of the things that makes me most excited about Bun. It’s much faster for certain kinds of things like this, and I hope its focus on performance spurs a positive arms race of sorts.