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.pre10 _bin/oil.ovm 47.6 14.3
clang oil-0.7.pre10 _bin/oil.ovm-dbg 21.0 5.1
clang oil-0.7.pre10 configure 2.6 0.6
clang oil-native-0.7.pre10 _bin/osh_parse.dbg 11.3 3.5
clang oil-native-0.7.pre10 _bin/osh_parse.opt.stripped 28.0 7.9
gcc bash-4.4 configure 33.8 14.1
gcc bash-4.4 make 75.6 25.9
gcc dash-0.5.9.1 configure 6.4 2.8
gcc dash-0.5.9.1 make 9.1 3.1
gcc oil-0.7.pre10 _bin/oil.ovm 54.6 19.1
gcc oil-0.7.pre10 _bin/oil.ovm-dbg 17.7 6.5
gcc oil-0.7.pre10 configure 1.6 0.6
gcc oil-native-0.7.pre10 _bin/osh_parse.dbg 14.2 4.3
gcc oil-native-0.7.pre10 _bin/osh_parse.opt.stripped 34.0 10.8

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,582,061 2,540,629 1,041,432
flanders _tmp/ovm-build/bin/clang/oil.ovm-dbg 5,391,517 2,540,629 2,850,888
flanders _tmp/ovm-build/bin/gcc/oil.ovm 3,667,589 2,540,629 1,126,960
flanders _tmp/ovm-build/bin/gcc/oil.ovm-dbg 5,113,165 2,540,629 2,572,536
lisa _tmp/ovm-build/bin/clang/oil.ovm 3,582,069 2,540,629 1,041,440
lisa _tmp/ovm-build/bin/clang/oil.ovm-dbg 5,391,525 2,540,629 2,850,896
lisa _tmp/ovm-build/bin/gcc/oil.ovm 3,667,597 2,540,629 1,126,968
lisa _tmp/ovm-build/bin/gcc/oil.ovm-dbg 5,113,173 2,540,629 2,572,544

Native Binary Size

host label path num bytes
flanders _tmp/ovm-build/bin/clang/osh_parse.dbg 3,493,328
flanders _tmp/ovm-build/bin/gcc/osh_parse.dbg 3,223,208
flanders _tmp/ovm-build/bin/clang/osh_parse.opt.stripped 577,640
flanders _tmp/ovm-build/bin/gcc/osh_parse.opt.stripped 487,584
lisa _tmp/ovm-build/bin/clang/osh_parse.dbg 3,493,328
lisa _tmp/ovm-build/bin/gcc/osh_parse.dbg 3,223,208
lisa _tmp/ovm-build/bin/clang/osh_parse.opt.stripped 577,640
lisa _tmp/ovm-build/bin/gcc/osh_parse.opt.stripped 487,584

Host and Compiler Details

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