Which one would you recommend we (VSCode) use?
Today, we are using cached data, but I wanted to find out if a startup
snapshot would help us more. I've crammed all of VSCode's source code
(except third party node modules) in a file and I've created a startup
snapshot using `mksnapshot`. I would have thought that the startup snapshot
would beat the current cached data usage on startup speed by a long shot...
I was surprised to see that all of the time gains of using a startup
snapshot (~200-300ms of code loading) is lost and then some while creating
the UI (DOM and stuff...). It looks to me like the code that lives in the
startup snapshot is fundamentally slower (50% or 100% slower), and that
perhaps it does not use inlining? (see the deep stack traces below).
1. Before (using cached data)
2. After (using startup snapshot)
Is this expected? Cached data is always faster than startup snapshot?
We are on an oldish version of v8 (5.8.283.38), as we're using Electron
v8-users mailing list
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.