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.41 |
1.16 |
bin-true |
no-host |
702 |
544 |
2,306 |
832 |
822 |
3.29 |
1.19 |
configure.cpython |
no-host |
15,339 |
15,237 |
29,196 |
15,650 |
15,960 |
1.90 |
1.02 |
configure.ocaml |
no-host |
3,859 |
3,794 |
4,806 |
3,919 |
3,906 |
1.25 |
1.02 |
configure.tcc |
no-host |
48 |
42 |
209 |
50 |
49 |
4.39 |
1.06 |
configure.util-linux |
no-host |
14,438 |
15,054 |
31,939 |
14,740 |
14,846 |
2.21 |
1.02 |
configure.yash |
no-host |
1,815 |
1,821 |
2,577 |
1,887 |
1,929 |
1.42 |
1.04 |
hello-world |
no-host |
2 |
1 |
56 |
3 |
3 |
36.08 |
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,536 |
1,092 |
23,699 |
3,191 |
3,050 |
9.35 |
1.26 |
bin-true |
no-host |
105,420 |
66,396 |
777,701 |
127,275 |
124,270 |
7.38 |
1.21 |
configure.cpython |
no-host |
2,221,374 |
2,239,943 |
6,210,640 |
2,223,218 |
2,213,097 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,143 |
390,805 |
647,583 |
412,862 |
412,453 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,541 |
5,480 |
24,054 |
6,974 |
6,914 |
3.68 |
1.07 |
configure.util-linux |
no-host |
2,098,395 |
2,256,587 |
5,389,997 |
1,991,646 |
1,988,308 |
2.57 |
0.95 |
configure.yash |
no-host |
255,833 |
245,098 |
389,353 |
258,399 |
257,667 |
1.52 |
1.01 |
hello-world |
no-host |
152 |
79 |
3,947 |
340 |
341 |
25.97 |
2.24 |
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 |
832 |
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,650 |
1 |
68 |
14.9 |
27.3 |
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,740 |
3 |
65 |
21.2 |
30.1 |
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,919 |
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 |
50 |
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,887 |
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 |
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.7 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,960 |
1 |
66 |
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,846 |
3 |
66 |
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,906 |
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.3 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,929 |
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 |
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 |
13 |
7 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
9 |
1 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
471 |
425 |
49 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
13 |
10 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
17 |
5 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
702 |
538 |
195 |
2.9 |
bash |
9 |
no-host |
bin-true |
544 |
425 |
129 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,306 |
1,511 |
1,065 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
832 |
576 |
270 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
822 |
590 |
245 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,339 |
9,239 |
6,478 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,237 |
9,275 |
6,395 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
29,196 |
17,865 |
13,234 |
27.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,650 |
9,038 |
6,895 |
27.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,960 |
9,166 |
6,895 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,859 |
1,570 |
1,261 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,794 |
1,594 |
1,219 |
20.4 |
dash |
20 |
no-host |
configure.ocaml |
4,806 |
2,317 |
1,712 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,919 |
1,654 |
1,289 |
20.4 |
osh-native |
36 |
no-host |
configure.ocaml |
3,906 |
1,696 |
1,245 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
27 |
21 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
42 |
34 |
9 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
209 |
165 |
47 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
24 |
27 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
30 |
19 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,438 |
8,968 |
5,654 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
15,054 |
9,047 |
6,505 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,939 |
21,473 |
11,580 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,740 |
8,775 |
6,163 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,846 |
8,653 |
6,385 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,815 |
1,029 |
794 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,821 |
1,111 |
712 |
24.5 |
dash |
22 |
no-host |
configure.yash |
2,577 |
1,600 |
1,020 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,887 |
1,053 |
838 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,929 |
1,069 |
863 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.3 |
dash |
16 |
no-host |
hello-world |
56 |
40 |
16 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.2 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
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,536 |
0 |
0 |
0 |
16 |
0 |
41 |
5 |
bash |
15 |
no-host |
abuild-print-help |
1,092 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,699 |
0 |
0 |
0 |
8 |
0 |
45 |
13 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,191 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,050 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,420 |
0 |
0 |
0 |
8 |
0 |
1,987 |
59 |
bash |
9 |
no-host |
bin-true |
66,396 |
0 |
0 |
0 |
8 |
0 |
1,992 |
35 |
dash |
17 |
no-host |
bin-true |
777,701 |
0 |
0 |
0 |
8 |
0 |
2,004 |
86 |
osh-cpython |
25 |
no-host |
bin-true |
127,275 |
0 |
0 |
0 |
16 |
0 |
1,989 |
75 |
osh-native |
33 |
no-host |
bin-true |
124,270 |
0 |
0 |
0 |
16 |
0 |
1,990 |
99 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,221,374 |
0 |
0 |
0 |
32,952 |
0 |
14,483 |
923 |
bash |
10 |
no-host |
configure.cpython |
2,239,943 |
1 |
0 |
0 |
32,992 |
0 |
14,543 |
912 |
dash |
18 |
no-host |
configure.cpython |
6,210,640 |
0 |
0 |
0 |
27,512 |
0 |
13,237 |
1,046 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,223,218 |
0 |
0 |
0 |
27,520 |
0 |
13,234 |
974 |
osh-native |
34 |
no-host |
configure.cpython |
2,213,097 |
0 |
0 |
0 |
27,520 |
0 |
13,240 |
905 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,143 |
0 |
0 |
0 |
5,120 |
0 |
1,947 |
160 |
bash |
12 |
no-host |
configure.ocaml |
390,805 |
0 |
0 |
0 |
5,112 |
0 |
1,933 |
132 |
dash |
20 |
no-host |
configure.ocaml |
647,583 |
0 |
0 |
0 |
5,112 |
0 |
1,851 |
164 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,862 |
0 |
0 |
0 |
5,120 |
0 |
1,930 |
157 |
osh-native |
36 |
no-host |
configure.ocaml |
412,453 |
0 |
0 |
0 |
5,120 |
0 |
1,932 |
165 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,541 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,480 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,054 |
0 |
0 |
0 |
96 |
0 |
53 |
8 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,974 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,914 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,098,395 |
1 |
0 |
0 |
42,400 |
0 |
18,624 |
979 |
bash |
11 |
no-host |
configure.util-linux |
2,256,587 |
2 |
0 |
0 |
42,584 |
0 |
17,434 |
988 |
dash |
19 |
no-host |
configure.util-linux |
5,389,997 |
15 |
0 |
0 |
39,112 |
0 |
16,957 |
1,246 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,991,646 |
0 |
0 |
0 |
39,128 |
0 |
17,009 |
967 |
osh-native |
35 |
no-host |
configure.util-linux |
1,988,308 |
1 |
0 |
0 |
39,136 |
0 |
16,997 |
899 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,833 |
0 |
0 |
0 |
4,120 |
0 |
869 |
77 |
bash |
14 |
no-host |
configure.yash |
245,098 |
0 |
0 |
0 |
3,720 |
0 |
864 |
83 |
dash |
22 |
no-host |
configure.yash |
389,353 |
0 |
0 |
0 |
3,728 |
0 |
853 |
111 |
osh-cpython |
30 |
no-host |
configure.yash |
258,399 |
0 |
0 |
0 |
3,736 |
0 |
848 |
78 |
osh-native |
38 |
no-host |
configure.yash |
257,667 |
0 |
0 |
0 |
3,736 |
0 |
850 |
72 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
79 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,947 |
0 |
0 |
0 |
8 |
0 |
7 |
6 |
osh-cpython |
24 |
no-host |
hello-world |
340 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
341 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host