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
Nothing scientific but using cached data speeds up code loading by roughly 50%. JS code from node_modules are around 20-25% of the total code we load at startup. For node_module tho it seems that don't gain that must (maybe because things are scattered in many little files)
Using cached data
Not using cached data (but also not generating it)
You can see that loading workbench.main.js drops from ~1sec to ~500ms but for node_modules we only drop from ~150ms to ~100ms. Generating cached data (which happens on very first start up) add roughly 15%. Note that these numbers vary from system to system, see them with "F1 > Startup Performance". When refreshing/reloading a page cached data isn't used (for some unknown reason), when starting fresh or creating a new window it is used. Cached data is stored per build, e.g. /Users/jrieken/Library/Application Support/Code - Insiders/CachedData/64d532ccb681ddbef0039db1effa2949f1993214
Loading node modules is around 20% of loading code and we should look into making that part faster using the trick of code cached data.
The text was updated successfully, but these errors were encountered: