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 broome 39 18 910 23.3
abuild-help lenny 20 7 628 32.2
cpython-configure broome 26,779 26,782 92,132 3.4
cpython-configure lenny 13,732 13,655 70,623 5.1
hello-world broome 2 1 58 32.6
hello-world lenny 2 0 36 21.1
ocaml-4.06.0 broome 6,058 6,024 7,800 1.3
ocaml-4.06.0 lenny 3,739 3,716 4,787 1.3
tcc-0.9.26 broome 90 79 384 4.3
tcc-0.9.26 lenny 43 42 239 5.6
yash-2.46 broome 3,092 2,952 5,484 1.8
yash-2.46 lenny 1,625 1,575 3,159 1.9

Memory Usage (Max Resident Set Size in MB)

task arg host label bash dash osh osh to bash ratio
abuild-help broome 4.7 3.8 20.3 4.3
abuild-help lenny 4.9 3.9 20.2 4.1
cpython-configure broome 27.2 27.4 44.4 1.6
cpython-configure lenny 27.2 27.3 44.4 1.6
hello-world broome 3.4 1.7 13.3 3.9
hello-world lenny 3.2 1.7 13.2 4.1
ocaml-4.06.0 broome 21.3 21.3 21.3 1.0
ocaml-4.06.0 lenny 21.3 21.5 21.3 1.0
tcc-0.9.26 broome 20.4 20.3 20.5 1.0
tcc-0.9.26 lenny 20.5 20.5 20.5 1.0
yash-2.46 broome 24.6 24.6 24.4 1.0
yash-2.46 lenny 24.6 24.6 24.7 1.0

Shell and Host Details

shell label shell id
bash bash-9af8f89f
dash dash-9ff48631
osh osh-6d02d6c2
host label host id
broome broome-d80ab850
lenny lenny-761a4bee