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 37 17 944 25.7
abuild-help spring 39 17 961 24.8
cpython-configure broome 25,399 25,461 87,845 3.5
cpython-configure spring 25,599 25,490 88,102 3.4
hello-world broome 2 1 53 26.2
hello-world spring 2 1 52 25.8
ocaml-4.06.0 broome 5,823 5,730 7,530 1.3
ocaml-4.06.0 spring 5,868 5,733 7,540 1.3
tcc-0.9.26 broome 84 71 357 4.3
tcc-0.9.26 spring 87 75 369 4.2
yash-2.46 broome 2,904 2,833 5,248 1.8
yash-2.46 spring 2,967 2,842 5,190 1.7

Memory Usage (Max Resident Set Size in MB)

task arg host label bash dash osh osh to bash ratio
abuild-help broome 5.0 4.1 20.1 4.0
abuild-help spring 5.0 4.1 19.9 4.0
cpython-configure broome 27.3 27.4 44.2 1.6
cpython-configure spring 27.4 27.4 44.2 1.6
hello-world broome 3.4 1.7 13.1 3.9
hello-world spring 3.3 1.8 13.0 3.9
ocaml-4.06.0 broome 21.3 21.3 21.3 1.0
ocaml-4.06.0 spring 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 spring 20.5 20.7 20.5 1.0
yash-2.46 broome 24.7 24.6 24.7 1.0
yash-2.46 spring 24.7 24.7 24.7 1.0

Shell and Host Details

shell label shell id
bash bash-9af8f89f
dash dash-9ff48631
osh osh-01e3b489
host label host id
broome broome-d80ab850
spring spring-d80ab850