OVM Build Performance

Time in Seconds by Host and Compiler

We measure the build speed of bash and dash for comparison.

compiler label src dir action host flanders host lisa
clang oil-0.8.pre7 _bin/oil.ovm 47.3 15.4
clang oil-0.8.pre7 _bin/oil.ovm-dbg 17.4 5.5
clang oil-0.8.pre7 configure 1.6 0.7
clang oil-native-0.8.pre7 _bin/osh_eval.dbg 25.1 8.2
clang oil-native-0.8.pre7 _bin/osh_eval.opt.stripped 52.0 17.4
gcc bash-4.4 configure 32.9 15.0
gcc bash-4.4 make 64.7 26.5
gcc dash-0.5.9.1 configure 6.4 2.9
gcc dash-0.5.9.1 make 9.2 3.2
gcc oil-0.8.pre7 _bin/oil.ovm 53.0 20.2
gcc oil-0.8.pre7 _bin/oil.ovm-dbg 20.2 6.9
gcc oil-0.8.pre7 configure 1.7 0.7
gcc oil-native-0.8.pre7 _bin/osh_eval.dbg 28.7 10.1
gcc oil-native-0.8.pre7 _bin/osh_eval.opt.stripped 61.7 21.9

Binary Size

The oil binary has two portions:

  1. Architecture-independent bytecode.zip
  2. Architecture- and compiler- dependent native code (_build/oil/ovm*)

host label path num bytes bytecode size native code size
flanders _tmp/ovm-build/bin/clang/oil.ovm 4,091,540 2,979,004 1,112,536
flanders _tmp/ovm-build/bin/clang/oil.ovm-dbg 5,980,564 2,979,004 3,001,560
flanders _tmp/ovm-build/bin/gcc/oil.ovm 4,136,172 2,979,004 1,157,168
flanders _tmp/ovm-build/bin/gcc/oil.ovm-dbg 5,636,148 2,979,004 2,657,144
lisa _tmp/ovm-build/bin/clang/oil.ovm 4,091,548 2,979,004 1,112,544
lisa _tmp/ovm-build/bin/clang/oil.ovm-dbg 5,980,572 2,979,004 3,001,568
lisa _tmp/ovm-build/bin/gcc/oil.ovm 4,136,180 2,979,004 1,157,176
lisa _tmp/ovm-build/bin/gcc/oil.ovm-dbg 5,636,156 2,979,004 2,657,152

Native Binary Size

host label path num bytes
flanders _tmp/ovm-build/bin/clang/osh_eval.dbg 6,836,856
flanders _tmp/ovm-build/bin/gcc/osh_eval.dbg 6,179,352
flanders _tmp/ovm-build/bin/clang/osh_eval.opt.stripped 1,011,040
flanders _tmp/ovm-build/bin/gcc/osh_eval.opt.stripped 855,720
lisa _tmp/ovm-build/bin/clang/osh_eval.dbg 6,836,856
lisa _tmp/ovm-build/bin/gcc/osh_eval.dbg 6,179,352
lisa _tmp/ovm-build/bin/clang/osh_eval.opt.stripped 1,011,040
lisa _tmp/ovm-build/bin/gcc/osh_eval.opt.stripped 855,720

Host and Compiler Details

host label host id
flanders flanders-2cc9f781
lisa lisa-88603626
compiler label compiler id
gcc gcc-816edb3d
clang clang-768eb1ae