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 |
462 |
22 |
21 |
23.89 |
1.14 |
bin-true |
no-host |
677 |
537 |
2,304 |
811 |
801 |
3.40 |
1.20 |
configure.cpython |
no-host |
14,887 |
14,915 |
28,538 |
15,116 |
15,176 |
1.92 |
1.02 |
configure.ocaml |
no-host |
3,776 |
3,714 |
4,624 |
3,787 |
3,792 |
1.22 |
1.00 |
configure.tcc |
no-host |
48 |
41 |
201 |
48 |
48 |
4.22 |
1.02 |
configure.util-linux |
no-host |
13,927 |
14,787 |
31,272 |
14,219 |
14,213 |
2.25 |
1.02 |
configure.yash |
no-host |
1,817 |
1,748 |
2,447 |
1,805 |
1,834 |
1.35 |
0.99 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
40.00 |
1.98 |
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,556 |
1,090 |
23,656 |
3,163 |
3,073 |
9.26 |
1.24 |
bin-true |
no-host |
106,327 |
65,502 |
773,744 |
128,302 |
123,305 |
7.28 |
1.21 |
configure.cpython |
no-host |
2,226,268 |
2,237,198 |
6,203,142 |
2,216,934 |
2,200,777 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,470 |
391,074 |
647,123 |
413,041 |
412,999 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,545 |
5,497 |
24,073 |
6,984 |
6,910 |
3.68 |
1.07 |
configure.util-linux |
no-host |
2,101,010 |
2,258,610 |
5,396,167 |
1,994,982 |
1,990,268 |
2.57 |
0.95 |
configure.yash |
no-host |
256,512 |
244,771 |
389,434 |
257,231 |
258,239 |
1.52 |
1.00 |
hello-world |
no-host |
149 |
81 |
3,947 |
344 |
337 |
26.49 |
2.31 |
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 |
811 |
1 |
2 |
2.6 |
8.1 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,116 |
2 |
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,219 |
3 |
58 |
21.2 |
30.1 |
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,787 |
1 |
2 |
2.6 |
20.4 |
150,080 |
11,112 |
5,207 |
7,508 |
70,969 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
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,805 |
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.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 |
801 |
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,176 |
1 |
59 |
14.9 |
27.5 |
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,213 |
3 |
58 |
21.2 |
30.3 |
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,792 |
1 |
2 |
2.6 |
20.4 |
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.3 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,834 |
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.7 |
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.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
8 |
1 |
3.3 |
dash |
23 |
no-host |
abuild-print-help |
462 |
411 |
54 |
22.4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
12 |
11 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
14 |
7 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
677 |
501 |
208 |
3.0 |
bash |
9 |
no-host |
bin-true |
537 |
420 |
126 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,304 |
1,460 |
1,104 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
811 |
603 |
223 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
801 |
579 |
238 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,887 |
9,128 |
6,161 |
27.5 |
bash |
10 |
no-host |
configure.cpython |
14,915 |
9,121 |
6,210 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,538 |
17,366 |
13,008 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,116 |
8,959 |
6,415 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,176 |
8,890 |
6,421 |
27.5 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,776 |
1,619 |
1,195 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,714 |
1,641 |
1,092 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,624 |
2,269 |
1,565 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,787 |
1,659 |
1,167 |
20.4 |
osh-native |
36 |
no-host |
configure.ocaml |
3,792 |
1,691 |
1,135 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
22 |
26 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
41 |
23 |
18 |
19.1 |
dash |
21 |
no-host |
configure.tcc |
201 |
164 |
40 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
30 |
19 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
31 |
18 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,927 |
8,737 |
5,656 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,787 |
9,008 |
6,269 |
30.0 |
dash |
19 |
no-host |
configure.util-linux |
31,272 |
20,984 |
11,360 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,219 |
8,530 |
5,882 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,213 |
8,597 |
5,812 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,817 |
995 |
829 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,748 |
1,019 |
733 |
24.5 |
dash |
22 |
no-host |
configure.yash |
2,447 |
1,492 |
997 |
24.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,805 |
1,044 |
764 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,834 |
1,082 |
756 |
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 |
56 |
32 |
24 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
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,556 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,090 |
0 |
0 |
0 |
8 |
0 |
38 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,656 |
0 |
0 |
0 |
8 |
0 |
45 |
10 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,163 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,073 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,327 |
0 |
0 |
0 |
8 |
0 |
1,989 |
88 |
bash |
9 |
no-host |
bin-true |
65,502 |
0 |
0 |
0 |
8 |
0 |
1,995 |
42 |
dash |
17 |
no-host |
bin-true |
773,744 |
0 |
0 |
0 |
8 |
0 |
1,997 |
157 |
osh-cpython |
25 |
no-host |
bin-true |
128,302 |
0 |
0 |
0 |
16 |
0 |
1,995 |
32 |
osh-native |
33 |
no-host |
bin-true |
123,305 |
0 |
0 |
0 |
16 |
0 |
1,991 |
57 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,226,268 |
0 |
0 |
0 |
32,928 |
0 |
14,549 |
1,086 |
bash |
10 |
no-host |
configure.cpython |
2,237,198 |
0 |
0 |
0 |
32,992 |
0 |
14,670 |
1,015 |
dash |
18 |
no-host |
configure.cpython |
6,203,142 |
0 |
0 |
0 |
27,512 |
0 |
13,211 |
1,241 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,216,934 |
0 |
0 |
0 |
27,520 |
0 |
13,270 |
1,172 |
osh-native |
34 |
no-host |
configure.cpython |
2,200,777 |
0 |
0 |
0 |
27,520 |
0 |
13,274 |
936 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,470 |
0 |
0 |
0 |
5,120 |
0 |
1,947 |
174 |
bash |
12 |
no-host |
configure.ocaml |
391,074 |
0 |
0 |
0 |
5,112 |
0 |
1,881 |
161 |
dash |
20 |
no-host |
configure.ocaml |
647,123 |
0 |
0 |
0 |
5,112 |
0 |
1,853 |
193 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,041 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
183 |
osh-native |
36 |
no-host |
configure.ocaml |
412,999 |
0 |
0 |
0 |
5,120 |
0 |
1,934 |
161 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,545 |
0 |
0 |
0 |
104 |
0 |
49 |
11 |
bash |
13 |
no-host |
configure.tcc |
5,497 |
0 |
0 |
0 |
96 |
0 |
47 |
0 |
dash |
21 |
no-host |
configure.tcc |
24,073 |
0 |
0 |
0 |
96 |
0 |
53 |
8 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,984 |
0 |
0 |
0 |
104 |
0 |
46 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,910 |
0 |
0 |
0 |
104 |
0 |
46 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,101,010 |
1 |
0 |
0 |
42,400 |
0 |
18,649 |
1,094 |
bash |
11 |
no-host |
configure.util-linux |
2,258,610 |
1 |
0 |
0 |
42,592 |
0 |
17,343 |
1,105 |
dash |
19 |
no-host |
configure.util-linux |
5,396,167 |
7 |
0 |
0 |
39,112 |
0 |
16,946 |
1,127 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,994,982 |
0 |
0 |
0 |
39,128 |
0 |
16,976 |
991 |
osh-native |
35 |
no-host |
configure.util-linux |
1,990,268 |
0 |
0 |
0 |
39,136 |
0 |
16,943 |
1,082 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,512 |
0 |
0 |
0 |
4,120 |
0 |
872 |
85 |
bash |
14 |
no-host |
configure.yash |
244,771 |
0 |
0 |
0 |
3,720 |
0 |
870 |
74 |
dash |
22 |
no-host |
configure.yash |
389,434 |
0 |
0 |
0 |
3,728 |
0 |
850 |
99 |
osh-cpython |
30 |
no-host |
configure.yash |
257,231 |
0 |
0 |
0 |
3,736 |
0 |
849 |
68 |
osh-native |
38 |
no-host |
configure.yash |
258,239 |
0 |
0 |
0 |
3,736 |
0 |
850 |
74 |
osh-native-souffle |
0 |
no-host |
hello-world |
149 |
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,947 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
337 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host