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 58 24 1,403 24.1
abuild-help lisa 26 9 682 26.4
cpython-configure flanders 30,320 30,605 206,940 6.8
cpython-configure lisa 13,281 11,723 105,294 7.9
hello-world flanders 3 2 65 21.0
hello-world lisa 2 1 33 17.2
ocaml-4.06.0 flanders 6,335 6,279 10,874 1.7
ocaml-4.06.0 lisa 3,367 3,360 5,222 1.6
tcc-0.9.26 flanders 105 85 506 4.8
tcc-0.9.26 lisa 44 36 215 4.9
yash-2.46 flanders 3,381 3,234 6,456 1.9
yash-2.46 lisa 1,502 1,406 2,818 1.9

Memory Usage (Max Resident Set Size in MB)

task arg host label bash dash osh osh to bash ratio
abuild-help flanders 6.6 6.6 18.6 2.8
abuild-help lisa 6.7 6.6 18.6 2.8
cpython-configure flanders 24.3 24.3 42.9 1.8
cpython-configure lisa 24.4 24.2 42.7 1.8
hello-world flanders 6.4 6.4 11.8 1.8
hello-world lisa 6.5 6.5 11.8 1.8
ocaml-4.06.0 flanders 19.7 19.7 19.7 1.0
ocaml-4.06.0 lisa 19.6 19.7 19.8 1.0
tcc-0.9.26 flanders 19.2 19.3 19.3 1.0
tcc-0.9.26 lisa 19.3 19.2 19.2 1.0
yash-2.46 flanders 23.0 23.0 23.1 1.0
yash-2.46 lisa 23.2 23.1 23.0 1.0

Old Memory Usage Metric

Measuring osh-ovm.

task arg host runtime VmRSS MB runtime VmPeak MB
abuild-help flanders 18.5 31.3
abuild-help lisa 18.4 31.3
cpython-configure flanders 42.7 55.4
cpython-configure lisa 42.6 55.4
hello-world flanders 11.5 24.2
hello-world lisa 11.5 24.2
ocaml-4.06.0 flanders 15.8 28.3
ocaml-4.06.0 lisa 15.6 28.3
tcc-0.9.26 flanders 12.7 25.2
tcc-0.9.26 lisa 12.6 25.2
yash-2.46 flanders 14.7 27.3
yash-2.46 lisa 14.7 27.3

Shell and Host Details

shell label shell id
bash bash-d685a43c
dash dash-2887d9e6
osh osh-b4e29904
host label host id
flanders flanders-889e300d
lisa lisa-6c96a848