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 41 18 924 22.7
abuild-help lenny 15 8 567 38.6
cpython-configure broome 26,528 26,625 93,404 3.5
cpython-configure lenny 14,231 14,499 49,564 3.5
hello-world broome 2 1 59 29.0
hello-world lenny 1 1 41 59.1
ocaml-4.06.0 broome 6,047 5,953 7,852 1.3
ocaml-4.06.0 lenny 4,078 3,807 4,610 1.1
tcc-0.9.26 broome 90 78 395 4.4
tcc-0.9.26 lenny 45 43 188 4.1
yash-2.46 broome 3,110 2,961 5,499 1.8
yash-2.46 lenny 1,724 1,477 3,043 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 3.8 20.6 4.2
abuild-help lenny 4.8 4.1 20.4 4.2
cpython-configure broome 27.3 27.3 44.8 1.6
cpython-configure lenny 27.2 27.4 44.9 1.7
hello-world broome 3.4 1.7 13.4 3.9
hello-world lenny 3.4 1.8 13.3 3.9
ocaml-4.06.0 broome 21.2 21.2 21.3 1.0
ocaml-4.06.0 lenny 21.3 21.3 21.3 1.0
tcc-0.9.26 broome 20.5 20.5 20.4 1.0
tcc-0.9.26 lenny 20.5 20.5 20.7 1.0
yash-2.46 broome 24.7 24.8 24.7 1.0
yash-2.46 lenny 24.7 24.5 24.7 1.0

Shell and Host Details

shell label shell id
bash bash-9af8f89f
dash dash-9ff48631
osh osh-7e283209
host label host id
broome broome-8a85d07d
lenny lenny-23f35694