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 24 1,463 26.7
abuild-help lisa 20 7 571 28.3
cpython-configure flanders 31,162 31,047 213,717 6.9
cpython-configure lisa 12,674 11,131 95,958 7.6
hello-world flanders 4 3 65 15.1
hello-world lisa 1 1 29 22.4
ocaml-4.06.0 flanders 6,976 6,335 12,088 1.7
ocaml-4.06.0 lisa 3,257 3,231 4,896 1.5
tcc-0.9.26 flanders 99 90 526 5.3
tcc-0.9.26 lisa 35 31 199 5.6
yash-2.46 flanders 3,466 3,270 6,724 1.9
yash-2.46 lisa 1,417 1,342 2,562 1.8

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.4 18.5 2.8
abuild-help lisa 6.7 6.5 18.5 2.8
cpython-configure flanders 24.4 24.3 42.7 1.7
cpython-configure lisa 24.2 24.3 42.5 1.8
hello-world flanders 6.6 6.6 11.8 1.8
hello-world lisa 6.6 6.7 11.7 1.8
ocaml-4.06.0 flanders 19.6 19.8 19.8 1.0
ocaml-4.06.0 lisa 19.7 19.6 19.7 1.0
tcc-0.9.26 flanders 19.3 19.4 19.3 1.0
tcc-0.9.26 lisa 19.3 19.3 19.2 1.0
yash-2.46 flanders 23.1 23.1 23.1 1.0
yash-2.46 lisa 23.1 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.4 31.2
abuild-help lisa 18.3 31.2
cpython-configure flanders 42.6 55.0
cpython-configure lisa 42.4 55.0
hello-world flanders 11.4 24.2
hello-world lisa 11.3 24.2
ocaml-4.06.0 flanders 15.6 28.2
ocaml-4.06.0 lisa 15.6 28.2
tcc-0.9.26 flanders 12.6 25.1
tcc-0.9.26 lisa 12.5 25.1
yash-2.46 flanders 14.7 27.2
yash-2.46 lisa 14.6 27.2

Shell and Host Details

shell label shell id
bash bash-d685a43c
dash dash-2887d9e6
osh osh-42c9a6ae
host label host id
flanders flanders-6c96a848
lisa lisa-cc016cb1