OVM Build Performance

Time in Seconds by Host and Compiler

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

src dir compiler label action host broome host spring
bash-4.4 gcc configure 26.7 26.6
bash-4.4 gcc make 40.0 39.6
dash-0.5.9.1 gcc configure 4.8 4.7
dash-0.5.9.1 gcc make 5.4 5.4
oil-0.9.3 clang configure 1.3 1.3
oil-0.9.3 clang _bin/oil.ovm-dbg 9.5 9.3
oil-0.9.3 clang _bin/oil.ovm 22.9 22.7
oil-0.9.3 gcc configure 1.3 1.3
oil-0.9.3 gcc _bin/oil.ovm-dbg 12.3 13.2
oil-0.9.3 gcc _bin/oil.ovm 31.9 33.1
oil-native-0.9.3 clang _bin/osh_eval.dbg 17.7 17.3
oil-native-0.9.3 clang _bin/osh_eval.opt.stripped 51.9 51.6
oil-native-0.9.3 gcc _bin/osh_eval.dbg 22.9 22.6
oil-native-0.9.3 gcc _bin/osh_eval.opt.stripped 50.5 50.2

Native Binary Size

binary compiler host broome host spring
osh_eval.dbg clang 9,156,008 9,156,008
osh_eval.opt.stripped clang 1,612,656 1,612,656
osh_eval.dbg gcc 8,336,640 8,336,640
osh_eval.opt.stripped gcc 1,342,096 1,342,096

OVM 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
broome _tmp/ovm-build/bin/clang/oil.ovm 4,461,253 3,329,069 1,132,184
broome _tmp/ovm-build/bin/clang/oil.ovm-dbg 6,368,453 3,329,069 3,039,384
broome _tmp/ovm-build/bin/gcc/oil.ovm 4,602,645 3,329,069 1,273,576
broome _tmp/ovm-build/bin/gcc/oil.ovm-dbg 6,393,653 3,329,069 3,064,584
spring _tmp/ovm-build/bin/clang/oil.ovm 4,461,253 3,329,069 1,132,184
spring _tmp/ovm-build/bin/clang/oil.ovm-dbg 6,368,453 3,329,069 3,039,384
spring _tmp/ovm-build/bin/gcc/oil.ovm 4,602,645 3,329,069 1,273,576
spring _tmp/ovm-build/bin/gcc/oil.ovm-dbg 6,393,653 3,329,069 3,064,584

Host and Compiler Details

host label host id
broome broome-d80ab850
spring spring-d80ab850
compiler label compiler id
gcc gcc-1c62c53f
clang clang-768eb1ae