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 |
22 |
10 |
471 |
22 |
21 |
21.45 |
1.00 |
bin-true |
no-host |
683 |
550 |
2,304 |
819 |
810 |
3.38 |
1.20 |
configure.cpython |
no-host |
15,204 |
15,124 |
29,164 |
15,440 |
15,640 |
1.92 |
1.02 |
configure.ocaml |
no-host |
3,827 |
3,790 |
4,675 |
3,864 |
3,871 |
1.22 |
1.01 |
configure.tcc |
no-host |
48 |
42 |
204 |
48 |
48 |
4.25 |
1.01 |
configure.util-linux |
no-host |
14,112 |
15,117 |
32,026 |
14,542 |
14,553 |
2.27 |
1.03 |
configure.yash |
no-host |
1,853 |
1,829 |
2,486 |
1,864 |
1,844 |
1.34 |
1.01 |
hello-world |
no-host |
2 |
1 |
60 |
3 |
3 |
39.09 |
2.11 |
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,505 |
1,139 |
23,527 |
3,210 |
3,119 |
9.39 |
1.28 |
bin-true |
no-host |
108,351 |
66,381 |
759,647 |
126,179 |
123,346 |
7.01 |
1.16 |
configure.cpython |
no-host |
2,215,505 |
2,239,317 |
6,209,018 |
2,228,132 |
2,209,729 |
2.80 |
1.01 |
configure.ocaml |
no-host |
410,337 |
390,755 |
644,262 |
413,176 |
412,357 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,552 |
5,457 |
23,950 |
6,947 |
6,881 |
3.66 |
1.06 |
configure.util-linux |
no-host |
2,095,949 |
2,258,922 |
5,369,594 |
1,999,789 |
1,991,767 |
2.56 |
0.95 |
configure.yash |
no-host |
256,124 |
243,481 |
385,413 |
257,251 |
257,748 |
1.50 |
1.00 |
hello-world |
no-host |
151 |
81 |
3,956 |
341 |
339 |
26.20 |
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.2 |
3,789 |
3,789 |
0 |
694 |
1,861 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
819 |
1 |
2 |
2.6 |
8.0 |
153,753 |
12,329 |
2,894 |
8,743 |
76,325 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,440 |
1 |
62 |
14.9 |
27.4 |
1,771,800 |
49,612 |
28,519 |
85,427 |
878,134 |
808,239 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,542 |
3 |
62 |
21.2 |
30.1 |
2,702,546 |
53,773 |
65,698 |
108,699 |
1,290,651 |
1,303,196 |
32,241 |
41 |
131,396 |
1 |
configure.ocaml |
no-host |
3,864 |
1 |
2 |
2.6 |
20.6 |
150,087 |
11,119 |
5,214 |
7,508 |
70,972 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.4 |
30,593 |
30,593 |
0 |
1,518 |
14,644 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,864 |
1 |
2 |
2.5 |
24.4 |
139,419 |
8,031 |
6,693 |
5,989 |
67,945 |
65,485 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,299 |
64,410 |
42,620 |
4,532 |
54,439 |
57,328 |
277 |
3 |
85,240 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
6.0 |
3,788 |
3,788 |
0 |
695 |
1,861 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
810 |
1 |
2 |
2.6 |
7.7 |
153,752 |
12,118 |
2,832 |
8,744 |
76,325 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,640 |
1 |
65 |
14.9 |
27.4 |
1,771,799 |
49,070 |
28,457 |
85,428 |
878,134 |
808,237 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,553 |
3 |
65 |
21.2 |
30.1 |
2,702,546 |
53,700 |
65,636 |
108,701 |
1,290,651 |
1,303,194 |
32,241 |
41 |
131,272 |
1 |
configure.ocaml |
no-host |
3,871 |
1 |
2 |
2.6 |
20.6 |
150,087 |
11,057 |
5,152 |
7,510 |
70,972 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.4 |
30,593 |
30,593 |
0 |
1,520 |
14,644 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,844 |
1 |
2 |
2.5 |
24.4 |
139,419 |
7,969 |
6,631 |
5,991 |
67,945 |
65,483 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,298 |
64,348 |
42,558 |
4,533 |
54,439 |
57,326 |
277 |
3 |
85,116 |
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 |
22 |
19 |
1 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
9 |
1 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
471 |
424 |
50 |
22.5 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
20 |
3 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
11 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
683 |
504 |
212 |
3.0 |
bash |
9 |
no-host |
bin-true |
550 |
420 |
139 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,304 |
1,546 |
1,019 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
819 |
595 |
240 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
810 |
580 |
244 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,204 |
9,125 |
6,484 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,124 |
9,115 |
6,425 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,164 |
17,774 |
13,272 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,440 |
9,066 |
6,647 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,640 |
9,047 |
6,654 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,827 |
1,618 |
1,250 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,790 |
1,638 |
1,172 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,675 |
2,226 |
1,661 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,864 |
1,631 |
1,273 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,871 |
1,636 |
1,273 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
13 |
35 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
42 |
24 |
18 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
204 |
145 |
62 |
19.1 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
39 |
10 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
26 |
22 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,112 |
9,043 |
5,538 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
15,117 |
9,253 |
6,368 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
32,026 |
21,210 |
11,910 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,542 |
8,720 |
6,012 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,553 |
8,832 |
5,904 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,853 |
1,100 |
762 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,829 |
1,045 |
783 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,486 |
1,546 |
983 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,864 |
1,077 |
791 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,844 |
1,024 |
824 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
60 |
51 |
8 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.2 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
6.0 |
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,505 |
0 |
0 |
0 |
16 |
0 |
43 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,139 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,527 |
0 |
0 |
0 |
8 |
0 |
45 |
10 |
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,119 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
108,351 |
0 |
0 |
0 |
8 |
0 |
1,983 |
79 |
bash |
9 |
no-host |
bin-true |
66,381 |
0 |
0 |
0 |
8 |
0 |
1,984 |
83 |
dash |
17 |
no-host |
bin-true |
759,647 |
0 |
0 |
0 |
8 |
0 |
1,996 |
157 |
osh-cpython |
25 |
no-host |
bin-true |
126,179 |
0 |
0 |
0 |
16 |
0 |
1,993 |
155 |
osh-native |
33 |
no-host |
bin-true |
123,346 |
0 |
0 |
0 |
16 |
0 |
1,993 |
54 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,215,505 |
0 |
0 |
0 |
32,928 |
0 |
14,527 |
950 |
bash |
10 |
no-host |
configure.cpython |
2,239,317 |
0 |
0 |
0 |
32,992 |
0 |
14,625 |
1,059 |
dash |
18 |
no-host |
configure.cpython |
6,209,018 |
0 |
0 |
0 |
27,512 |
0 |
13,260 |
1,174 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,228,132 |
0 |
0 |
0 |
27,520 |
0 |
13,235 |
1,119 |
osh-native |
34 |
no-host |
configure.cpython |
2,209,729 |
0 |
0 |
0 |
27,520 |
0 |
13,298 |
964 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,337 |
0 |
0 |
0 |
5,120 |
0 |
1,947 |
137 |
bash |
12 |
no-host |
configure.ocaml |
390,755 |
0 |
0 |
0 |
5,112 |
0 |
1,896 |
172 |
dash |
20 |
no-host |
configure.ocaml |
644,262 |
1 |
0 |
0 |
5,112 |
0 |
1,860 |
179 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,176 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
165 |
osh-native |
36 |
no-host |
configure.ocaml |
412,357 |
0 |
0 |
0 |
5,120 |
0 |
1,925 |
159 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,552 |
0 |
0 |
0 |
104 |
0 |
49 |
10 |
bash |
13 |
no-host |
configure.tcc |
5,457 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
dash |
21 |
no-host |
configure.tcc |
23,950 |
0 |
0 |
0 |
96 |
0 |
53 |
10 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,947 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,881 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,095,949 |
1 |
0 |
0 |
42,400 |
0 |
18,509 |
923 |
bash |
11 |
no-host |
configure.util-linux |
2,258,922 |
0 |
0 |
0 |
42,584 |
0 |
17,358 |
1,066 |
dash |
19 |
no-host |
configure.util-linux |
5,369,594 |
10 |
0 |
0 |
39,112 |
0 |
17,069 |
1,353 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,999,789 |
0 |
0 |
0 |
39,128 |
0 |
16,863 |
1,094 |
osh-native |
35 |
no-host |
configure.util-linux |
1,991,767 |
0 |
0 |
0 |
39,136 |
0 |
16,963 |
975 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,124 |
0 |
0 |
0 |
4,120 |
0 |
870 |
71 |
bash |
14 |
no-host |
configure.yash |
243,481 |
0 |
0 |
0 |
3,720 |
0 |
867 |
84 |
dash |
22 |
no-host |
configure.yash |
385,413 |
0 |
0 |
0 |
3,728 |
0 |
853 |
87 |
osh-cpython |
30 |
no-host |
configure.yash |
257,251 |
0 |
0 |
0 |
3,736 |
0 |
849 |
91 |
osh-native |
38 |
no-host |
configure.yash |
257,748 |
0 |
0 |
0 |
3,736 |
0 |
850 |
79 |
osh-native-souffle |
0 |
no-host |
hello-world |
151 |
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,956 |
0 |
0 |
0 |
8 |
0 |
7 |
7 |
osh-cpython |
24 |
no-host |
hello-world |
341 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
339 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host