You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fuse emitting and printing of trees in the backend
This allows us to use the Emitter's powerful caching mechanism to
directly cache printed trees (as byte buffers) and not cache
JavaScript trees anymore at all.
This reduces in-between run memory usage on the test suite from
1.12 GB (not GiB) to 1.00 GB on my machine (roughly 10%).
Runtime performance (both batch and incremental) is unaffected.
It is worth pointing out, that due to how the Emitter caches trees,
classes that end up being ES6 classes is performed will be held twice
in memory (once the individual methods, once the entire class).
On the test suite, this is the case for 710 cases out of 6538.
0 commit comments