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.pre5 _bin/oil.ovm 50.9 14.6
clang oil-0.8.pre5 _bin/oil.ovm-dbg 15.2 5.1
clang oil-0.8.pre5 configure 1.6 0.6
clang oil-native-0.8.pre5 _bin/osh_eval.dbg 21.2 6.8
clang oil-native-0.8.pre5 _bin/osh_eval.opt.stripped 44.3 14.3
gcc bash-4.4 configure 32.3 14.4
gcc bash-4.4 make 69.1 25.5
gcc dash-0.5.9.1 configure 6.4 2.9
gcc dash-0.5.9.1 make 9.2 3.0
gcc oil-0.8.pre5 _bin/oil.ovm 50.2 18.9
gcc oil-0.8.pre5 _bin/oil.ovm-dbg 20.2 6.5
gcc oil-0.8.pre5 configure 1.6 0.6
gcc oil-native-0.8.pre5 _bin/osh_eval.dbg 22.9 8.5
gcc oil-native-0.8.pre5 _bin/osh_eval.opt.stripped 58.2 18.2

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 3,932,964 2,846,572 1,086,392
flanders _tmp/ovm-build/bin/clang/oil.ovm-dbg 5,796,604 2,846,572 2,950,032
flanders _tmp/ovm-build/bin/gcc/oil.ovm 3,989,852 2,846,572 1,143,280
flanders _tmp/ovm-build/bin/gcc/oil.ovm-dbg 5,464,156 2,846,572 2,617,584
lisa _tmp/ovm-build/bin/clang/oil.ovm 3,932,972 2,846,572 1,086,400
lisa _tmp/ovm-build/bin/clang/oil.ovm-dbg 5,796,612 2,846,572 2,950,040
lisa _tmp/ovm-build/bin/gcc/oil.ovm 3,989,860 2,846,572 1,143,288
lisa _tmp/ovm-build/bin/gcc/oil.ovm-dbg 5,464,164 2,846,572 2,617,592

Native Binary Size

host label path num bytes
flanders _tmp/ovm-build/bin/clang/osh_eval.dbg 5,948,144
flanders _tmp/ovm-build/bin/gcc/osh_eval.dbg 5,432,064
flanders _tmp/ovm-build/bin/clang/osh_eval.opt.stripped 894,128
flanders _tmp/ovm-build/bin/gcc/osh_eval.opt.stripped 759,072
lisa _tmp/ovm-build/bin/clang/osh_eval.dbg 5,948,144
lisa _tmp/ovm-build/bin/gcc/osh_eval.dbg 5,432,064
lisa _tmp/ovm-build/bin/clang/osh_eval.opt.stripped 894,128
lisa _tmp/ovm-build/bin/gcc/osh_eval.opt.stripped 759,072

Host and Compiler Details

host label host id
flanders flanders-88603626
lisa lisa-6db4bf9a
compiler label compiler id
gcc gcc-816edb3d
clang clang-768eb1ae