Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Split out compiler snapshot #1566
This PR splits out the compiler from the Deno runtime. It is working, but has at least one issue, in that stack traces for errors inside of the compiler worker are not rewritten properly, because Rust does not have the source map for this.
There is a rather dramatic change in the snapshot size. Before:
as far as benchmarks I am getting this on my machine before the split:
And the following after the split:
That is about a 30% "warm" startup improvement!!! (and a less impressive improvement of 2% on "cold" startup)