This repository was archived by the owner on Aug 7, 2023. It is now read-only.
Commit 539c63f
Improve Atom's startup time (#87)
* Improve Atom's startup time
Before this change, activation was done on Atom startup, whether or not
you actually had any shell scripts open.
With this change in place, we postpone activation until the Atom
Shellscript grammar's first use.
This improves startup time of my Atom by about 24ms, thus fixing one of
the top startup time offenders according to TimeCop.
For some frame of reference, I have 88 packages installed, and Timecop
lists all packages with startup times above 5ms.1 parent 342098c commit 539c63f
2 files changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
14 | 19 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
19 | 26 | | |
20 | 27 | | |
21 | 28 | | |
| |||
0 commit comments