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 61 24 1,423 23.4
abuild-help lisa 22 9 588 26.1
cpython-configure flanders 30,364 30,601 185,276 6.1
cpython-configure lisa 12,922 11,333 103,595 8.0
hello-world flanders 4 2 63 18.1
hello-world lisa 2 1 30 20.1
ocaml-4.06.0 flanders 6,269 6,102 11,142 1.8
ocaml-4.06.0 lisa 3,352 3,248 5,077 1.5
tcc-0.9.26 flanders 109 97 561 5.1
tcc-0.9.26 lisa 46 33 198 4.3
yash-2.46 flanders 3,300 3,141 6,598 2.0
yash-2.46 lisa 1,446 1,367 2,710 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.4 6.6 18.6 2.9
abuild-help lisa 6.7 6.7 18.5 2.8
cpython-configure flanders 24.2 24.2 42.7 1.8
cpython-configure lisa 24.2 24.3 42.6 1.8
hello-world flanders 6.4 6.6 11.7 1.8
hello-world lisa 6.5 6.5 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.2 19.4 19.3 1.0
tcc-0.9.26 lisa 19.1 19.2 19.3 1.0
yash-2.46 flanders 23.1 23.0 23.0 1.0
yash-2.46 lisa 23.1 23.1 23.1 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.5 55.0
cpython-configure lisa 42.4 55.0
hello-world flanders 11.3 24.2
hello-world lisa 11.3 24.2
ocaml-4.06.0 flanders 15.6 28.2
ocaml-4.06.0 lisa 15.5 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.8 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-5d4559cf
host label host id
flanders flanders-6c96a848
lisa lisa-cc016cb1