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 |
10 |
471 |
22 |
21 |
24.47 |
1.16 |
bin-true |
no-host |
673 |
552 |
2,321 |
811 |
822 |
3.45 |
1.21 |
configure.cpython |
no-host |
15,123 |
15,253 |
29,336 |
15,348 |
15,800 |
1.94 |
1.01 |
configure.ocaml |
no-host |
3,827 |
3,797 |
4,682 |
3,950 |
3,839 |
1.22 |
1.03 |
configure.tcc |
no-host |
48 |
41 |
209 |
50 |
49 |
4.37 |
1.05 |
configure.util-linux |
no-host |
14,306 |
15,062 |
31,881 |
14,498 |
14,466 |
2.23 |
1.01 |
configure.yash |
no-host |
1,838 |
1,788 |
2,520 |
1,886 |
1,841 |
1.37 |
1.03 |
hello-world |
no-host |
2 |
1 |
57 |
3 |
3 |
37.18 |
1.90 |
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,574 |
1,125 |
23,653 |
3,174 |
3,119 |
9.19 |
1.23 |
bin-true |
no-host |
104,281 |
66,429 |
773,706 |
126,237 |
124,274 |
7.42 |
1.21 |
configure.cpython |
no-host |
2,216,558 |
2,243,674 |
6,210,611 |
2,221,236 |
2,203,314 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,684 |
391,195 |
647,324 |
413,240 |
412,723 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,538 |
5,485 |
24,096 |
6,956 |
6,933 |
3.69 |
1.06 |
configure.util-linux |
no-host |
2,107,503 |
2,255,033 |
5,388,566 |
1,999,094 |
1,991,213 |
2.56 |
0.95 |
configure.yash |
no-host |
256,921 |
245,056 |
388,829 |
258,373 |
257,169 |
1.51 |
1.01 |
hello-world |
no-host |
152 |
83 |
3,951 |
343 |
334 |
25.99 |
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.2 |
3,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
811 |
1 |
2 |
2.6 |
7.9 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,348 |
1 |
63 |
14.9 |
27.4 |
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,498 |
3 |
62 |
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,950 |
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 |
50 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,886 |
1 |
2 |
2.5 |
24.4 |
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 |
5.9 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
822 |
1 |
2 |
2.6 |
7.5 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,800 |
1 |
64 |
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,466 |
3 |
62 |
21.2 |
30.1 |
2,702,513 |
53,693 |
65,629 |
108,693 |
1,290,640 |
1,303,180 |
32,239 |
41 |
131,258 |
1 |
configure.ocaml |
no-host |
3,839 |
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 |
49 |
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,841 |
1 |
2 |
2.5 |
24.5 |
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 |
17 |
3 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
9 |
1 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
471 |
435 |
39 |
22.4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
16 |
7 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
14 |
8 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
673 |
483 |
220 |
2.9 |
bash |
9 |
no-host |
bin-true |
552 |
425 |
135 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,321 |
1,512 |
1,071 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
811 |
572 |
255 |
7.9 |
osh-native |
33 |
no-host |
bin-true |
822 |
592 |
244 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,123 |
8,959 |
6,561 |
27.3 |
bash |
10 |
no-host |
configure.cpython |
15,253 |
9,127 |
6,546 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,336 |
17,759 |
13,488 |
27.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,348 |
9,083 |
6,540 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,800 |
9,293 |
6,607 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,827 |
1,627 |
1,235 |
20.4 |
bash |
12 |
no-host |
configure.ocaml |
3,797 |
1,549 |
1,261 |
20.7 |
dash |
20 |
no-host |
configure.ocaml |
4,682 |
2,239 |
1,654 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,950 |
1,693 |
1,295 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,839 |
1,604 |
1,272 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
36 |
12 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
41 |
30 |
11 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
209 |
149 |
63 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
35 |
16 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
26 |
23 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,306 |
8,861 |
5,880 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
15,062 |
9,052 |
6,500 |
30.0 |
dash |
19 |
no-host |
configure.util-linux |
31,881 |
21,011 |
11,863 |
30.0 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,498 |
8,691 |
6,009 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,466 |
8,691 |
5,964 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,838 |
1,070 |
775 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,788 |
1,053 |
739 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,520 |
1,500 |
1,063 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,886 |
1,043 |
847 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,841 |
1,085 |
761 |
24.5 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
16 |
no-host |
hello-world |
57 |
40 |
17 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.2 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,574 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,125 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,653 |
0 |
0 |
0 |
8 |
0 |
45 |
5 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,174 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,119 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,281 |
0 |
0 |
0 |
8 |
0 |
1,994 |
52 |
bash |
9 |
no-host |
bin-true |
66,429 |
0 |
0 |
0 |
8 |
0 |
1,992 |
193 |
dash |
17 |
no-host |
bin-true |
773,706 |
0 |
0 |
0 |
8 |
0 |
2,003 |
377 |
osh-cpython |
25 |
no-host |
bin-true |
126,237 |
0 |
0 |
0 |
16 |
0 |
1,993 |
55 |
osh-native |
33 |
no-host |
bin-true |
124,274 |
0 |
0 |
0 |
16 |
0 |
1,986 |
66 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,216,558 |
0 |
0 |
0 |
32,928 |
0 |
14,491 |
1,221 |
bash |
10 |
no-host |
configure.cpython |
2,243,674 |
0 |
0 |
0 |
32,992 |
0 |
14,602 |
1,128 |
dash |
18 |
no-host |
configure.cpython |
6,210,611 |
0 |
0 |
0 |
27,512 |
0 |
13,322 |
1,362 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,221,236 |
0 |
0 |
0 |
27,520 |
0 |
13,268 |
1,101 |
osh-native |
34 |
no-host |
configure.cpython |
2,203,314 |
2 |
0 |
0 |
27,520 |
0 |
13,292 |
990 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,684 |
0 |
0 |
0 |
5,120 |
0 |
1,950 |
152 |
bash |
12 |
no-host |
configure.ocaml |
391,195 |
0 |
0 |
0 |
5,112 |
0 |
1,903 |
170 |
dash |
20 |
no-host |
configure.ocaml |
647,324 |
0 |
0 |
0 |
5,112 |
0 |
1,850 |
174 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,240 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
186 |
osh-native |
36 |
no-host |
configure.ocaml |
412,723 |
0 |
0 |
0 |
5,120 |
0 |
1,921 |
172 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,538 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,485 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
24,096 |
0 |
0 |
0 |
96 |
0 |
53 |
11 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,956 |
0 |
0 |
0 |
104 |
0 |
47 |
5 |
osh-native |
37 |
no-host |
configure.tcc |
6,933 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,107,503 |
0 |
0 |
0 |
42,400 |
0 |
18,551 |
1,102 |
bash |
11 |
no-host |
configure.util-linux |
2,255,033 |
0 |
0 |
0 |
42,584 |
0 |
17,372 |
1,213 |
dash |
19 |
no-host |
configure.util-linux |
5,388,566 |
12 |
0 |
0 |
39,112 |
0 |
16,985 |
1,248 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,999,094 |
0 |
0 |
0 |
39,128 |
0 |
16,972 |
995 |
osh-native |
35 |
no-host |
configure.util-linux |
1,991,213 |
1 |
0 |
0 |
39,136 |
0 |
16,965 |
1,067 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,921 |
0 |
0 |
0 |
4,120 |
0 |
872 |
68 |
bash |
14 |
no-host |
configure.yash |
245,056 |
0 |
0 |
0 |
3,720 |
0 |
869 |
72 |
dash |
22 |
no-host |
configure.yash |
388,829 |
0 |
0 |
0 |
3,728 |
0 |
851 |
83 |
osh-cpython |
30 |
no-host |
configure.yash |
258,373 |
0 |
0 |
0 |
3,736 |
0 |
847 |
79 |
osh-native |
38 |
no-host |
configure.yash |
257,169 |
0 |
0 |
0 |
3,736 |
0 |
850 |
85 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
83 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,951 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
343 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
334 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host