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 20 1,406 25.5
abuild-help lisa 21 7 585 28.3
cpython-configure flanders 30,370 30,371 114,013 3.8
cpython-configure lisa 12,974 11,299 55,322 4.3
hello-world flanders 3 1 68 27.0
hello-world lisa 1 0 35 48.8
ocaml-4.06.0 flanders 6,347 6,107 9,007 1.4
ocaml-4.06.0 lisa 3,380 3,282 4,329 1.3
tcc-0.9.26 flanders 98 80 503 5.1
tcc-0.9.26 lisa 40 35 219 5.5
yash-2.46 flanders 3,358 3,215 6,268 1.9
yash-2.46 lisa 1,456 1,362 2,690 1.8

Memory Usage (Max Resident Set Size in MB)

task arg host label bash dash osh osh to bash ratio
abuild-help flanders 4.8 3.6 19.2 4.0
abuild-help lisa 5.0 3.7 19.1 3.8
cpython-configure flanders 24.3 24.3 43.3 1.8
cpython-configure lisa 24.2 24.3 43.2 1.8
hello-world flanders 3.1 1.7 12.2 4.0
hello-world lisa 3.1 1.6 12.2 3.9
ocaml-4.06.0 flanders 19.8 19.6 19.7 1.0
ocaml-4.06.0 lisa 19.8 19.7 19.7 1.0
tcc-0.9.26 flanders 19.4 19.2 19.2 1.0
tcc-0.9.26 lisa 19.3 19.2 19.3 1.0
yash-2.46 flanders 23.0 23.1 23.0 1.0
yash-2.46 lisa 23.0 23.1 23.2 1.0

Old Memory Usage Metric

Measuring osh-ovm.

task arg host runtime VmRSS MB runtime VmPeak MB
abuild-help flanders 19.1 31.8
abuild-help lisa 18.9 31.8
cpython-configure flanders 43.1 55.6
cpython-configure lisa 43.1 55.6
hello-world flanders 12.0 24.6
hello-world lisa 11.9 24.6
ocaml-4.06.0 flanders 16.3 28.9
ocaml-4.06.0 lisa 16.2 28.9
tcc-0.9.26 flanders 13.2 25.9
tcc-0.9.26 lisa 13.1 25.9
yash-2.46 flanders 15.3 28.0
yash-2.46 lisa 15.2 28.0

Shell and Host Details

shell label shell id
bash bash-d685a43c
dash dash-2887d9e6
osh osh-20bfc770
host label host id
flanders flanders-59823a5d
lisa lisa-59823a5d