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 48 27 1,530 31.6
abuild-help lisa 20 8 559 28.4
cpython-configure flanders 23,823 30,887 213,641 9.0
cpython-configure lisa 12,609 11,230 97,521 7.7
hello-world flanders 6 2 63 10.3
hello-world lisa 1 1 31 23.7
ocaml-4.06.0 flanders 5,210 6,282 12,018 2.3
ocaml-4.06.0 lisa 3,289 3,235 4,963 1.5
tcc-0.9.26 flanders 77 97 632 8.2
tcc-0.9.26 lisa 35 32 200 5.7
yash-2.46 flanders 2,840 3,201 6,680 2.4
yash-2.46 lisa 1,412 1,346 2,572 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.5 6.6 18.5 2.8
abuild-help lisa 6.6 6.7 18.5 2.8
cpython-configure flanders 24.1 24.2 42.6 1.8
cpython-configure lisa 24.4 24.3 42.5 1.7
hello-world flanders 6.6 6.6 11.5 1.7
hello-world lisa 6.7 6.5 11.7 1.8
ocaml-4.06.0 flanders 19.7 19.7 19.7 1.0
ocaml-4.06.0 lisa 19.7 19.7 19.8 1.0
tcc-0.9.26 flanders 19.1 19.2 19.1 1.0
tcc-0.9.26 lisa 19.3 19.2 19.2 1.0
yash-2.46 flanders 22.9 23.0 23.0 1.0
yash-2.46 lisa 23.1 22.9 23.0 1.0

Old Memory Usage Metric

Measuring osh-ovm.

task arg host runtime VmRSS MB runtime VmPeak MB
abuild-help flanders 18.3 30.8
abuild-help lisa 18.3 30.8
cpython-configure flanders 42.4 54.9
cpython-configure lisa 42.4 54.9
hello-world flanders 11.2 24.1
hello-world lisa 11.3 24.1
ocaml-4.06.0 flanders 15.4 28.2
ocaml-4.06.0 lisa 15.4 28.2
tcc-0.9.26 flanders 12.5 25.1
tcc-0.9.26 lisa 12.4 25.1
yash-2.46 flanders 14.5 27.3
yash-2.46 lisa 14.5 27.2

Shell and Host Details

shell label shell id
bash bash-d685a43c
dash dash-2887d9e6
osh osh-619b74db
host label host id
flanders flanders-cc016cb1
lisa lisa-cc016cb1