Commit 3c5eebc
committed
test: warm up g++ before judging to avoid cold-start penalty
First g++ invocation on CI takes ~45s (cold start). Subsequent
invocations take ~300ms. Pre-compile a trivial program in initTestCase()
so the judging test only sees the warm-cache timing.1 parent 85add0e commit 3c5eebc
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
162 | 176 | | |
163 | 177 | | |
164 | 178 | | |
| |||
0 commit comments