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.pre1 _bin/oil.ovm 43.0 14.1
clang oil-0.8.pre1 _bin/oil.ovm-dbg 18.5 5.0
clang oil-0.8.pre1 configure 2.0 0.6
clang oil-native-0.8.pre1 _bin/osh_parse.dbg 16.3 4.5
clang oil-native-0.8.pre1 _bin/osh_parse.opt.stripped 28.3 9.2
gcc bash-4.4 configure 33.1 14.3
gcc bash-4.4 make 70.6 24.7
gcc dash-0.5.9.1 configure 6.8 2.9
gcc dash-0.5.9.1 make 14.2 3.0
gcc oil-0.8.pre1 _bin/oil.ovm 51.8 18.4
gcc oil-0.8.pre1 _bin/oil.ovm-dbg 18.1 6.4
gcc oil-0.8.pre1 configure 1.7 0.6
gcc oil-native-0.8.pre1 _bin/osh_parse.dbg 14.7 5.6
gcc oil-native-0.8.pre1 _bin/osh_parse.opt.stripped 39.2 11.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 3,720,000 2,662,360 1,057,640
flanders _tmp/ovm-build/bin/clang/oil.ovm-dbg 5,571,480 2,662,360 2,909,120
flanders _tmp/ovm-build/bin/gcc/oil.ovm 3,801,448 2,662,360 1,139,088
flanders _tmp/ovm-build/bin/gcc/oil.ovm-dbg 5,284,872 2,662,360 2,622,512
lisa _tmp/ovm-build/bin/clang/oil.ovm 3,719,960 2,662,312 1,057,648
lisa _tmp/ovm-build/bin/clang/oil.ovm-dbg 5,571,440 2,662,312 2,909,128
lisa _tmp/ovm-build/bin/gcc/oil.ovm 3,801,408 2,662,312 1,139,096
lisa _tmp/ovm-build/bin/gcc/oil.ovm-dbg 5,284,832 2,662,312 2,622,520

Native Binary Size

host label path num bytes
flanders _tmp/ovm-build/bin/clang/osh_parse.dbg 4,220,120
flanders _tmp/ovm-build/bin/gcc/osh_parse.dbg 3,993,864
flanders _tmp/ovm-build/bin/clang/osh_parse.opt.stripped 618,616
flanders _tmp/ovm-build/bin/gcc/osh_parse.opt.stripped 520,384
lisa _tmp/ovm-build/bin/clang/osh_parse.dbg 4,220,120
lisa _tmp/ovm-build/bin/gcc/osh_parse.dbg 3,993,864
lisa _tmp/ovm-build/bin/clang/osh_parse.opt.stripped 618,616
lisa _tmp/ovm-build/bin/gcc/osh_parse.opt.stripped 520,384

Host and Compiler Details

host label host id
flanders flanders-f4f507c8
lisa lisa-0616a365
compiler label compiler id
gcc gcc-816edb3d
clang clang-768eb1ae