Join GitHub today
Optimize style sheets loading #14038
This pull request takes advantage of snapshots auxiliary data to minimize the I/O associated to reading a core package's style sheets when opening Atom. Specifically, we will now store all the sources, digests and style sheet paths in the snapshot blob, so that we can load them all at once during startup and avoid accessing the file system at runtime.
The following is a CPU profile taken on master after merging #14024:
If we zoom in the various sections of this profile, we can see that
After these changes, this is how the same profile looks like:
You can notice how Atom now loads
One thing to note is that we will still need to update