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 |
9 |
484 |
23 |
22 |
24.58 |
1.15 |
bin-true |
no-host |
677 |
543 |
2,284 |
826 |
813 |
3.38 |
1.22 |
configure.cpython |
no-host |
15,161 |
15,272 |
29,306 |
15,879 |
16,316 |
1.93 |
1.05 |
configure.ocaml |
no-host |
3,881 |
3,811 |
4,806 |
3,953 |
3,979 |
1.24 |
1.02 |
configure.tcc |
no-host |
48 |
42 |
214 |
51 |
50 |
4.51 |
1.07 |
configure.util-linux |
no-host |
14,263 |
15,108 |
32,357 |
15,082 |
15,100 |
2.27 |
1.06 |
configure.yash |
no-host |
1,838 |
1,789 |
2,600 |
1,925 |
1,925 |
1.41 |
1.05 |
hello-world |
no-host |
2 |
1 |
57 |
3 |
3 |
37.77 |
1.93 |
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,517 |
1,110 |
23,665 |
3,150 |
3,089 |
9.40 |
1.25 |
bin-true |
no-host |
107,292 |
67,463 |
775,712 |
124,321 |
122,206 |
7.23 |
1.16 |
configure.cpython |
no-host |
2,219,591 |
2,244,000 |
6,212,127 |
2,213,877 |
2,210,432 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,890 |
391,526 |
647,477 |
413,179 |
412,316 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,554 |
5,481 |
24,069 |
6,994 |
6,894 |
3.67 |
1.07 |
configure.util-linux |
no-host |
2,105,533 |
2,259,192 |
5,394,469 |
1,989,528 |
1,992,912 |
2.56 |
0.94 |
configure.yash |
no-host |
256,062 |
243,919 |
389,353 |
257,777 |
258,190 |
1.52 |
1.01 |
hello-world |
no-host |
153 |
81 |
3,944 |
344 |
338 |
25.78 |
2.25 |
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 |
826 |
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,879 |
1 |
68 |
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 |
15,082 |
3 |
67 |
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,953 |
1 |
2 |
2.6 |
20.3 |
150,080 |
11,112 |
5,207 |
7,508 |
70,969 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
51 |
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,925 |
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 |
8.9 |
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 |
813 |
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,316 |
1 |
68 |
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,100 |
3 |
68 |
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,979 |
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 |
50 |
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,925 |
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 |
22 |
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 |
20 |
15 |
5 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
484 |
428 |
59 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
13 |
10 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
22 |
15 |
7 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
677 |
511 |
199 |
2.9 |
bash |
9 |
no-host |
bin-true |
543 |
424 |
131 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,284 |
1,486 |
1,063 |
18.2 |
osh-cpython |
25 |
no-host |
bin-true |
826 |
590 |
248 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
813 |
574 |
254 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,161 |
9,219 |
6,342 |
27.5 |
bash |
10 |
no-host |
configure.cpython |
15,272 |
9,146 |
6,548 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
29,306 |
17,983 |
13,246 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,879 |
9,256 |
6,899 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
16,316 |
9,409 |
6,863 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,881 |
1,697 |
1,214 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,811 |
1,585 |
1,247 |
20.4 |
dash |
20 |
no-host |
configure.ocaml |
4,806 |
2,330 |
1,691 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,953 |
1,670 |
1,324 |
20.3 |
osh-native |
36 |
no-host |
configure.ocaml |
3,979 |
1,715 |
1,301 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
34 |
14 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
42 |
37 |
5 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
214 |
162 |
56 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
51 |
32 |
20 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
50 |
34 |
16 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,263 |
8,961 |
5,781 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
15,108 |
9,422 |
6,183 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
32,357 |
21,637 |
11,839 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
15,082 |
8,991 |
6,291 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
15,100 |
9,065 |
6,227 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,838 |
1,072 |
775 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,789 |
1,009 |
784 |
24.5 |
dash |
22 |
no-host |
configure.yash |
2,600 |
1,596 |
1,050 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,925 |
1,091 |
838 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,925 |
1,073 |
856 |
24.5 |
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 |
57 |
41 |
16 |
18.4 |
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,517 |
0 |
0 |
0 |
16 |
0 |
40 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,110 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,665 |
0 |
0 |
0 |
8 |
0 |
45 |
9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,150 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,089 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,292 |
0 |
0 |
0 |
8 |
0 |
1,993 |
70 |
bash |
9 |
no-host |
bin-true |
67,463 |
0 |
0 |
0 |
8 |
0 |
1,986 |
79 |
dash |
17 |
no-host |
bin-true |
775,712 |
0 |
0 |
0 |
8 |
0 |
2,004 |
90 |
osh-cpython |
25 |
no-host |
bin-true |
124,321 |
0 |
0 |
0 |
16 |
0 |
1,991 |
56 |
osh-native |
33 |
no-host |
bin-true |
122,206 |
0 |
0 |
0 |
16 |
0 |
1,986 |
100 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,219,591 |
0 |
0 |
0 |
32,928 |
0 |
14,548 |
972 |
bash |
10 |
no-host |
configure.cpython |
2,244,000 |
0 |
0 |
0 |
32,992 |
0 |
14,589 |
1,047 |
dash |
18 |
no-host |
configure.cpython |
6,212,127 |
0 |
0 |
0 |
27,512 |
0 |
13,284 |
1,248 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,213,877 |
0 |
0 |
0 |
27,520 |
0 |
13,231 |
989 |
osh-native |
34 |
no-host |
configure.cpython |
2,210,432 |
0 |
0 |
0 |
27,520 |
0 |
13,201 |
884 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,890 |
0 |
0 |
0 |
5,120 |
0 |
1,956 |
160 |
bash |
12 |
no-host |
configure.ocaml |
391,526 |
0 |
0 |
0 |
5,112 |
0 |
1,900 |
166 |
dash |
20 |
no-host |
configure.ocaml |
647,477 |
0 |
0 |
0 |
5,112 |
0 |
1,859 |
177 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,179 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
171 |
osh-native |
36 |
no-host |
configure.ocaml |
412,316 |
0 |
0 |
0 |
5,120 |
0 |
1,930 |
146 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,554 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,481 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,069 |
0 |
0 |
0 |
96 |
0 |
52 |
13 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,994 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,894 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,105,533 |
0 |
0 |
0 |
42,400 |
0 |
18,569 |
1,065 |
bash |
11 |
no-host |
configure.util-linux |
2,259,192 |
0 |
0 |
0 |
42,584 |
0 |
17,443 |
999 |
dash |
19 |
no-host |
configure.util-linux |
5,394,469 |
11 |
0 |
0 |
39,144 |
0 |
16,957 |
1,172 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,989,528 |
1 |
0 |
0 |
39,128 |
0 |
16,934 |
1,028 |
osh-native |
35 |
no-host |
configure.util-linux |
1,992,912 |
0 |
0 |
0 |
39,136 |
0 |
16,936 |
1,108 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,062 |
0 |
0 |
0 |
4,120 |
0 |
868 |
67 |
bash |
14 |
no-host |
configure.yash |
243,919 |
0 |
0 |
0 |
3,720 |
0 |
870 |
70 |
dash |
22 |
no-host |
configure.yash |
389,353 |
0 |
0 |
0 |
3,728 |
0 |
855 |
84 |
osh-cpython |
30 |
no-host |
configure.yash |
257,777 |
0 |
0 |
0 |
3,736 |
0 |
847 |
79 |
osh-native |
38 |
no-host |
configure.yash |
258,190 |
0 |
0 |
0 |
3,736 |
0 |
849 |
80 |
osh-native-souffle |
0 |
no-host |
hello-world |
153 |
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,944 |
0 |
0 |
0 |
8 |
0 |
7 |
7 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
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