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 55 25 1,540 27.8
abuild-help lisa 20 7 636 31.7
cpython-configure flanders 30,496 30,596 188,318 6.2
cpython-configure lisa 12,853 11,392 104,081 8.1
hello-world flanders 3 2 65 25.5
hello-world lisa 1 0 30 35.5
ocaml-4.06.0 flanders 6,293 6,195 11,261 1.8
ocaml-4.06.0 lisa 3,289 3,232 5,053 1.5
tcc-0.9.26 flanders 102 80 520 5.1
tcc-0.9.26 lisa 36 32 206 5.6
yash-2.46 flanders 3,343 3,234 6,385 1.9
yash-2.46 lisa 1,471 1,356 2,785 1.9

Memory Usage (Max Resident Set Size in MB)

task arg host label bash dash osh osh to bash ratio
abuild-help flanders 4.7 3.5 18.9 4.0
abuild-help lisa 4.9 3.6 18.8 3.9
cpython-configure flanders 24.4 24.2 42.9 1.8
cpython-configure lisa 24.3 24.2 42.9 1.8
hello-world flanders 2.9 1.8 12.0 4.1
hello-world lisa 3.2 1.6 12.0 3.8
ocaml-4.06.0 flanders 19.7 19.8 19.7 1.0
ocaml-4.06.0 lisa 19.6 19.6 19.6 1.0
tcc-0.9.26 flanders 19.1 19.3 19.2 1.0
tcc-0.9.26 lisa 19.3 19.0 19.2 1.0
yash-2.46 flanders 22.9 23.1 23.0 1.0
yash-2.46 lisa 23.0 23.0 22.9 1.0

Old Memory Usage Metric

Measuring osh-ovm.

task arg host runtime VmRSS MB runtime VmPeak MB
abuild-help flanders 18.9 31.3
abuild-help lisa 18.7 31.3
cpython-configure flanders 42.9 55.4
cpython-configure lisa 42.7 55.4
hello-world flanders 11.8 24.6
hello-world lisa 11.8 24.6
ocaml-4.06.0 flanders 15.9 28.7
ocaml-4.06.0 lisa 15.9 28.7
tcc-0.9.26 flanders 12.8 25.5
tcc-0.9.26 lisa 12.8 25.5
yash-2.46 flanders 15.1 27.8
yash-2.46 lisa 15.1 27.7

Shell and Host Details

shell label shell id
bash bash-d685a43c
dash dash-2887d9e6
osh osh-5e6b21a7
host label host id
flanders flanders-e67e6fdb
lisa lisa-1f35df1a