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 |
16 |
9 |
20 |
21 |
18 |
1.27 |
1.16 |
| bin-true |
no-host |
615 |
442 |
807 |
812 |
650 |
1.31 |
1.06 |
| configure.cpython |
no-host |
14,042 |
14,061 |
13,672 |
13,709 |
13,160 |
0.97 |
0.94 |
| configure.ocaml |
no-host |
3,705 |
3,661 |
3,751 |
3,744 |
3,705 |
1.01 |
1.00 |
| configure.tcc |
no-host |
47 |
41 |
47 |
47 |
43 |
1.00 |
0.93 |
| configure.util-linux |
no-host |
12,723 |
13,461 |
12,682 |
12,748 |
12,354 |
1.00 |
0.97 |
| configure.yash |
no-host |
1,736 |
1,670 |
1,726 |
1,732 |
1,696 |
0.99 |
0.98 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.38 |
1.02 |
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,373 |
1,156 |
3,280 |
3,390 |
2,796 |
1.38 |
1.18 |
| bin-true |
no-host |
101,450 |
49,430 |
139,881 |
139,631 |
111,379 |
1.38 |
1.10 |
| configure.cpython |
no-host |
1,622,636 |
1,636,448 |
1,595,609 |
1,599,154 |
1,521,601 |
0.98 |
0.94 |
| configure.ocaml |
no-host |
299,647 |
281,120 |
306,022 |
306,774 |
299,724 |
1.02 |
1.00 |
| configure.tcc |
no-host |
5,202 |
4,217 |
5,592 |
5,658 |
5,112 |
1.07 |
0.98 |
| configure.util-linux |
no-host |
1,534,326 |
1,696,161 |
1,498,269 |
1,513,634 |
1,449,186 |
0.98 |
0.94 |
| configure.yash |
no-host |
173,520 |
159,534 |
177,109 |
177,661 |
172,702 |
1.02 |
1.00 |
| hello-world |
no-host |
151 |
84 |
388 |
394 |
181 |
2.57 |
1.20 |
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,896 |
3,896 |
0 |
716 |
1,916 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
807 |
1 |
2 |
3.5 |
8.8 |
152,882 |
11,691 |
2,964 |
14,775 |
73,391 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,672 |
1 |
67 |
14.8 |
34.7 |
1,753,364 |
36,445 |
28,935 |
93,071 |
872,316 |
787,977 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,682 |
3 |
68 |
21.6 |
39.7 |
2,709,910 |
37,457 |
66,323 |
119,739 |
1,296,433 |
1,293,738 |
32,527 |
42 |
132,646 |
1 |
| configure.ocaml |
no-host |
3,751 |
1 |
2 |
2.8 |
28.8 |
149,932 |
12,652 |
6,557 |
9,207 |
70,540 |
70,185 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.2 |
30,574 |
30,574 |
0 |
1,674 |
14,510 |
14,390 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,726 |
1 |
2 |
2.7 |
33.5 |
143,736 |
11,764 |
6,618 |
7,160 |
70,796 |
65,780 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
20 |
1 |
2 |
3.0 |
9.3 |
117,251 |
65,784 |
41,994 |
4,969 |
54,631 |
57,651 |
277 |
3 |
83,988 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.9 |
3,895 |
3,895 |
0 |
715 |
1,916 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
812 |
1 |
2 |
3.5 |
9.2 |
152,882 |
11,695 |
2,968 |
14,775 |
73,391 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,709 |
1 |
67 |
14.9 |
34.5 |
1,753,363 |
36,450 |
28,940 |
93,070 |
872,316 |
787,977 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,748 |
3 |
67 |
21.6 |
39.6 |
2,709,910 |
37,463 |
66,329 |
119,739 |
1,296,433 |
1,293,738 |
32,527 |
42 |
132,658 |
1 |
| configure.ocaml |
no-host |
3,744 |
1 |
2 |
2.8 |
28.5 |
149,932 |
12,657 |
6,562 |
9,207 |
70,540 |
70,185 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.3 |
30,574 |
30,574 |
0 |
1,674 |
14,510 |
14,390 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,732 |
1 |
2 |
2.7 |
33.3 |
143,736 |
11,768 |
6,622 |
7,160 |
70,796 |
65,780 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
21 |
1 |
2 |
3.0 |
10.0 |
117,251 |
65,788 |
41,998 |
4,969 |
54,631 |
57,651 |
277 |
3 |
83,996 |
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 |
16 |
7 |
9 |
4.8 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
4 |
6 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
20 |
12 |
9 |
9.3 |
osh-native |
| 31 |
no-host |
abuild-print-help |
21 |
11 |
11 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
18 |
12 |
7 |
6.4 |
osh-static |
| 1 |
no-host |
bin-true |
615 |
312 |
342 |
3.1 |
bash |
| 9 |
no-host |
bin-true |
442 |
277 |
169 |
1.7 |
dash |
| 17 |
no-host |
bin-true |
807 |
321 |
502 |
8.8 |
osh-native |
| 25 |
no-host |
bin-true |
812 |
305 |
523 |
9.2 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
650 |
319 |
348 |
5.2 |
osh-static |
| 2 |
no-host |
configure.cpython |
14,042 |
7,641 |
6,784 |
34.5 |
bash |
| 10 |
no-host |
configure.cpython |
14,061 |
7,746 |
6,713 |
34.5 |
dash |
| 18 |
no-host |
configure.cpython |
13,672 |
7,257 |
6,692 |
34.7 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,709 |
7,292 |
6,701 |
34.5 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
13,160 |
7,257 |
6,141 |
34.7 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,705 |
1,477 |
1,269 |
28.5 |
bash |
| 12 |
no-host |
configure.ocaml |
3,661 |
1,502 |
1,183 |
28.5 |
dash |
| 20 |
no-host |
configure.ocaml |
3,751 |
1,494 |
1,295 |
28.8 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,744 |
1,522 |
1,262 |
28.5 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,705 |
1,426 |
1,310 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
47 |
24 |
23 |
26.3 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
20 |
22 |
26.4 |
dash |
| 21 |
no-host |
configure.tcc |
47 |
25 |
22 |
26.2 |
osh-native |
| 29 |
no-host |
configure.tcc |
47 |
24 |
24 |
26.3 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
43 |
22 |
22 |
26.2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,723 |
6,671 |
6,517 |
39.6 |
bash |
| 11 |
no-host |
configure.util-linux |
13,461 |
6,663 |
7,292 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
12,682 |
6,299 |
6,613 |
39.7 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,748 |
6,311 |
6,654 |
39.6 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,354 |
6,353 |
6,210 |
39.6 |
osh-static |
| 6 |
no-host |
configure.yash |
1,736 |
975 |
768 |
33.4 |
bash |
| 14 |
no-host |
configure.yash |
1,670 |
972 |
699 |
33.3 |
dash |
| 22 |
no-host |
configure.yash |
1,726 |
928 |
800 |
33.5 |
osh-native |
| 30 |
no-host |
configure.yash |
1,732 |
971 |
764 |
33.3 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,696 |
953 |
746 |
33.2 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
1 |
0 |
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.3 |
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,373 |
0 |
0 |
0 |
8 |
0 |
41 |
1 |
bash |
| 15 |
no-host |
abuild-print-help |
1,156 |
0 |
0 |
0 |
8 |
0 |
40 |
1 |
dash |
| 23 |
no-host |
abuild-print-help |
3,280 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,390 |
0 |
0 |
0 |
16 |
0 |
37 |
2 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,796 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
101,450 |
0 |
0 |
0 |
8 |
0 |
1,997 |
42 |
bash |
| 9 |
no-host |
bin-true |
49,430 |
0 |
0 |
0 |
8 |
0 |
2,995 |
50 |
dash |
| 17 |
no-host |
bin-true |
139,881 |
0 |
0 |
0 |
16 |
0 |
1,998 |
62 |
osh-native |
| 25 |
no-host |
bin-true |
139,631 |
0 |
0 |
0 |
16 |
0 |
2,000 |
80 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
111,379 |
0 |
0 |
0 |
8 |
0 |
1,999 |
74 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,622,636 |
0 |
0 |
0 |
25,272 |
0 |
14,058 |
1,022 |
bash |
| 10 |
no-host |
configure.cpython |
1,636,448 |
0 |
0 |
0 |
25,272 |
0 |
14,137 |
1,027 |
dash |
| 18 |
no-host |
configure.cpython |
1,595,609 |
0 |
0 |
0 |
25,280 |
0 |
11,288 |
830 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,599,154 |
0 |
0 |
0 |
25,280 |
0 |
11,307 |
822 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,521,601 |
0 |
0 |
0 |
25,272 |
0 |
11,301 |
816 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,647 |
0 |
0 |
0 |
4,432 |
0 |
2,018 |
156 |
bash |
| 12 |
no-host |
configure.ocaml |
281,120 |
0 |
0 |
0 |
4,432 |
0 |
2,107 |
203 |
dash |
| 20 |
no-host |
configure.ocaml |
306,022 |
0 |
0 |
0 |
4,440 |
0 |
2,002 |
241 |
osh-native |
| 28 |
no-host |
configure.ocaml |
306,774 |
0 |
0 |
0 |
4,440 |
0 |
1,999 |
202 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
299,724 |
0 |
0 |
0 |
4,432 |
0 |
1,999 |
244 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,202 |
0 |
0 |
0 |
80 |
0 |
49 |
2 |
bash |
| 13 |
no-host |
configure.tcc |
4,217 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
5,592 |
0 |
0 |
0 |
96 |
0 |
45 |
0 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,658 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,112 |
0 |
0 |
0 |
88 |
0 |
45 |
1 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,534,326 |
0 |
0 |
0 |
35,944 |
0 |
18,923 |
1,072 |
bash |
| 11 |
no-host |
configure.util-linux |
1,696,161 |
2 |
0 |
0 |
35,936 |
0 |
17,091 |
1,134 |
dash |
| 19 |
no-host |
configure.util-linux |
1,498,269 |
2 |
0 |
0 |
35,952 |
0 |
16,159 |
958 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,513,634 |
0 |
0 |
0 |
35,944 |
0 |
16,161 |
936 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,449,186 |
3 |
0 |
0 |
35,936 |
0 |
16,144 |
1,050 |
osh-static |
| 6 |
no-host |
configure.yash |
173,520 |
0 |
0 |
0 |
3,616 |
0 |
878 |
117 |
bash |
| 14 |
no-host |
configure.yash |
159,534 |
0 |
0 |
0 |
3,616 |
0 |
1,000 |
107 |
dash |
| 22 |
no-host |
configure.yash |
177,109 |
0 |
0 |
0 |
3,632 |
0 |
857 |
92 |
osh-native |
| 30 |
no-host |
configure.yash |
177,661 |
0 |
0 |
0 |
3,624 |
0 |
859 |
99 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
172,702 |
0 |
0 |
0 |
3,616 |
0 |
858 |
102 |
osh-static |
| 0 |
no-host |
hello-world |
151 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
84 |
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 |
394 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
181 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host