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 |
473 |
22 |
21 |
24.89 |
1.15 |
bin-true |
no-host |
678 |
547 |
2,315 |
822 |
814 |
3.42 |
1.21 |
configure.cpython |
no-host |
15,022 |
15,046 |
28,724 |
15,177 |
15,601 |
1.91 |
1.01 |
configure.ocaml |
no-host |
3,788 |
3,727 |
4,649 |
3,804 |
3,927 |
1.23 |
1.00 |
configure.tcc |
no-host |
47 |
41 |
202 |
49 |
49 |
4.26 |
1.04 |
configure.util-linux |
no-host |
14,010 |
14,848 |
31,300 |
14,358 |
14,480 |
2.23 |
1.02 |
configure.yash |
no-host |
1,810 |
1,767 |
2,458 |
1,854 |
1,860 |
1.36 |
1.02 |
hello-world |
no-host |
2 |
1 |
58 |
3 |
3 |
37.30 |
1.86 |
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,545 |
1,121 |
23,908 |
3,210 |
3,128 |
9.39 |
1.26 |
bin-true |
no-host |
106,289 |
66,458 |
773,660 |
128,192 |
125,128 |
7.28 |
1.21 |
configure.cpython |
no-host |
2,232,574 |
2,239,132 |
6,211,266 |
2,218,545 |
2,214,832 |
2.78 |
0.99 |
configure.ocaml |
no-host |
410,694 |
391,159 |
646,857 |
412,717 |
412,654 |
1.58 |
1.00 |
configure.tcc |
no-host |
6,530 |
5,457 |
24,039 |
6,985 |
6,905 |
3.68 |
1.07 |
configure.util-linux |
no-host |
2,106,763 |
2,267,533 |
5,385,314 |
1,995,855 |
1,988,724 |
2.56 |
0.95 |
configure.yash |
no-host |
256,686 |
245,183 |
387,870 |
258,607 |
257,374 |
1.51 |
1.01 |
hello-world |
no-host |
153 |
80 |
3,940 |
344 |
337 |
25.75 |
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 |
822 |
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,177 |
1 |
62 |
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,358 |
3 |
61 |
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,804 |
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 |
49 |
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,854 |
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 |
8.8 |
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 |
814 |
1 |
2 |
2.6 |
7.9 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,601 |
1 |
64 |
14.9 |
27.3 |
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,480 |
3 |
61 |
21.2 |
30.1 |
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,927 |
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 |
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,860 |
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.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
5 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
473 |
428 |
48 |
22.4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
11 |
12 |
8.8 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
15 |
7 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
678 |
493 |
218 |
2.9 |
bash |
9 |
no-host |
bin-true |
547 |
410 |
145 |
1.3 |
dash |
17 |
no-host |
bin-true |
2,315 |
1,503 |
1,061 |
18.2 |
osh-cpython |
25 |
no-host |
bin-true |
822 |
586 |
249 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
814 |
588 |
241 |
7.9 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,022 |
9,196 |
6,232 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,046 |
9,193 |
6,288 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
28,724 |
17,603 |
12,980 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,177 |
9,005 |
6,449 |
27.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,601 |
9,054 |
6,663 |
27.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,788 |
1,607 |
1,220 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,727 |
1,566 |
1,181 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,649 |
2,271 |
1,588 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,804 |
1,648 |
1,196 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,927 |
1,703 |
1,260 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
18 |
30 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
21 |
21 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
202 |
147 |
59 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
26 |
24 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
23 |
26 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,010 |
8,928 |
5,568 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,848 |
9,210 |
6,142 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,300 |
21,167 |
11,212 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,358 |
8,725 |
5,837 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,480 |
8,720 |
5,962 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,810 |
1,108 |
710 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,767 |
1,012 |
759 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,458 |
1,472 |
1,027 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,854 |
1,032 |
826 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,860 |
1,059 |
804 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
58 |
41 |
16 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.3 |
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,545 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,121 |
0 |
0 |
0 |
8 |
0 |
39 |
3 |
dash |
23 |
no-host |
abuild-print-help |
23,908 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,210 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,128 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,289 |
0 |
0 |
0 |
8 |
0 |
1,992 |
67 |
bash |
9 |
no-host |
bin-true |
66,458 |
0 |
0 |
0 |
8 |
0 |
1,990 |
67 |
dash |
17 |
no-host |
bin-true |
773,660 |
0 |
0 |
0 |
8 |
0 |
2,003 |
491 |
osh-cpython |
25 |
no-host |
bin-true |
128,192 |
0 |
0 |
0 |
16 |
0 |
1,991 |
48 |
osh-native |
33 |
no-host |
bin-true |
125,128 |
0 |
0 |
0 |
16 |
0 |
1,988 |
63 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,232,574 |
0 |
0 |
0 |
32,952 |
0 |
14,511 |
1,074 |
bash |
10 |
no-host |
configure.cpython |
2,239,132 |
0 |
0 |
0 |
32,992 |
0 |
14,638 |
999 |
dash |
18 |
no-host |
configure.cpython |
6,211,266 |
0 |
0 |
0 |
27,512 |
0 |
13,191 |
1,143 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,218,545 |
0 |
0 |
0 |
27,520 |
0 |
13,155 |
1,134 |
osh-native |
34 |
no-host |
configure.cpython |
2,214,832 |
1 |
0 |
0 |
27,520 |
0 |
13,225 |
904 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,694 |
0 |
0 |
0 |
5,120 |
0 |
1,946 |
171 |
bash |
12 |
no-host |
configure.ocaml |
391,159 |
0 |
0 |
0 |
5,112 |
0 |
1,903 |
155 |
dash |
20 |
no-host |
configure.ocaml |
646,857 |
0 |
0 |
0 |
5,112 |
0 |
1,859 |
164 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,717 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
165 |
osh-native |
36 |
no-host |
configure.ocaml |
412,654 |
0 |
0 |
0 |
5,120 |
0 |
1,933 |
146 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,530 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,457 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,039 |
0 |
0 |
0 |
96 |
0 |
53 |
13 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,985 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,905 |
0 |
0 |
0 |
104 |
0 |
47 |
11 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,106,763 |
0 |
0 |
0 |
42,400 |
0 |
18,604 |
1,176 |
bash |
11 |
no-host |
configure.util-linux |
2,267,533 |
0 |
0 |
0 |
42,584 |
0 |
17,432 |
1,120 |
dash |
19 |
no-host |
configure.util-linux |
5,385,314 |
11 |
0 |
0 |
39,112 |
0 |
16,963 |
1,201 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,995,855 |
0 |
0 |
0 |
39,120 |
0 |
17,012 |
998 |
osh-native |
35 |
no-host |
configure.util-linux |
1,988,724 |
0 |
0 |
0 |
39,128 |
0 |
16,953 |
934 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,686 |
0 |
0 |
0 |
4,120 |
0 |
869 |
84 |
bash |
14 |
no-host |
configure.yash |
245,183 |
0 |
0 |
0 |
3,720 |
0 |
869 |
89 |
dash |
22 |
no-host |
configure.yash |
387,870 |
0 |
0 |
0 |
3,728 |
0 |
854 |
96 |
osh-cpython |
30 |
no-host |
configure.yash |
258,607 |
0 |
0 |
0 |
3,736 |
0 |
847 |
80 |
osh-native |
38 |
no-host |
configure.yash |
257,374 |
0 |
0 |
0 |
3,736 |
0 |
841 |
84 |
osh-native-souffle |
0 |
no-host |
hello-world |
153 |
0 |
0 |
0 |
8 |
0 |
1 |
1 |
bash |
8 |
no-host |
hello-world |
80 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,940 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
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