Commit 5cc8af7
committed
Precompile shipit assets before benchmark iterations
The shipit-engine ships CoffeeScript assets that require a Node.js
runtime to compile via Sprockets. Without precompilation, Sprockets
shells out to Node.js on the first request during warmup/benchmark
iterations, adding noise to timing measurements.
Run assets:precompile once before any iterations, and skip it on
subsequent runs by checking for the Sprockets manifest file.
Fixes #4931 parent dd12edb commit 5cc8af7
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
17 | 26 | | |
18 | 27 | | |
19 | 28 | | |
| |||
0 commit comments