OSH Runtime Performance

Elapsed Time by Shell (milliseconds)

Some benchmarks call many external tools, while some exercise the shell interpreter itself. Parse time is included.

Memory usage is measured in MB (powers of 10), not MiB (powers of 2).

task arg host label bash dash osh osh to bash ratio
abuild-help flanders 55 22 1,525 28.0
abuild-help lenny 17 8 526 30.2
cpython-configure flanders 31,795 31,213 125,522 3.9
cpython-configure lenny 13,259 14,160 54,256 4.1
hello-world flanders 3 1 66 21.0
hello-world lenny 1 1 45 41.8
ocaml-4.06.0 flanders 6,301 6,190 12,479 2.0
ocaml-4.06.0 lenny 3,664 3,503 4,389 1.2
tcc-0.9.26 flanders 105 93 719 6.9
tcc-0.9.26 lenny 40 35 187 4.7
yash-2.46 flanders 3,456 3,234 7,294 2.1
yash-2.46 lenny 1,502 1,464 2,538 1.7

Memory Usage (Max Resident Set Size in MB)

task arg host label bash dash osh osh to bash ratio
abuild-help flanders 4.9 3.6 19.4 4.0
abuild-help lenny 5.0 3.9 19.7 3.9
cpython-configure flanders 24.3 24.4 43.6 1.8
cpython-configure lenny 27.2 27.4 44.0 1.6
hello-world flanders 3.0 1.7 12.7 4.2
hello-world lenny 3.4 1.7 13.0 3.8
ocaml-4.06.0 flanders 19.7 19.7 19.7 1.0
ocaml-4.06.0 lenny 21.2 21.5 21.2 1.0
tcc-0.9.26 flanders 19.3 19.3 19.3 1.0
tcc-0.9.26 lenny 20.4 20.5 20.6 1.0
yash-2.46 flanders 23.1 23.0 23.0 1.0
yash-2.46 lenny 24.7 24.7 24.6 1.0

Shell and Host Details

shell label shell id
bash bash-d685a43c
dash dash-2887d9e6
osh osh-d848f227
bash bash-9af8f89f
dash dash-9ff48631
host label host id
flanders flanders-63f04b74
lenny lenny-013e16cc