- Notifications
You must be signed in to change notification settings - Fork1k
Commit4a442f8
committed
perf(cli): optimize CPU consumption of help pages
This change reduces the CPU consumption of --help by ~50%.Also, this change removes ANSI escape codes from our golden files. Idon't those were worth the inability to parallelize golden file tests andglobal state fragility.1 parent3b088a5 commit4a442f8
File tree
88 files changed
+879
-858
lines changed- cli
- clitest
- cliui
- testdata
- enterprise/cli/testdata
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
88 files changed
+879
-858
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 |
| - | |
| 32 | + | |
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 |
| - | |
| 59 | + | |
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
15 | 14 |
| |
16 | 15 |
| |
17 | 16 |
| |
18 |
| - | |
19 | 17 |
| |
20 | 18 |
| |
21 | 19 |
| |
| |||
50 | 48 |
| |
51 | 49 |
| |
52 | 50 |
| |
53 |
| - | |
54 |
| - | |
55 | 51 |
| |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 | 52 |
| |
60 | 53 |
| |
61 | 54 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
| 4 | + | |
4 | 5 |
| |
5 |
| - | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
| 33 | + | |
45 | 34 |
| |
46 | 35 |
| |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
52 | 41 |
| |
53 | 42 |
| |
54 | 43 |
| |
| |||
116 | 105 |
| |
117 | 106 |
| |
118 | 107 |
| |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
119 | 114 |
| |
120 | 115 |
| |
121 | 116 |
| |
|
0 commit comments
Comments
(0)