Microsoft Edge now has improved memory usage through the defer-parsing mechanism. Not a new function, defer-parsing has been used since the days of Internet Explorer. The feature allows Chaka to check for syntax errors at startup and can delay full parsing until functions are called.
The key benefit of defer-parsing is that it can improve the load time of the browser and web pages. In Windows 10 Creators Update, Microsoft Edge introduces the concept of re-deferring.
In its Windows Blog post, Microsoft explains how the new system work:
“The idea of re-deferring is deceptively simple – for every function that Chakra deems would no longer get executed, the engine frees the bulk of the memory the function holds to store metadata generated after pre-parsing, and effectively leaves the function in a deferred state as if it has just been pre-parsed.”
Improving Microsoft Edge
The old method of implementing DOM was simply pulling down performance. Microsoft Edge now features a new DOM interface that results in fewer bugs. The company has been rolling out the ability over several major updates, but it is now complete with the Creators Update.