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 38 17 960 25.2
abuild-help lenny 15 7 553 38.1
cpython-configure broome 25,387 25,589 88,707 3.5
cpython-configure lenny 14,477 14,957 48,482 3.3
hello-world broome 2 1 54 26.8
hello-world lenny 1 1 45 57.6
ocaml-4.06.0 broome 5,842 5,771 7,597 1.3
ocaml-4.06.0 lenny 3,948 3,985 4,653 1.2
tcc-0.9.26 broome 87 72 382 4.4
tcc-0.9.26 lenny 48 34 192 4.0
yash-2.46 broome 2,937 2,865 5,211 1.8
yash-2.46 lenny 1,701 1,483 3,088 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.3 4.1
abuild-help lenny 4.9 3.9 20.3 4.1
cpython-configure broome 27.3 27.4 44.5 1.6
cpython-configure lenny 27.2 27.3 44.5 1.6
hello-world broome 3.4 1.7 13.3 3.9
hello-world lenny 3.5 1.7 13.2 3.8
ocaml-4.06.0 broome 21.3 21.3 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.5 1.0
tcc-0.9.26 lenny 20.6 20.5 20.5 1.0
yash-2.46 broome 24.5 24.7 24.5 1.0
yash-2.46 lenny 24.7 24.6 24.7 1.0

Shell and Host Details

shell label shell id
bash bash-9af8f89f
dash dash-9ff48631
osh osh-b8d05d62
host label host id
broome broome-d80ab850
lenny lenny-ec64f10b