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 980 24.9
abuild-help spring 37 17 957 26.1
cpython-configure broome 25,561 25,503 89,148 3.5
cpython-configure spring 25,418 25,521 89,362 3.5
hello-world broome 1 1 49 37.3
hello-world spring 2 1 53 25.7
ocaml-4.06.0 broome 5,829 5,769 7,525 1.3
ocaml-4.06.0 spring 5,847 5,759 7,708 1.3
tcc-0.9.26 broome 75 69 372 4.9
tcc-0.9.26 spring 83 72 368 4.4
yash-2.46 broome 2,936 2,859 5,173 1.8
yash-2.46 spring 2,913 2,849 5,190 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.0 4.2
cpython-configure broome 27.4 27.3 44.4 1.6
cpython-configure spring 27.4 27.2 44.3 1.6
hello-world broome 3.3 1.7 13.0 3.9
hello-world spring 3.4 1.7 13.1 3.8
ocaml-4.06.0 broome 21.3 21.2 21.4 1.0
ocaml-4.06.0 spring 21.2 21.2 21.3 1.0
tcc-0.9.26 broome 20.5 20.4 20.6 1.0
tcc-0.9.26 spring 20.4 20.5 20.4 1.0
yash-2.46 broome 24.7 24.6 24.6 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-68b65d59
host label host id
broome broome-d80ab850
spring spring-d80ab850