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 53 25 1,463 27.4
abuild-help lisa 18 9 575 32.1
cpython-configure flanders 30,231 30,683 185,720 6.1
cpython-configure lisa 12,434 10,906 96,116 7.7
hello-world flanders 4 2 66 16.6
hello-world lisa 2 1 29 19.5
ocaml-4.06.0 flanders 6,296 6,206 10,614 1.7
ocaml-4.06.0 lisa 3,257 3,164 4,958 1.5
tcc-0.9.26 flanders 99 86 538 5.4
tcc-0.9.26 lisa 40 30 200 5.0
yash-2.46 flanders 3,338 3,257 6,400 1.9
yash-2.46 lisa 1,402 1,303 2,603 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.5 6.4 18.8 2.9
abuild-help lisa 6.6 6.5 18.8 2.9
cpython-configure flanders 24.2 24.3 42.9 1.8
cpython-configure lisa 24.2 24.1 42.8 1.8
hello-world flanders 6.6 6.4 12.1 1.8
hello-world lisa 6.7 6.6 12.0 1.8
ocaml-4.06.0 flanders 19.9 19.7 19.8 1.0
ocaml-4.06.0 lisa 19.6 19.6 19.6 1.0
tcc-0.9.26 flanders 19.3 19.3 19.4 1.0
tcc-0.9.26 lisa 19.2 19.2 19.2 1.0
yash-2.46 flanders 23.0 23.1 23.1 1.0
yash-2.46 lisa 23.0 23.0 23.0 1.0

Old Memory Usage Metric

Measuring osh-ovm.

task arg host runtime VmRSS MB runtime VmPeak MB
abuild-help flanders 18.7 31.3
abuild-help lisa 18.7 31.3
cpython-configure flanders 42.8 55.3
cpython-configure lisa 42.8 55.3
hello-world flanders 11.7 24.6
hello-world lisa 11.6 24.6
ocaml-4.06.0 flanders 15.8 28.7
ocaml-4.06.0 lisa 15.8 28.7
tcc-0.9.26 flanders 12.8 25.5
tcc-0.9.26 lisa 12.7 25.6
yash-2.46 flanders 15.0 27.4
yash-2.46 lisa 15.0 27.5

Shell and Host Details

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