Commit a89f94b
committed
perf: Add caching for SOCRATES binaries and AGNI Julia depot
Implements performance optimizations to reduce CI runtime:
1. Cache SOCRATES compiled binaries (~7-8 min savings)
- Caches socrates/ directory with binaries
- Key based on source file hashes for automatic invalidation
- Restore-keys for partial cache hits
2. Cache AGNI Julia depot (~3-4 min savings)
- Caches AGNI/ directory and ~/.julia/ packages
- Key based on Julia source and manifest files
- Restore-keys for partial cache hits
Expected improvement: 10-12 minutes saved per CI run (from ~26 to ~14-16 minutes)
These caches only rebuild when source files change, otherwise use
cached binaries/packages from previous runs.1 parent d016472 commit a89f94b
1 file changed
Lines changed: 26 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
155 | 180 | | |
156 | 181 | | |
157 | 182 | | |
| |||
0 commit comments