Crystal Alpha 1.20.0-dev-incremental-3
Crystal Alpha with Incremental Compilation
Optimized incremental compilation infrastructure (M1-M8):
- Gate overhead behind
@incrementalflag (zero cost in normal mode) - Add
--no-cacheflag +CRYSTAL_NO_CACHEenv var - Deduplicate cache loads, skip MD5 on cold builds
- Reuse ParseCache ASTs, eliminate double file reads
- Fix GC crash in parallel semantic checkers
- Progress tracker stages for Signatures + Cache save
Benchmark Results (release build, semantic-only):
| Framework | Files | Stock | Warm | Speedup |
|---|---|---|---|---|
| Kemal | 101 | 5.5s | 1.4s | 3.9x |
| Lucky | 363 | 5.5s | 1.6s | 3.5x |
| Athena | 888 | 5.7s | 1.8s | 3.2x |
| Amber | 2,446 | 11.5s | 2.2s | 5.2x |
Install: brew install crimsonknight/crystal-alpha