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 17 1,000 25.1
abuild-help spring 37 17 947 25.6
cpython-configure broome 25,548 25,555 88,676 3.5
cpython-configure spring 25,465 25,587 89,157 3.5
hello-world broome 2 1 54 27.2
hello-world spring 2 1 50 24.4
ocaml-4.06.0 broome 5,839 5,721 7,547 1.3
ocaml-4.06.0 spring 5,767 5,796 7,573 1.3
tcc-0.9.26 broome 82 74 373 4.6
tcc-0.9.26 spring 80 73 377 4.7
yash-2.46 broome 2,920 2,858 5,198 1.8
yash-2.46 spring 2,905 2,842 5,317 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.8 4.0 20.3 4.2
abuild-help spring 4.9 3.9 20.2 4.1
cpython-configure broome 27.2 27.4 44.5 1.6
cpython-configure spring 27.5 27.5 44.4 1.6
hello-world broome 3.4 1.7 13.3 4.0
hello-world spring 3.4 1.7 13.2 3.9
ocaml-4.06.0 broome 21.4 21.2 21.3 1.0
ocaml-4.06.0 spring 21.3 21.2 21.5 1.0
tcc-0.9.26 broome 20.4 20.5 20.5 1.0
tcc-0.9.26 spring 20.6 20.5 20.5 1.0
yash-2.46 broome 24.7 24.5 24.5 1.0
yash-2.46 spring 24.5 24.7 24.7 1.0

Shell and Host Details

shell label shell id
bash bash-9af8f89f
dash dash-9ff48631
osh osh-3b0da0f8
host label host id
broome broome-d80ab850
spring spring-d80ab850