Commit 20d6ad9
ci: remove circle ci cache fallback
Cache fallback can be useful in some cases, but in our case it is hindering the CI performance as the cache is growing everyday which results in slower CI times because of the restoring and saving phases.
A fresh cache size is about 450Mb, while currently with fallbacking enabled it has grown to 3.8Gb
Below are some timings taken were we see that having cache fallbacking is doesn't help CI times:
| Caching | Cache Size | Restore Cache | Yarn Install | Save Cache | Total Time Elapsed |
|---------------------------|------------|---------------|--------------|------------|--------------------|
| Cache w/ Fallback (Miss) | 3.81Gb | 2m 50s | 30s | 7m 20s | 10m 40s |
| Cache w/ Fallback (Hit) | 3.81Gb | 2m 50s | 20s | 0 | 3m 10s |
| Cache wo/ Fallback (Miss) | 0 | 0 | 40s | 30s | 1m 10s |
| Cache wo/ Fallback (Hit) | 458mb | 20s | 20s | 0 | 40s |1 parent b523231 commit 20d6ad9
1 file changed
+2
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | 15 | | |
18 | 16 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 17 | + | |
| 18 | + | |
23 | 19 | | |
24 | 20 | | |
25 | 21 | | |
| |||
133 | 129 | | |
134 | 130 | | |
135 | 131 | | |
136 | | - | |
137 | 132 | | |
138 | 133 | | |
139 | 134 | | |
| |||
308 | 303 | | |
309 | 304 | | |
310 | 305 | | |
311 | | - | |
312 | 306 | | |
313 | 307 | | |
314 | 308 | | |
| |||
0 commit comments