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 40 18 896 22.6
abuild-help lenny 16 7 591 36.6
cpython-configure broome 26,695 26,792 61,031 2.3
cpython-configure lenny 14,482 14,286 31,573 2.2
hello-world broome 2 1 58 28.6
hello-world lenny 1 0 36 27.7
ocaml-4.06.0 broome 6,065 6,027 7,887 1.3
ocaml-4.06.0 lenny 4,064 3,984 4,655 1.1
tcc-0.9.26 broome 91 80 366 4.0
tcc-0.9.26 lenny 39 44 182 4.7
yash-2.46 broome 3,132 3,004 4,712 1.5
yash-2.46 lenny 1,599 1,523 2,465 1.5

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.5 4.2
cpython-configure broome 27.3 27.3 44.9 1.6
cpython-configure lenny 27.3 27.3 44.9 1.6
hello-world broome 3.3 1.7 13.4 4.0
hello-world lenny 3.4 1.7 13.5 4.0
ocaml-4.06.0 broome 21.4 21.3 21.4 1.0
ocaml-4.06.0 lenny 21.3 21.5 21.2 1.0
tcc-0.9.26 broome 20.5 20.3 20.4 1.0
tcc-0.9.26 lenny 20.5 20.7 20.5 1.0
yash-2.46 broome 24.6 24.6 24.5 1.0
yash-2.46 lenny 24.7 24.7 24.6 1.0

Shell and Host Details

shell label shell id
bash bash-9af8f89f
dash dash-9ff48631
osh osh-f6956f5f
host label host id
broome broome-8a85d07d
lenny lenny-b7f988ad