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 64 25 1,444 22.6
abuild-help lenny 19 8 606 31.7
cpython-configure flanders 31,113 31,919 122,558 3.9
cpython-configure lenny 13,679 14,142 54,778 4.0
hello-world flanders 3 1 68 21.1
hello-world lenny 1 0 43 30.5
ocaml-4.06.0 flanders 6,281 6,431 9,935 1.6
ocaml-4.06.0 lenny 3,725 3,566 4,735 1.3
tcc-0.9.26 flanders 99 78 531 5.4
tcc-0.9.26 lenny 39 47 184 4.8
yash-2.46 flanders 3,358 3,261 6,309 1.9
yash-2.46 lenny 1,639 1,583 2,841 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.8 3.7 19.6 4.1
abuild-help lenny 4.9 3.9 20.1 4.1
cpython-configure flanders 24.3 24.2 43.7 1.8
cpython-configure lenny 27.0 27.3 44.1 1.6
hello-world flanders 3.0 1.8 12.7 4.2
hello-world lenny 3.3 1.8 13.2 3.9
ocaml-4.06.0 flanders 19.9 19.8 19.8 1.0
ocaml-4.06.0 lenny 21.0 21.1 21.1 1.0
tcc-0.9.26 flanders 19.4 19.3 19.4 1.0
tcc-0.9.26 lenny 20.4 20.3 20.3 1.0
yash-2.46 flanders 23.2 23.1 23.2 1.0
yash-2.46 lenny 24.5 24.4 24.5 1.0

Shell and Host Details

shell label shell id
bash bash-d685a43c
dash dash-2887d9e6
osh osh-cf4c83df
bash bash-9af8f89f
dash dash-9ff48631
host label host id
flanders flanders-63f04b74
lenny lenny-c758ab9d