oilshell.org
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)
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