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.7.pre11 _bin/oil.ovm 49.6 13.9
clang oil-0.7.pre11 _bin/oil.ovm-dbg 17.8 4.9
clang oil-0.7.pre11 configure 2.2 0.6
clang oil-native-0.7.pre11 _bin/osh_parse.dbg 12.8 3.3
clang oil-native-0.7.pre11 _bin/osh_parse.opt.stripped 22.5 7.6
gcc bash-4.4 configure 32.4 13.7
gcc bash-4.4 make 70.7 24.7
gcc dash-0.5.9.1 configure 6.3 2.7
gcc dash-0.5.9.1 make 8.3 2.9
gcc oil-0.7.pre11 _bin/oil.ovm 52.6 19.3
gcc oil-0.7.pre11 _bin/oil.ovm-dbg 17.3 6.2
gcc oil-0.7.pre11 configure 1.5 0.6
gcc oil-native-0.7.pre11 _bin/osh_parse.dbg 11.7 4.3
gcc oil-native-0.7.pre11 _bin/osh_parse.opt.stripped 33.6 10.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,584,993 2,543,865 1,041,128
flanders _tmp/ovm-build/bin/clang/oil.ovm-dbg 5,388,529 2,543,865 2,844,664
flanders _tmp/ovm-build/bin/gcc/oil.ovm 3,670,505 2,543,865 1,126,640
flanders _tmp/ovm-build/bin/gcc/oil.ovm-dbg 5,114,617 2,543,865 2,570,752
lisa _tmp/ovm-build/bin/clang/oil.ovm 3,585,001 2,543,865 1,041,136
lisa _tmp/ovm-build/bin/clang/oil.ovm-dbg 5,388,537 2,543,865 2,844,672
lisa _tmp/ovm-build/bin/gcc/oil.ovm 3,670,513 2,543,865 1,126,648
lisa _tmp/ovm-build/bin/gcc/oil.ovm-dbg 5,114,625 2,543,865 2,570,760

Native Binary Size

host label path num bytes
flanders _tmp/ovm-build/bin/clang/osh_parse.dbg 3,499,992
flanders _tmp/ovm-build/bin/gcc/osh_parse.dbg 3,225,600
flanders _tmp/ovm-build/bin/clang/osh_parse.opt.stripped 581,736
flanders _tmp/ovm-build/bin/gcc/osh_parse.opt.stripped 491,680
lisa _tmp/ovm-build/bin/clang/osh_parse.dbg 3,499,992
lisa _tmp/ovm-build/bin/gcc/osh_parse.dbg 3,225,600
lisa _tmp/ovm-build/bin/clang/osh_parse.opt.stripped 581,736
lisa _tmp/ovm-build/bin/gcc/osh_parse.opt.stripped 491,680

Host and Compiler Details

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