コンパイル速度

poly_!quine.bf => LLVM bit code (out.

 > time llc -f out.bc
 llc -f out.bc  88.74s user 0.85s system 99% cpu 1:30.09 total

poly_quine.bf => C code (out.c, 155kB)

 > time gcc -O out.c
 gcc -O out.c  3.26s user 0.16s system 98% cpu 3.463 total

opt

 > time opt --mem2reg out.bc > out_opt.bc
 opt --mem2reg out.bc > out_opt.bc  62.84s user 0.25s system 99% cpu 1:03.50 total
 > time llc -f out_opt.bc
 llc -f out_opt.bc  51.14s user 0.31s system 99% cpu 51.788 total

TCC

 > time tcc out.c -O -c
 tcc out.c -O -c  0.01s user 0.01s system 84% cpu 0.024 total
 > time gcc out.o -m32
 gcc out.o -m32  0.02s user 0.02s system 94% cpu 0.047 total

<< 26/26
First Last