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 27.6
bash-4.4 gcc make 40.0 39.6
dash-0.5.9.1 gcc configure 4.7 4.7
dash-0.5.9.1 gcc make 5.4 5.5
oil-0.9.2 clang configure 1.2 1.3
oil-0.9.2 clang _bin/oil.ovm-dbg 9.2 9.0
oil-0.9.2 clang _bin/oil.ovm 22.9 22.5
oil-0.9.2 gcc configure 1.3 1.3
oil-0.9.2 gcc _bin/oil.ovm-dbg 12.5 12.1
oil-0.9.2 gcc _bin/oil.ovm 31.9 31.5
oil-native-0.9.2 clang _bin/osh_eval.dbg 17.9 17.7
oil-native-0.9.2 clang _bin/osh_eval.opt.stripped 47.4 50.9
oil-native-0.9.2 gcc _bin/osh_eval.dbg 22.9 22.6
oil-native-0.9.2 gcc _bin/osh_eval.opt.stripped 50.5 50.0

Native Binary Size

binary compiler host broome host spring
osh_eval.dbg clang 9,144,104 9,144,104
osh_eval.opt.stripped clang 1,608,544 1,608,544
osh_eval.dbg gcc 8,329,424 8,329,424
osh_eval.opt.stripped gcc 1,333,872 1,333,872

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,455,082 3,326,994 1,128,088
broome _tmp/ovm-build/bin/clang/oil.ovm-dbg 6,366,002 3,326,994 3,039,008
broome _tmp/ovm-build/bin/gcc/oil.ovm 4,596,474 3,326,994 1,269,480
broome _tmp/ovm-build/bin/gcc/oil.ovm-dbg 6,391,058 3,326,994 3,064,064
spring _tmp/ovm-build/bin/clang/oil.ovm 4,455,082 3,326,994 1,128,088
spring _tmp/ovm-build/bin/clang/oil.ovm-dbg 6,366,002 3,326,994 3,039,008
spring _tmp/ovm-build/bin/gcc/oil.ovm 4,596,474 3,326,994 1,269,480
spring _tmp/ovm-build/bin/gcc/oil.ovm-dbg 6,391,058 3,326,994 3,064,064

Host and Compiler Details

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