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 17 968 24.5
abuild-help spring 37 18 974 26.3
cpython-configure broome 25,522 26,250 88,221 3.5
cpython-configure spring 25,505 25,797 90,544 3.6
hello-world broome 2 1 55 27.8
hello-world spring 2 1 52 25.4
ocaml-4.06.0 broome 5,869 5,797 7,564 1.3
ocaml-4.06.0 spring 5,891 5,772 7,619 1.3
tcc-0.9.26 broome 86 77 375 4.3
tcc-0.9.26 spring 90 76 377 4.2
yash-2.46 broome 2,931 2,835 5,179 1.8
yash-2.46 spring 2,974 2,844 5,206 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.1 4.1
abuild-help spring 4.8 4.0 20.2 4.2
cpython-configure broome 27.3 27.3 44.4 1.6
cpython-configure spring 27.4 27.5 44.4 1.6
hello-world broome 3.3 1.7 13.2 4.0
hello-world spring 3.3 1.8 13.3 4.1
ocaml-4.06.0 broome 21.2 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.4 1.0
tcc-0.9.26 spring 20.7 20.4 20.5 1.0
yash-2.46 broome 24.5 24.5 24.5 1.0
yash-2.46 spring 24.8 24.7 24.6 1.0

Shell and Host Details

shell label shell id
bash bash-9af8f89f
dash dash-9ff48631
osh osh-36a2bc5b
host label host id
broome broome-d80ab850
spring spring-d80ab850