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-cpython |
osh-native |
osh-native-souffle |
py bash ratio |
native bash ratio |
abuild-print-help |
no-host |
20 |
10 |
467 |
22 |
21 |
23.69 |
1.13 |
bin-true |
no-host |
680 |
551 |
2,299 |
808 |
816 |
3.38 |
1.19 |
configure.cpython |
no-host |
15,131 |
15,172 |
29,040 |
15,280 |
15,472 |
1.92 |
1.01 |
configure.ocaml |
no-host |
3,836 |
3,766 |
4,674 |
3,850 |
3,832 |
1.22 |
1.00 |
configure.tcc |
no-host |
48 |
42 |
203 |
48 |
49 |
4.20 |
1.00 |
configure.util-linux |
no-host |
14,045 |
14,958 |
31,914 |
14,451 |
14,398 |
2.27 |
1.03 |
configure.yash |
no-host |
1,843 |
1,783 |
2,483 |
1,846 |
1,837 |
1.35 |
1.00 |
hello-world |
no-host |
1 |
1 |
57 |
3 |
3 |
38.11 |
1.87 |
Minor Page Faults
workload |
host name |
bash |
dash |
osh-cpython |
osh-native |
osh-native-souffle |
py bash ratio |
native bash ratio |
abuild-print-help |
no-host |
2,534 |
1,139 |
23,439 |
3,174 |
3,122 |
9.25 |
1.25 |
bin-true |
no-host |
105,343 |
66,478 |
759,007 |
125,129 |
125,185 |
7.21 |
1.19 |
configure.cpython |
no-host |
2,220,301 |
2,246,711 |
6,201,784 |
2,214,654 |
2,218,493 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,749 |
391,761 |
644,045 |
412,955 |
412,351 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,589 |
5,484 |
23,934 |
6,974 |
6,891 |
3.63 |
1.06 |
configure.util-linux |
no-host |
2,096,989 |
2,264,135 |
5,363,456 |
1,999,624 |
1,987,227 |
2.56 |
0.95 |
configure.yash |
no-host |
256,222 |
244,586 |
386,713 |
257,943 |
257,978 |
1.51 |
1.01 |
hello-world |
no-host |
154 |
85 |
3,959 |
348 |
339 |
25.71 |
2.26 |
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.2 |
6.4 |
3,793 |
3,793 |
0 |
694 |
1,865 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
808 |
1 |
2 |
2.6 |
8.1 |
153,757 |
12,333 |
2,898 |
8,743 |
76,329 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,280 |
1 |
63 |
14.9 |
27.4 |
1,771,804 |
49,616 |
28,523 |
85,427 |
878,138 |
808,239 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,451 |
3 |
62 |
21.2 |
30.1 |
2,702,550 |
53,777 |
65,702 |
108,699 |
1,290,655 |
1,303,196 |
32,241 |
41 |
131,404 |
1 |
configure.ocaml |
no-host |
3,850 |
1 |
2 |
2.6 |
20.4 |
150,091 |
11,123 |
5,218 |
7,508 |
70,976 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,597 |
30,597 |
0 |
1,518 |
14,648 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,846 |
1 |
2 |
2.5 |
24.4 |
139,423 |
8,035 |
6,697 |
5,989 |
67,949 |
65,485 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
116,303 |
64,414 |
42,624 |
4,532 |
54,443 |
57,328 |
277 |
3 |
85,248 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,792 |
3,792 |
0 |
695 |
1,865 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
816 |
1 |
2 |
2.6 |
7.6 |
153,756 |
12,122 |
2,836 |
8,744 |
76,329 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,472 |
1 |
61 |
14.9 |
27.4 |
1,771,803 |
49,074 |
28,461 |
85,428 |
878,138 |
808,237 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,398 |
3 |
59 |
21.2 |
30.1 |
2,702,550 |
53,704 |
65,660 |
108,701 |
1,290,655 |
1,303,194 |
32,241 |
41 |
131,320 |
1 |
configure.ocaml |
no-host |
3,832 |
1 |
2 |
2.6 |
20.6 |
150,091 |
11,061 |
5,156 |
7,510 |
70,976 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.3 |
30,597 |
30,597 |
0 |
1,520 |
14,648 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,837 |
1 |
2 |
2.5 |
24.4 |
139,423 |
7,973 |
6,635 |
5,991 |
67,949 |
65,483 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,302 |
64,352 |
42,562 |
4,533 |
54,443 |
57,326 |
277 |
3 |
85,124 |
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 |
20 |
17 |
3 |
4.2 |
bash |
15 |
no-host |
abuild-print-help |
10 |
9 |
1 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
467 |
421 |
49 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
16 |
6 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
11 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
680 |
502 |
210 |
3.0 |
bash |
9 |
no-host |
bin-true |
551 |
424 |
137 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,299 |
1,497 |
1,061 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
808 |
560 |
263 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
816 |
587 |
242 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,131 |
9,198 |
6,335 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,172 |
9,216 |
6,378 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
29,040 |
17,721 |
13,190 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,280 |
9,227 |
6,316 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,472 |
9,046 |
6,551 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,836 |
1,675 |
1,202 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,766 |
1,589 |
1,197 |
20.4 |
dash |
20 |
no-host |
configure.ocaml |
4,674 |
2,252 |
1,637 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,850 |
1,640 |
1,246 |
20.4 |
osh-native |
36 |
no-host |
configure.ocaml |
3,832 |
1,658 |
1,211 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
32 |
17 |
19.1 |
bash |
13 |
no-host |
configure.tcc |
42 |
24 |
18 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
203 |
131 |
75 |
19.1 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
34 |
15 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
22 |
28 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,045 |
8,830 |
5,684 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
14,958 |
9,203 |
6,252 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,914 |
21,157 |
11,842 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,451 |
8,772 |
5,873 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,398 |
8,614 |
5,964 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,843 |
1,098 |
750 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,783 |
1,024 |
763 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,483 |
1,531 |
991 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,846 |
1,075 |
775 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,837 |
1,088 |
754 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
2 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
57 |
37 |
20 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
5.9 |
osh-native-souffle |
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,534 |
0 |
0 |
0 |
16 |
0 |
41 |
3 |
bash |
15 |
no-host |
abuild-print-help |
1,139 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,439 |
0 |
0 |
0 |
8 |
0 |
45 |
9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,174 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,122 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,343 |
0 |
0 |
0 |
8 |
0 |
1,997 |
169 |
bash |
9 |
no-host |
bin-true |
66,478 |
0 |
0 |
0 |
8 |
0 |
1,991 |
94 |
dash |
17 |
no-host |
bin-true |
759,007 |
0 |
0 |
0 |
8 |
0 |
2,002 |
272 |
osh-cpython |
25 |
no-host |
bin-true |
125,129 |
0 |
0 |
0 |
16 |
0 |
1,995 |
140 |
osh-native |
33 |
no-host |
bin-true |
125,185 |
0 |
0 |
0 |
16 |
0 |
1,986 |
56 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,220,301 |
1 |
0 |
0 |
32,928 |
0 |
14,504 |
966 |
bash |
10 |
no-host |
configure.cpython |
2,246,711 |
0 |
0 |
0 |
32,992 |
0 |
15,314 |
1,889 |
dash |
18 |
no-host |
configure.cpython |
6,201,784 |
0 |
0 |
0 |
27,512 |
0 |
13,153 |
1,205 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,214,654 |
0 |
0 |
0 |
27,520 |
0 |
13,279 |
1,042 |
osh-native |
34 |
no-host |
configure.cpython |
2,218,493 |
0 |
0 |
0 |
27,520 |
0 |
13,283 |
1,079 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,749 |
0 |
0 |
0 |
5,120 |
0 |
1,948 |
163 |
bash |
12 |
no-host |
configure.ocaml |
391,761 |
0 |
0 |
0 |
5,112 |
0 |
1,938 |
146 |
dash |
20 |
no-host |
configure.ocaml |
644,045 |
0 |
0 |
0 |
5,112 |
0 |
1,863 |
189 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,955 |
0 |
0 |
0 |
5,120 |
0 |
1,930 |
159 |
osh-native |
36 |
no-host |
configure.ocaml |
412,351 |
0 |
0 |
0 |
5,120 |
0 |
1,936 |
162 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,589 |
0 |
0 |
0 |
104 |
0 |
49 |
4 |
bash |
13 |
no-host |
configure.tcc |
5,484 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,934 |
0 |
0 |
0 |
96 |
0 |
53 |
9 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,974 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native |
37 |
no-host |
configure.tcc |
6,891 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,096,989 |
0 |
0 |
0 |
42,400 |
0 |
18,610 |
1,041 |
bash |
11 |
no-host |
configure.util-linux |
2,264,135 |
2 |
0 |
0 |
42,584 |
0 |
17,426 |
1,128 |
dash |
19 |
no-host |
configure.util-linux |
5,363,456 |
11 |
0 |
0 |
39,144 |
0 |
17,008 |
1,252 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,999,624 |
1 |
0 |
0 |
39,128 |
0 |
16,987 |
1,001 |
osh-native |
35 |
no-host |
configure.util-linux |
1,987,227 |
3 |
0 |
0 |
39,136 |
0 |
16,997 |
1,106 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,222 |
0 |
0 |
0 |
4,120 |
0 |
870 |
99 |
bash |
14 |
no-host |
configure.yash |
244,586 |
0 |
0 |
0 |
3,720 |
0 |
869 |
69 |
dash |
22 |
no-host |
configure.yash |
386,713 |
0 |
0 |
0 |
3,728 |
0 |
855 |
204 |
osh-cpython |
30 |
no-host |
configure.yash |
257,943 |
0 |
0 |
0 |
3,736 |
0 |
851 |
77 |
osh-native |
38 |
no-host |
configure.yash |
257,978 |
0 |
0 |
0 |
3,736 |
0 |
847 |
71 |
osh-native-souffle |
0 |
no-host |
hello-world |
154 |
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 |
3,959 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
348 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
339 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host