Commit a554e4a
perf: use --build-local in benchmarks to test source code changes (#1872)
The benchmark previously pulled pre-built GHCR images, meaning changes
to container files (entrypoint.sh, Dockerfiles) had no effect on results
until a new release published updated images. PR #1851's sleep 5 fix
showed zero improvement for this reason.
Changes:
- Add --build-local to AWF_CMD so containers are built from source
- Cold start now clears Docker build cache instead of removing GHCR images
- Include awf-iptables-init in cleanup for completeness
Closes #1869
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 7258a16 commit a554e4a
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
0 commit comments