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 65 26 1,687 26.0
abuild-help lisa 23 9 675 29.4
cpython-configure flanders 33,771 35,320 263,390 7.8
cpython-configure lisa 13,318 11,862 108,092 8.1
hello-world flanders 4 3 76 20.1
hello-world lisa 1 1 34 24.6
ocaml-4.06.0 flanders 6,934 6,117 13,483 1.9
ocaml-4.06.0 lisa 3,404 3,314 5,396 1.6
tcc-0.9.26 flanders 108 82 889 8.2
tcc-0.9.26 lisa 43 34 237 5.5
yash-2.46 flanders 3,463 3,251 9,169 2.6
yash-2.46 lisa 1,475 1,419 2,871 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.5 19.0 2.9
abuild-help lisa 6.5 6.5 18.9 2.9
cpython-configure flanders 24.1 24.2 43.0 1.8
cpython-configure lisa 24.4 24.4 42.9 1.8
hello-world flanders 6.4 6.6 12.1 1.9
hello-world lisa 6.5 6.6 12.1 1.9
ocaml-4.06.0 flanders 19.8 19.7 19.8 1.0
ocaml-4.06.0 lisa 19.6 19.6 19.7 1.0
tcc-0.9.26 flanders 19.2 19.3 19.2 1.0
tcc-0.9.26 lisa 19.2 19.3 19.3 1.0
yash-2.46 flanders 23.1 23.1 23.1 1.0
yash-2.46 lisa 23.1 23.0 23.1 1.0

Old Memory Usage Metric

Measuring osh-ovm.

task arg host runtime VmRSS MB runtime VmPeak MB
abuild-help flanders 19.0 31.3
abuild-help lisa 18.7 31.3
cpython-configure flanders 42.8 55.4
cpython-configure lisa 42.7 55.4
hello-world flanders 11.8 24.6
hello-world lisa 11.9 24.6
ocaml-4.06.0 flanders 16.0 28.7
ocaml-4.06.0 lisa 16.0 28.7
tcc-0.9.26 flanders 12.9 25.5
tcc-0.9.26 lisa 12.9 25.5
yash-2.46 flanders 15.0 27.7
yash-2.46 lisa 15.0 27.7

Shell and Host Details

shell label shell id
bash bash-d685a43c
dash dash-2887d9e6
osh osh-9b23ea09
host label host id
flanders flanders-1f35df1a
lisa lisa-1f35df1a