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 951 24.9
abuild-help spring 41 19 949 23.3
cpython-configure broome 25,447 27,625 88,568 3.5
cpython-configure spring 25,623 25,530 88,283 3.4
hello-world broome 2 1 54 26.0
hello-world spring 2 1 53 26.6
ocaml-4.06.0 broome 5,884 5,761 7,537 1.3
ocaml-4.06.0 spring 5,906 5,763 7,555 1.3
tcc-0.9.26 broome 87 75 375 4.3
tcc-0.9.26 spring 80 70 376 4.7
yash-2.46 broome 2,903 2,880 5,222 1.8
yash-2.46 spring 2,960 2,876 5,260 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 3.9 20.0 4.1
abuild-help spring 4.9 4.0 20.1 4.1
cpython-configure broome 27.3 27.1 44.4 1.6
cpython-configure spring 27.2 27.4 44.3 1.6
hello-world broome 3.3 1.8 13.2 3.9
hello-world spring 3.3 1.7 13.2 4.0
ocaml-4.06.0 broome 21.3 21.2 21.3 1.0
ocaml-4.06.0 spring 21.3 21.3 21.4 1.0
tcc-0.9.26 broome 20.6 20.5 20.4 1.0
tcc-0.9.26 spring 20.5 20.5 20.4 1.0
yash-2.46 broome 24.6 24.7 24.6 1.0
yash-2.46 spring 24.6 24.7 24.7 1.0

Shell and Host Details

shell label shell id
bash bash-9af8f89f
dash dash-9ff48631
osh osh-02bcdeb5
host label host id
broome broome-d80ab850
spring spring-d80ab850