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 |
19 |
9 |
464 |
22 |
21 |
24.39 |
1.15 |
bin-true |
no-host |
678 |
543 |
2,308 |
817 |
809 |
3.40 |
1.20 |
configure.cpython |
no-host |
15,025 |
15,013 |
28,665 |
15,096 |
15,207 |
1.91 |
1.00 |
configure.ocaml |
no-host |
3,789 |
3,719 |
4,632 |
3,793 |
3,789 |
1.22 |
1.00 |
configure.tcc |
no-host |
47 |
41 |
202 |
49 |
48 |
4.31 |
1.04 |
configure.util-linux |
no-host |
13,883 |
14,841 |
31,280 |
14,235 |
14,232 |
2.25 |
1.03 |
configure.yash |
no-host |
1,800 |
1,745 |
2,451 |
1,820 |
1,816 |
1.36 |
1.01 |
hello-world |
no-host |
1 |
1 |
59 |
3 |
3 |
40.03 |
1.94 |
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,540 |
1,120 |
23,694 |
3,168 |
3,095 |
9.33 |
1.25 |
bin-true |
no-host |
107,393 |
66,454 |
770,299 |
125,191 |
125,209 |
7.17 |
1.17 |
configure.cpython |
no-host |
2,214,457 |
2,238,162 |
6,220,173 |
2,216,273 |
2,201,123 |
2.81 |
1.00 |
configure.ocaml |
no-host |
410,273 |
390,804 |
646,205 |
413,125 |
412,201 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,547 |
5,479 |
24,098 |
6,973 |
6,932 |
3.68 |
1.07 |
configure.util-linux |
no-host |
2,099,609 |
2,257,250 |
5,370,184 |
1,985,042 |
1,989,989 |
2.56 |
0.95 |
configure.yash |
no-host |
256,026 |
245,114 |
388,555 |
258,271 |
257,895 |
1.52 |
1.01 |
hello-world |
no-host |
152 |
81 |
3,938 |
343 |
336 |
25.91 |
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.3 |
3,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
817 |
1 |
2 |
2.6 |
8.0 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,096 |
1 |
60 |
14.9 |
27.5 |
1,771,747 |
49,125 |
28,512 |
85,415 |
878,115 |
808,217 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,235 |
2 |
58 |
21.2 |
30.3 |
2,702,513 |
45,898 |
65,711 |
108,691 |
1,290,640 |
1,303,182 |
32,239 |
41 |
131,422 |
1 |
configure.ocaml |
no-host |
3,793 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,112 |
5,207 |
7,508 |
70,969 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.4 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,820 |
1 |
2 |
2.5 |
24.5 |
139,412 |
8,024 |
6,686 |
5,989 |
67,942 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,292 |
64,403 |
42,613 |
4,532 |
54,436 |
57,324 |
277 |
3 |
85,226 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
6.0 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
809 |
1 |
2 |
2.6 |
7.7 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,207 |
1 |
59 |
14.9 |
27.4 |
1,771,746 |
44,577 |
28,450 |
85,416 |
878,115 |
808,215 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,232 |
2 |
58 |
21.2 |
30.0 |
2,702,513 |
53,693 |
65,649 |
108,693 |
1,290,640 |
1,303,180 |
32,239 |
41 |
131,298 |
1 |
configure.ocaml |
no-host |
3,789 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,050 |
5,145 |
7,510 |
70,969 |
71,601 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.4 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,816 |
1 |
2 |
2.5 |
24.2 |
139,412 |
7,962 |
6,624 |
5,991 |
67,942 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.5 |
116,291 |
64,341 |
42,551 |
4,533 |
54,436 |
57,322 |
277 |
3 |
85,102 |
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 |
19 |
14 |
5 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
464 |
416 |
51 |
22.8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
20 |
3 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
10 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
678 |
506 |
207 |
3.0 |
bash |
9 |
no-host |
bin-true |
543 |
416 |
137 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,308 |
1,497 |
1,069 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
817 |
589 |
242 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
809 |
571 |
251 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,025 |
9,107 |
6,252 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,013 |
9,038 |
6,389 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
28,665 |
17,788 |
12,721 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,096 |
8,901 |
6,457 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,207 |
9,058 |
6,279 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,789 |
1,662 |
1,164 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,719 |
1,498 |
1,239 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,632 |
2,266 |
1,576 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,793 |
1,599 |
1,233 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,789 |
1,596 |
1,229 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
31 |
17 |
19.1 |
bash |
13 |
no-host |
configure.tcc |
41 |
28 |
14 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
202 |
144 |
61 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
33 |
16 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
33 |
15 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,883 |
8,747 |
5,601 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,841 |
9,255 |
6,066 |
30.5 |
dash |
19 |
no-host |
configure.util-linux |
31,280 |
20,958 |
11,394 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,235 |
8,616 |
5,818 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,232 |
8,537 |
5,877 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,800 |
1,036 |
773 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,745 |
1,037 |
712 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,451 |
1,596 |
895 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,820 |
1,047 |
776 |
24.5 |
osh-native |
38 |
no-host |
configure.yash |
1,816 |
1,038 |
782 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
59 |
40 |
19 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
6.0 |
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,540 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,120 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,694 |
0 |
0 |
0 |
8 |
0 |
45 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,168 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,095 |
0 |
0 |
0 |
16 |
0 |
40 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,393 |
0 |
0 |
0 |
8 |
0 |
1,989 |
77 |
bash |
9 |
no-host |
bin-true |
66,454 |
0 |
0 |
0 |
8 |
0 |
1,980 |
42 |
dash |
17 |
no-host |
bin-true |
770,299 |
0 |
0 |
0 |
8 |
0 |
1,999 |
238 |
osh-cpython |
25 |
no-host |
bin-true |
125,191 |
0 |
0 |
0 |
16 |
0 |
1,992 |
205 |
osh-native |
33 |
no-host |
bin-true |
125,209 |
0 |
0 |
0 |
16 |
0 |
1,992 |
82 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,214,457 |
0 |
0 |
0 |
32,960 |
0 |
14,510 |
1,036 |
bash |
10 |
no-host |
configure.cpython |
2,238,162 |
0 |
0 |
0 |
32,992 |
0 |
14,623 |
1,040 |
dash |
18 |
no-host |
configure.cpython |
6,220,173 |
1 |
0 |
0 |
27,512 |
0 |
13,267 |
1,106 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,216,273 |
0 |
0 |
0 |
27,520 |
0 |
13,197 |
1,049 |
osh-native |
34 |
no-host |
configure.cpython |
2,201,123 |
0 |
0 |
0 |
27,520 |
0 |
13,221 |
1,070 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,273 |
0 |
0 |
0 |
5,120 |
0 |
1,943 |
169 |
bash |
12 |
no-host |
configure.ocaml |
390,804 |
0 |
0 |
0 |
5,112 |
0 |
1,895 |
146 |
dash |
20 |
no-host |
configure.ocaml |
646,205 |
0 |
0 |
0 |
5,112 |
0 |
1,864 |
161 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,125 |
0 |
0 |
0 |
5,120 |
0 |
1,924 |
160 |
osh-native |
36 |
no-host |
configure.ocaml |
412,201 |
0 |
0 |
0 |
5,120 |
0 |
1,934 |
163 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,547 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,479 |
0 |
0 |
0 |
96 |
0 |
47 |
0 |
dash |
21 |
no-host |
configure.tcc |
24,098 |
0 |
0 |
0 |
96 |
0 |
53 |
11 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,973 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,932 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,099,609 |
1 |
0 |
0 |
42,400 |
0 |
18,545 |
908 |
bash |
11 |
no-host |
configure.util-linux |
2,257,250 |
1 |
0 |
0 |
42,584 |
0 |
17,436 |
1,128 |
dash |
19 |
no-host |
configure.util-linux |
5,370,184 |
13 |
0 |
0 |
39,120 |
0 |
16,965 |
1,339 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,985,042 |
4 |
0 |
0 |
39,120 |
0 |
16,958 |
945 |
osh-native |
35 |
no-host |
configure.util-linux |
1,989,989 |
0 |
0 |
0 |
39,128 |
0 |
17,016 |
941 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,026 |
0 |
0 |
0 |
4,120 |
0 |
868 |
69 |
bash |
14 |
no-host |
configure.yash |
245,114 |
0 |
0 |
0 |
3,720 |
0 |
870 |
85 |
dash |
22 |
no-host |
configure.yash |
388,555 |
0 |
0 |
0 |
3,728 |
0 |
852 |
87 |
osh-cpython |
30 |
no-host |
configure.yash |
258,271 |
0 |
0 |
0 |
3,736 |
0 |
846 |
178 |
osh-native |
38 |
no-host |
configure.yash |
257,895 |
0 |
0 |
0 |
3,736 |
0 |
846 |
72 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
81 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,938 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
343 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
336 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host