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 891 23.0
abuild-help lenny 16 6 560 35.3
cpython-configure broome 26,768 26,744 60,832 2.3
cpython-configure lenny 14,547 14,538 30,665 2.1
hello-world broome 2 1 59 28.4
hello-world lenny 1 1 43 59.3
ocaml-4.06.0 broome 6,144 5,960 7,791 1.3
ocaml-4.06.0 lenny 3,898 3,846 4,999 1.3
tcc-0.9.26 broome 88 77 364 4.1
tcc-0.9.26 lenny 61 36 182 3.0
yash-2.46 broome 3,128 3,003 4,683 1.5
yash-2.46 lenny 1,552 1,589 2,721 1.8

Memory Usage (Max Resident Set Size in MB)

task arg host label bash dash osh osh to bash ratio
abuild-help broome 4.9 4.0 20.6 4.2
abuild-help lenny 4.9 4.0 20.6 4.2
cpython-configure broome 27.3 27.3 44.9 1.6
cpython-configure lenny 27.4 27.2 44.9 1.6
hello-world broome 3.4 1.7 13.5 4.0
hello-world lenny 3.5 1.7 13.5 3.9
ocaml-4.06.0 broome 21.2 21.3 21.3 1.0
ocaml-4.06.0 lenny 21.3 21.3 21.2 1.0
tcc-0.9.26 broome 20.5 20.4 20.4 1.0
tcc-0.9.26 lenny 20.5 20.5 20.4 1.0
yash-2.46 broome 24.8 24.8 24.7 1.0
yash-2.46 lenny 24.5 24.6 24.6 1.0

Shell and Host Details

shell label shell id
bash bash-9af8f89f
dash dash-9ff48631
osh osh-44e42676
host label host id
broome broome-8a85d07d
lenny lenny-9de4b19b