3 ms·
I'm an avid user of Atom, but one thing I'm curious about regarding the performance issues (which I primarily see on startup) is whether or not the JIT compilat
by peterkelly 10y ago
I'm an avid user of Atom, but one thing I'm curious about regarding the performance issues (which I primarily see on startup) is whether or not the JIT compilation done by V8 (which is what it uses behind the scenes) does any caching of generated code that lasts beyond a single program launch.
JavaScript JITs are designed with interpretation first in mind, and then optimised native code generation for hotspots. This works pretty well for apps loaded irregularly, but I'm wondering if it happens for apps based on Electron (of which Atom is an example)?
- randomfool 10y agoSuch as http://v8project.blogspot.com/2015/09/custom-startup-snapshots.html http://v8project.blogspot.com/2015/09/custom-startup-snapsho...? At a glance, it looks like there were some issues: https://github.com/electron/electron/issues/169#issuecomment-33667112 https://github.com/electron/electron/issues/169#issuecomment...