Since generating realms with Omoikane was slow, I looked into Boa’s scope lookup and lexical analysis.
Each time we created a JavaScript realm with Omoikane, it parsed and compiled a roughly 1.1 MB DOM bootstrap. I’ll document how we shifted from a caching approach to improving Boa’s scope lookup and lexical analysis in the Rust‑based JavaScript engine, along with the actual measurements from the test profile.