Commit a185855
authored
CI performance tweaks (#4989)
This adds a new tool to CI described over here
https://github.com/ClementTsang/mtime-travel -- TL;DR it keeps a json
file listing hashes of source files and mtimes and _resets the mtimes_
if the hashes don't change. This makes the thing CI does where it checks
out files with git every time (and clobbers their mtimes) not cause
spuriouos rebuilds. It should speed things up.
I also threw in a small optimization to the second-run testing (tx-meta
checking) to skip running all soroban summodule tests a second time --
we run them in the first pass.
Also an optimization to avoid testing the same rev back-to-back (eg. on
master immediately after testing in a merge queue). This should cut out
a third of all runs since we (pessimistically) run on all 3 of PR, merge
queue and final master integration.File tree
5 files changed
+49
-12
lines changed- .github/workflows
- src
- test
5 files changed
+49
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | 160 | | |
| 161 | + | |
164 | 162 | | |
165 | 163 | | |
166 | 164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
70 | 99 | | |
71 | 100 | | |
72 | 101 | | |
| |||
135 | 164 | | |
136 | 165 | | |
137 | 166 | | |
138 | | - | |
| 167 | + | |
139 | 168 | | |
140 | 169 | | |
141 | 170 | | |
142 | | - | |
| 171 | + | |
143 | 172 | | |
144 | 173 | | |
145 | 174 | | |
| |||
190 | 219 | | |
191 | 220 | | |
192 | 221 | | |
| 222 | + | |
193 | 223 | | |
194 | 224 | | |
195 | 225 | | |
196 | 226 | | |
| 227 | + | |
| 228 | + | |
197 | 229 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
| |||
0 commit comments