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 flanders 56 23 1,465 26.2
abuild-help lenny 18 7 533 29.0
cpython-configure flanders 30,558 30,830 113,873 3.7
cpython-configure lenny 15,191 15,432 46,883 3.1
hello-world flanders 3 1 69 19.7
hello-world lenny 2 1 39 22.6
ocaml-4.06.0 flanders 6,291 6,253 9,152 1.5
ocaml-4.06.0 lenny 3,754 4,079 4,793 1.3
tcc-0.9.26 flanders 94 96 508 5.4
tcc-0.9.26 lenny 51 33 190 3.7
yash-2.46 flanders 3,336 3,217 6,217 1.9
yash-2.46 lenny 1,647 1,709 3,221 2.0

Memory Usage (Max Resident Set Size in MB)

task arg host label bash dash osh osh to bash ratio
abuild-help flanders 4.8 3.6 19.6 4.1
abuild-help lenny 4.8 3.9 20.0 4.1
cpython-configure flanders 24.1 24.3 43.7 1.8
cpython-configure lenny 27.0 27.0 44.2 1.6
hello-world flanders 3.0 1.6 12.8 4.3
hello-world lenny 3.3 1.7 13.0 4.0
ocaml-4.06.0 flanders 19.7 19.6 19.8 1.0
ocaml-4.06.0 lenny 21.0 21.1 21.1 1.0
tcc-0.9.26 flanders 19.2 19.3 19.3 1.0
tcc-0.9.26 lenny 20.2 20.3 20.3 1.0
yash-2.46 flanders 23.2 23.1 23.1 1.0
yash-2.46 lenny 24.5 24.6 24.6 1.0

Shell and Host Details

shell label shell id
bash bash-d685a43c
dash dash-2887d9e6
osh osh-99341000
bash bash-9af8f89f
dash dash-9ff48631
host label host id
flanders flanders-63f04b74
lenny lenny-c758ab9d