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 |
501 |
23 |
22 |
25.56 |
1.16 |
bin-true |
no-host |
685 |
568 |
2,362 |
845 |
849 |
3.45 |
1.23 |
configure.cpython |
no-host |
15,903 |
15,842 |
30,504 |
16,192 |
16,282 |
1.92 |
1.02 |
configure.ocaml |
no-host |
3,961 |
3,916 |
4,879 |
3,991 |
3,992 |
1.23 |
1.01 |
configure.tcc |
no-host |
51 |
43 |
212 |
52 |
51 |
4.20 |
1.03 |
configure.util-linux |
no-host |
14,815 |
15,673 |
33,300 |
15,216 |
15,204 |
2.25 |
1.03 |
configure.yash |
no-host |
1,903 |
1,852 |
2,603 |
1,936 |
1,928 |
1.37 |
1.02 |
hello-world |
no-host |
2 |
1 |
61 |
3 |
3 |
34.12 |
1.67 |
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,527 |
1,111 |
23,863 |
3,203 |
3,052 |
9.44 |
1.27 |
bin-true |
no-host |
107,336 |
66,526 |
770,480 |
125,266 |
128,176 |
7.18 |
1.17 |
configure.cpython |
no-host |
2,219,201 |
2,237,041 |
6,244,952 |
2,215,992 |
2,210,789 |
2.81 |
1.00 |
configure.ocaml |
no-host |
410,612 |
391,210 |
647,294 |
412,387 |
412,534 |
1.58 |
1.00 |
configure.tcc |
no-host |
6,567 |
5,456 |
24,153 |
6,965 |
6,905 |
3.68 |
1.06 |
configure.util-linux |
no-host |
2,104,870 |
2,265,159 |
5,390,301 |
1,991,323 |
1,988,364 |
2.56 |
0.95 |
configure.yash |
no-host |
255,785 |
244,704 |
389,339 |
257,778 |
257,310 |
1.52 |
1.01 |
hello-world |
no-host |
153 |
83 |
3,937 |
346 |
338 |
25.73 |
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 |
845 |
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 |
16,192 |
2 |
73 |
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 |
15,216 |
3 |
69 |
21.2 |
30.0 |
2,702,513 |
53,766 |
65,691 |
108,691 |
1,290,640 |
1,303,182 |
32,239 |
41 |
131,382 |
1 |
configure.ocaml |
no-host |
3,991 |
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 |
52 |
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,936 |
1 |
2 |
2.5 |
24.2 |
139,412 |
8,024 |
6,686 |
5,989 |
67,942 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
9.0 |
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 |
849 |
1 |
2 |
2.6 |
7.6 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
16,282 |
1 |
69 |
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 |
15,204 |
3 |
70 |
21.2 |
30.3 |
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,992 |
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 |
51 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,928 |
1 |
2 |
2.5 |
24.4 |
139,412 |
7,962 |
6,624 |
5,991 |
67,942 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
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 |
20 |
6 |
14 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
4 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
501 |
453 |
51 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
16 |
8 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
22 |
16 |
6 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
685 |
499 |
219 |
3.0 |
bash |
9 |
no-host |
bin-true |
568 |
437 |
129 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,362 |
1,501 |
1,132 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
845 |
578 |
282 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
849 |
575 |
286 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,903 |
9,430 |
6,874 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,842 |
9,549 |
6,725 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
30,504 |
18,376 |
14,134 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
16,192 |
9,371 |
7,093 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
16,282 |
9,345 |
7,021 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,961 |
1,682 |
1,323 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,916 |
1,687 |
1,250 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,879 |
2,457 |
1,646 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,991 |
1,666 |
1,365 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,992 |
1,660 |
1,371 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
51 |
32 |
19 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
43 |
21 |
22 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
212 |
142 |
74 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
52 |
29 |
24 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
51 |
35 |
17 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,815 |
9,293 |
6,006 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
15,673 |
9,652 |
6,512 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
33,300 |
21,998 |
12,487 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
15,216 |
9,355 |
6,047 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
15,204 |
9,136 |
6,263 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,903 |
1,079 |
832 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,852 |
1,044 |
812 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,603 |
1,561 |
1,085 |
24.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,936 |
1,124 |
810 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,928 |
1,094 |
839 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
61 |
49 |
12 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.3 |
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,527 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,111 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,863 |
0 |
0 |
0 |
8 |
0 |
45 |
9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,203 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,052 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,336 |
0 |
0 |
0 |
8 |
0 |
1,986 |
55 |
bash |
9 |
no-host |
bin-true |
66,526 |
0 |
0 |
0 |
8 |
0 |
1,986 |
43 |
dash |
17 |
no-host |
bin-true |
770,480 |
0 |
0 |
0 |
8 |
0 |
2,000 |
297 |
osh-cpython |
25 |
no-host |
bin-true |
125,266 |
0 |
0 |
0 |
16 |
0 |
1,988 |
73 |
osh-native |
33 |
no-host |
bin-true |
128,176 |
0 |
0 |
0 |
16 |
0 |
1,990 |
72 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,219,201 |
0 |
0 |
0 |
32,928 |
0 |
14,534 |
1,045 |
bash |
10 |
no-host |
configure.cpython |
2,237,041 |
0 |
0 |
0 |
32,992 |
0 |
14,617 |
969 |
dash |
18 |
no-host |
configure.cpython |
6,244,952 |
0 |
0 |
0 |
27,512 |
0 |
13,253 |
1,304 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,215,992 |
0 |
0 |
0 |
27,520 |
0 |
13,294 |
1,004 |
osh-native |
34 |
no-host |
configure.cpython |
2,210,789 |
0 |
0 |
0 |
27,520 |
0 |
13,264 |
1,131 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,612 |
0 |
0 |
0 |
5,120 |
0 |
1,946 |
161 |
bash |
12 |
no-host |
configure.ocaml |
391,210 |
1 |
0 |
0 |
5,112 |
0 |
1,895 |
149 |
dash |
20 |
no-host |
configure.ocaml |
647,294 |
0 |
0 |
0 |
5,112 |
0 |
1,858 |
191 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,387 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
160 |
osh-native |
36 |
no-host |
configure.ocaml |
412,534 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
150 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,567 |
0 |
0 |
0 |
104 |
0 |
49 |
5 |
bash |
13 |
no-host |
configure.tcc |
5,456 |
0 |
0 |
0 |
96 |
0 |
47 |
0 |
dash |
21 |
no-host |
configure.tcc |
24,153 |
0 |
0 |
0 |
96 |
0 |
53 |
12 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,965 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,905 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,104,870 |
0 |
0 |
0 |
42,408 |
0 |
18,580 |
1,053 |
bash |
11 |
no-host |
configure.util-linux |
2,265,159 |
0 |
0 |
0 |
42,592 |
0 |
17,463 |
1,139 |
dash |
19 |
no-host |
configure.util-linux |
5,390,301 |
4 |
0 |
0 |
39,112 |
0 |
17,017 |
1,346 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,991,323 |
1 |
0 |
0 |
39,128 |
0 |
16,961 |
950 |
osh-native |
35 |
no-host |
configure.util-linux |
1,988,364 |
0 |
0 |
0 |
39,136 |
0 |
16,940 |
1,001 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,785 |
0 |
0 |
0 |
4,120 |
0 |
868 |
89 |
bash |
14 |
no-host |
configure.yash |
244,704 |
0 |
0 |
0 |
3,720 |
0 |
868 |
87 |
dash |
22 |
no-host |
configure.yash |
389,339 |
0 |
0 |
0 |
3,728 |
0 |
850 |
118 |
osh-cpython |
30 |
no-host |
configure.yash |
257,778 |
0 |
0 |
0 |
3,736 |
0 |
847 |
67 |
osh-native |
38 |
no-host |
configure.yash |
257,310 |
0 |
0 |
0 |
3,736 |
0 |
846 |
89 |
osh-native-souffle |
0 |
no-host |
hello-world |
153 |
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,937 |
0 |
0 |
0 |
8 |
0 |
7 |
7 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
338 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host