Optimizing the compiler
Simple ways to speed up the compilation of your CaffeineC program
Using a different LLVM compiler
Using LLC + GCC
Benchmark 1: CaffeineC build
Time (mean ± σ): 45.9 ms ± 0.7 ms [User: 21.1 ms, System: 25.1 ms]
Range (min … max): 44.6 ms … 47.6 ms 62 runs
Benchmark 2: CaffeineC build -G
Time (mean ± σ): 32.7 ms ± 0.6 ms [User: 15.9 ms, System: 17.2 ms]
Range (min … max): 31.7 ms … 33.9 ms 89 runs
Summary
CaffeineC build -G ran
1.40 ± 0.03 times faster than CaffeineC buildUsing LLC + TCC
Using a different linker
Using GOLD
Using MOLD
Last updated