oils.pub
OSH Runtime Performance
Source code: benchmarks/osh-runtime.sh
Raw files
Elapsed Time by Shell (milliseconds)
Some benchmarks call many external tools, while some exercise the shell
interpreter itself.
| workload |
host name |
bash |
dash |
osh-native |
osh-nosouffle |
osh-static |
osh bash ratio |
static bash ratio |
| abuild-print-help |
no-host |
15 |
9 |
20 |
21 |
18 |
1.29 |
1.17 |
| bin-true |
no-host |
620 |
438 |
801 |
802 |
651 |
1.29 |
1.05 |
| configure.cpython |
no-host |
13,570 |
13,693 |
13,329 |
13,320 |
12,780 |
0.98 |
0.94 |
| configure.ocaml |
no-host |
3,630 |
3,565 |
3,662 |
3,659 |
3,634 |
1.01 |
1.00 |
| configure.tcc |
no-host |
45 |
40 |
46 |
46 |
42 |
1.01 |
0.94 |
| configure.util-linux |
no-host |
12,387 |
13,073 |
12,358 |
12,418 |
12,003 |
1.00 |
0.97 |
| configure.yash |
no-host |
1,673 |
1,618 |
1,672 |
1,674 |
1,666 |
1.00 |
1.00 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.37 |
1.01 |
Minor Page Faults
| workload |
host name |
bash |
dash |
osh-native |
osh-nosouffle |
osh-static |
osh bash ratio |
static bash ratio |
| abuild-print-help |
no-host |
2,379 |
1,168 |
3,296 |
3,350 |
2,833 |
1.39 |
1.19 |
| bin-true |
no-host |
102,426 |
49,433 |
133,274 |
133,266 |
111,627 |
1.30 |
1.09 |
| configure.cpython |
no-host |
1,619,775 |
1,641,197 |
1,598,011 |
1,601,687 |
1,520,541 |
0.99 |
0.94 |
| configure.ocaml |
no-host |
298,778 |
280,497 |
304,932 |
306,201 |
300,470 |
1.02 |
1.01 |
| configure.tcc |
no-host |
5,213 |
4,193 |
5,545 |
5,644 |
5,135 |
1.06 |
0.99 |
| configure.util-linux |
no-host |
1,539,909 |
1,698,253 |
1,501,431 |
1,506,264 |
1,469,318 |
0.98 |
0.95 |
| configure.yash |
no-host |
173,188 |
159,581 |
176,913 |
176,848 |
172,850 |
1.02 |
1.00 |
| hello-world |
no-host |
153 |
85 |
388 |
399 |
182 |
2.54 |
1.19 |
Memory Usage (Max Resident Set Size in MB)
Memory usage is measured in MB (powers of 10), not MiB (powers of 2).
GC Stats
| workload |
host name |
elapsed ms |
max gc millis |
total gc millis |
allocated MB |
max rss MB |
num allocated |
num live |
max survived |
num in heap |
num in pool 1 |
num in pool 2 |
num gc points |
num gc done |
gc threshold |
num growths |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.4 |
3,902 |
3,902 |
0 |
719 |
1,919 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
801 |
1 |
2 |
3.5 |
8.7 |
151,887 |
10,753 |
2,967 |
14,778 |
72,393 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,329 |
1 |
64 |
14.8 |
34.5 |
1,750,749 |
35,381 |
28,938 |
93,074 |
869,710 |
787,965 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,358 |
3 |
63 |
21.6 |
39.6 |
2,705,285 |
37,453 |
66,326 |
119,742 |
1,291,805 |
1,293,738 |
32,527 |
42 |
132,652 |
1 |
| configure.ocaml |
no-host |
3,662 |
1 |
2 |
2.8 |
28.6 |
149,687 |
12,645 |
6,560 |
9,210 |
70,293 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
46 |
0 |
0 |
1.4 |
26.2 |
30,536 |
30,536 |
0 |
1,677 |
14,470 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,672 |
1 |
2 |
2.7 |
33.2 |
143,449 |
11,458 |
6,614 |
7,163 |
70,506 |
65,780 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
20 |
1 |
2 |
3.0 |
9.6 |
117,218 |
65,787 |
41,997 |
4,972 |
54,595 |
57,651 |
277 |
3 |
83,994 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.9 |
3,901 |
3,901 |
0 |
718 |
1,919 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
802 |
1 |
2 |
3.5 |
9.3 |
151,887 |
10,757 |
2,971 |
14,778 |
72,393 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,320 |
2 |
64 |
14.8 |
34.4 |
1,750,748 |
35,386 |
28,943 |
93,073 |
869,710 |
787,965 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,418 |
3 |
64 |
21.6 |
39.7 |
2,705,285 |
37,459 |
66,332 |
119,742 |
1,291,805 |
1,293,738 |
32,527 |
42 |
132,664 |
1 |
| configure.ocaml |
no-host |
3,659 |
1 |
2 |
2.8 |
28.5 |
149,687 |
12,650 |
6,565 |
9,210 |
70,293 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
46 |
0 |
0 |
1.4 |
26.1 |
30,536 |
30,536 |
0 |
1,677 |
14,470 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,674 |
1 |
2 |
2.7 |
33.3 |
143,449 |
11,462 |
6,618 |
7,163 |
70,506 |
65,780 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
21 |
1 |
2 |
3.0 |
10.0 |
117,218 |
65,791 |
42,001 |
4,972 |
54,595 |
57,651 |
277 |
3 |
84,002 |
1 |
rusage Details
| task id |
host name |
workload |
elapsed ms |
user ms |
sys ms |
max rss MB |
shell label |
| 7 |
no-host |
abuild-print-help |
15 |
7 |
9 |
4.7 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.8 |
dash |
| 23 |
no-host |
abuild-print-help |
20 |
12 |
9 |
9.6 |
osh-native |
| 31 |
no-host |
abuild-print-help |
21 |
14 |
8 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
18 |
15 |
4 |
6.4 |
osh-static |
| 1 |
no-host |
bin-true |
620 |
305 |
352 |
3.3 |
bash |
| 9 |
no-host |
bin-true |
438 |
275 |
169 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
801 |
309 |
510 |
8.7 |
osh-native |
| 25 |
no-host |
bin-true |
802 |
311 |
509 |
9.3 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
651 |
312 |
356 |
5.2 |
osh-static |
| 2 |
no-host |
configure.cpython |
13,570 |
7,441 |
6,511 |
34.5 |
bash |
| 10 |
no-host |
configure.cpython |
13,693 |
7,589 |
6,505 |
34.5 |
dash |
| 18 |
no-host |
configure.cpython |
13,329 |
7,171 |
6,434 |
34.5 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,320 |
7,050 |
6,553 |
34.4 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
12,780 |
7,101 |
5,910 |
34.5 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,630 |
1,478 |
1,192 |
28.6 |
bash |
| 12 |
no-host |
configure.ocaml |
3,565 |
1,470 |
1,118 |
28.7 |
dash |
| 20 |
no-host |
configure.ocaml |
3,662 |
1,472 |
1,229 |
28.6 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,659 |
1,462 |
1,237 |
28.5 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,634 |
1,443 |
1,222 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
45 |
22 |
24 |
26.2 |
bash |
| 13 |
no-host |
configure.tcc |
40 |
22 |
18 |
26.1 |
dash |
| 21 |
no-host |
configure.tcc |
46 |
27 |
19 |
26.2 |
osh-native |
| 29 |
no-host |
configure.tcc |
46 |
25 |
21 |
26.1 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
42 |
25 |
17 |
26.3 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,387 |
6,517 |
6,333 |
39.7 |
bash |
| 11 |
no-host |
configure.util-linux |
13,073 |
6,494 |
7,067 |
39.8 |
dash |
| 19 |
no-host |
configure.util-linux |
12,358 |
6,149 |
6,429 |
39.6 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,418 |
6,177 |
6,464 |
39.7 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,003 |
6,176 |
6,038 |
39.6 |
osh-static |
| 6 |
no-host |
configure.yash |
1,673 |
919 |
763 |
33.1 |
bash |
| 14 |
no-host |
configure.yash |
1,618 |
935 |
684 |
33.1 |
dash |
| 22 |
no-host |
configure.yash |
1,672 |
939 |
736 |
33.2 |
osh-native |
| 30 |
no-host |
configure.yash |
1,674 |
901 |
777 |
33.3 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,666 |
920 |
748 |
33.3 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.1 |
bash |
| 8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
3 |
0 |
3 |
6.4 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
1 |
2 |
6.9 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
1 |
0 |
1 |
3.4 |
osh-static |
More Details
| task id |
host name |
workload |
minor faults |
major faults |
swaps |
in block |
out block |
signals |
voluntary ctx |
involuntary ctx |
shell label |
| 7 |
no-host |
abuild-print-help |
2,379 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,168 |
0 |
0 |
0 |
8 |
0 |
40 |
1 |
dash |
| 23 |
no-host |
abuild-print-help |
3,296 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,350 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,833 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
102,426 |
0 |
0 |
0 |
8 |
0 |
1,994 |
47 |
bash |
| 9 |
no-host |
bin-true |
49,433 |
0 |
0 |
0 |
8 |
0 |
2,993 |
59 |
dash |
| 17 |
no-host |
bin-true |
133,274 |
0 |
0 |
0 |
16 |
0 |
1,998 |
57 |
osh-native |
| 25 |
no-host |
bin-true |
133,266 |
0 |
0 |
0 |
16 |
0 |
2,001 |
83 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
111,627 |
0 |
0 |
0 |
8 |
0 |
1,998 |
45 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,619,775 |
0 |
0 |
0 |
25,272 |
0 |
14,074 |
984 |
bash |
| 10 |
no-host |
configure.cpython |
1,641,197 |
4 |
0 |
0 |
25,272 |
0 |
14,115 |
1,007 |
dash |
| 18 |
no-host |
configure.cpython |
1,598,011 |
0 |
0 |
0 |
25,280 |
0 |
11,297 |
870 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,601,687 |
0 |
0 |
0 |
25,280 |
0 |
11,318 |
850 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,520,541 |
0 |
0 |
0 |
25,272 |
0 |
11,302 |
852 |
osh-static |
| 4 |
no-host |
configure.ocaml |
298,778 |
0 |
0 |
0 |
4,432 |
0 |
2,014 |
176 |
bash |
| 12 |
no-host |
configure.ocaml |
280,497 |
0 |
0 |
0 |
4,432 |
0 |
2,108 |
193 |
dash |
| 20 |
no-host |
configure.ocaml |
304,932 |
0 |
0 |
0 |
4,440 |
0 |
2,004 |
239 |
osh-native |
| 28 |
no-host |
configure.ocaml |
306,201 |
0 |
0 |
0 |
4,440 |
0 |
1,999 |
204 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,470 |
0 |
0 |
0 |
4,432 |
0 |
1,999 |
212 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,213 |
0 |
0 |
0 |
80 |
0 |
49 |
3 |
bash |
| 13 |
no-host |
configure.tcc |
4,193 |
0 |
0 |
0 |
88 |
0 |
52 |
3 |
dash |
| 21 |
no-host |
configure.tcc |
5,545 |
0 |
0 |
0 |
96 |
0 |
45 |
1 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,644 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,135 |
0 |
0 |
0 |
88 |
0 |
45 |
3 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,539,909 |
0 |
0 |
232 |
35,944 |
0 |
18,956 |
1,070 |
bash |
| 11 |
no-host |
configure.util-linux |
1,698,253 |
1 |
0 |
0 |
35,936 |
0 |
17,053 |
1,241 |
dash |
| 19 |
no-host |
configure.util-linux |
1,501,431 |
1 |
0 |
0 |
35,952 |
0 |
16,205 |
957 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,506,264 |
1 |
0 |
0 |
35,952 |
0 |
16,192 |
925 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,469,318 |
2 |
0 |
0 |
35,944 |
0 |
16,213 |
876 |
osh-static |
| 6 |
no-host |
configure.yash |
173,188 |
0 |
0 |
0 |
3,616 |
0 |
880 |
88 |
bash |
| 14 |
no-host |
configure.yash |
159,581 |
0 |
0 |
0 |
3,616 |
0 |
1,000 |
104 |
dash |
| 22 |
no-host |
configure.yash |
176,913 |
0 |
0 |
0 |
3,624 |
0 |
857 |
102 |
osh-native |
| 30 |
no-host |
configure.yash |
176,848 |
0 |
0 |
0 |
3,624 |
0 |
857 |
96 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
172,850 |
0 |
0 |
0 |
3,616 |
0 |
859 |
109 |
osh-static |
| 0 |
no-host |
hello-world |
153 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
85 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
388 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 24 |
no-host |
hello-world |
399 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
182 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host