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 |
500 |
22 |
21 |
25.41 |
1.10 |
bin-true |
no-host |
676 |
552 |
2,421 |
811 |
800 |
3.58 |
1.20 |
configure.cpython |
no-host |
15,449 |
15,924 |
30,828 |
15,531 |
15,272 |
2.00 |
1.01 |
configure.ocaml |
no-host |
3,914 |
3,796 |
4,886 |
3,845 |
3,821 |
1.25 |
0.98 |
configure.tcc |
no-host |
48 |
42 |
217 |
49 |
48 |
4.52 |
1.02 |
configure.util-linux |
no-host |
14,232 |
15,369 |
33,691 |
14,374 |
14,504 |
2.37 |
1.01 |
configure.yash |
no-host |
1,879 |
1,841 |
2,616 |
1,838 |
1,848 |
1.39 |
0.98 |
hello-world |
no-host |
1 |
1 |
61 |
3 |
3 |
43.85 |
2.35 |
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,533 |
1,075 |
24,056 |
3,166 |
3,060 |
9.50 |
1.25 |
bin-true |
no-host |
105,357 |
65,492 |
778,343 |
126,208 |
128,139 |
7.39 |
1.20 |
configure.cpython |
no-host |
1,991,670 |
2,020,090 |
6,070,351 |
2,018,504 |
1,996,697 |
3.05 |
1.01 |
configure.ocaml |
no-host |
373,595 |
353,629 |
613,261 |
376,270 |
376,253 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,091 |
5,008 |
23,695 |
6,480 |
6,445 |
3.89 |
1.06 |
configure.util-linux |
no-host |
1,914,587 |
2,071,357 |
5,230,489 |
1,813,145 |
1,809,046 |
2.73 |
0.95 |
configure.yash |
no-host |
234,150 |
221,776 |
366,940 |
236,082 |
235,387 |
1.57 |
1.01 |
hello-world |
no-host |
144 |
77 |
3,996 |
346 |
341 |
27.75 |
2.40 |
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.3 |
6.3 |
3,799 |
3,799 |
0 |
699 |
1,867 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
811 |
1 |
2 |
2.6 |
7.9 |
153,766 |
12,331 |
2,895 |
8,751 |
76,334 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,531 |
2 |
70 |
15.3 |
29.2 |
1,773,757 |
49,822 |
28,520 |
91,504 |
881,462 |
800,791 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,374 |
3 |
66 |
21.6 |
30.3 |
2,704,668 |
53,751 |
65,719 |
114,371 |
1,293,954 |
1,296,343 |
32,241 |
41 |
131,438 |
1 |
configure.ocaml |
no-host |
3,845 |
1 |
2 |
2.6 |
22.6 |
149,782 |
11,148 |
5,215 |
7,732 |
70,841 |
71,209 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.6 |
30,567 |
30,567 |
0 |
1,541 |
14,632 |
14,394 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,838 |
1 |
2 |
2.6 |
26.3 |
139,678 |
8,035 |
6,694 |
6,393 |
68,250 |
65,035 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
116,315 |
64,413 |
42,621 |
4,543 |
54,451 |
57,321 |
277 |
3 |
85,242 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.9 |
3,798 |
3,798 |
0 |
700 |
1,867 |
1,231 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
800 |
1 |
2 |
2.6 |
7.6 |
153,765 |
12,326 |
2,890 |
8,752 |
76,334 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,272 |
2 |
68 |
15.3 |
29.2 |
1,773,756 |
49,817 |
28,515 |
91,505 |
881,462 |
800,789 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,504 |
4 |
70 |
21.6 |
30.2 |
2,704,668 |
53,734 |
65,714 |
114,373 |
1,293,954 |
1,296,341 |
32,241 |
41 |
131,428 |
1 |
configure.ocaml |
no-host |
3,821 |
1 |
2 |
2.6 |
22.6 |
149,782 |
11,143 |
5,210 |
7,734 |
70,841 |
71,207 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.7 |
30,567 |
30,567 |
0 |
1,543 |
14,632 |
14,392 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,848 |
1 |
2 |
2.6 |
26.3 |
139,678 |
8,030 |
6,689 |
6,395 |
68,250 |
65,033 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,314 |
64,408 |
42,616 |
4,544 |
54,451 |
57,319 |
277 |
3 |
85,232 |
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 |
10 |
11 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
500 |
438 |
65 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
12 |
10 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
14 |
8 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
676 |
313 |
397 |
3.0 |
bash |
9 |
no-host |
bin-true |
552 |
275 |
286 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,421 |
816 |
1,881 |
18.3 |
osh-cpython |
25 |
no-host |
bin-true |
811 |
290 |
540 |
7.9 |
osh-native |
33 |
no-host |
bin-true |
800 |
300 |
515 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,449 |
6,974 |
8,898 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
15,924 |
7,009 |
9,362 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
30,828 |
15,460 |
17,472 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,531 |
6,724 |
9,080 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
15,272 |
6,649 |
8,799 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,914 |
1,358 |
1,571 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,796 |
1,364 |
1,453 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,886 |
2,013 |
2,112 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,845 |
1,289 |
1,593 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,821 |
1,309 |
1,550 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
21 |
27 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
42 |
19 |
23 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
217 |
149 |
72 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
24 |
26 |
19.6 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
22 |
26 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,232 |
6,103 |
8,630 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
15,369 |
6,163 |
9,722 |
30.2 |
dash |
19 |
no-host |
configure.util-linux |
33,691 |
19,007 |
15,849 |
30.5 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,374 |
5,696 |
8,904 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,504 |
5,671 |
9,056 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,879 |
914 |
974 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,841 |
902 |
941 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,616 |
1,425 |
1,238 |
26.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,838 |
910 |
933 |
26.3 |
osh-native |
38 |
no-host |
configure.yash |
1,848 |
942 |
911 |
26.3 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
1 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
61 |
39 |
23 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
2 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
2 |
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,533 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,075 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,056 |
0 |
0 |
0 |
8 |
0 |
44 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,166 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,060 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,357 |
0 |
0 |
0 |
8 |
0 |
1,981 |
150 |
bash |
9 |
no-host |
bin-true |
65,492 |
0 |
0 |
0 |
8 |
0 |
1,982 |
109 |
dash |
17 |
no-host |
bin-true |
778,343 |
0 |
0 |
0 |
8 |
0 |
1,991 |
258 |
osh-cpython |
25 |
no-host |
bin-true |
126,208 |
0 |
0 |
0 |
16 |
0 |
1,970 |
142 |
osh-native |
33 |
no-host |
bin-true |
128,139 |
0 |
0 |
0 |
16 |
0 |
1,976 |
212 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,991,670 |
0 |
0 |
0 |
32,928 |
0 |
14,216 |
1,147 |
bash |
10 |
no-host |
configure.cpython |
2,020,090 |
0 |
0 |
0 |
32,992 |
0 |
14,329 |
1,185 |
dash |
18 |
no-host |
configure.cpython |
6,070,351 |
0 |
0 |
0 |
27,512 |
0 |
13,039 |
1,080 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,018,504 |
0 |
0 |
0 |
27,520 |
0 |
13,142 |
1,160 |
osh-native |
34 |
no-host |
configure.cpython |
1,996,697 |
0 |
0 |
0 |
27,520 |
0 |
13,060 |
1,092 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,595 |
0 |
0 |
0 |
5,120 |
0 |
1,946 |
208 |
bash |
12 |
no-host |
configure.ocaml |
353,629 |
0 |
0 |
0 |
5,112 |
0 |
1,935 |
169 |
dash |
20 |
no-host |
configure.ocaml |
613,261 |
0 |
0 |
0 |
5,112 |
0 |
1,854 |
192 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,270 |
0 |
0 |
0 |
5,120 |
0 |
1,919 |
195 |
osh-native |
36 |
no-host |
configure.ocaml |
376,253 |
0 |
0 |
0 |
5,120 |
0 |
1,925 |
211 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,091 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,008 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
23,695 |
0 |
0 |
0 |
96 |
0 |
53 |
3 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,480 |
0 |
0 |
0 |
104 |
0 |
47 |
5 |
osh-native |
37 |
no-host |
configure.tcc |
6,445 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,914,587 |
0 |
0 |
0 |
42,400 |
0 |
18,473 |
1,200 |
bash |
11 |
no-host |
configure.util-linux |
2,071,357 |
1 |
0 |
0 |
42,592 |
0 |
17,343 |
1,311 |
dash |
19 |
no-host |
configure.util-linux |
5,230,489 |
12 |
0 |
0 |
39,144 |
0 |
17,003 |
1,184 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,813,145 |
0 |
0 |
0 |
39,128 |
0 |
17,000 |
1,280 |
osh-native |
35 |
no-host |
configure.util-linux |
1,809,046 |
1 |
0 |
0 |
39,136 |
0 |
16,960 |
1,200 |
osh-native-souffle |
6 |
no-host |
configure.yash |
234,150 |
0 |
0 |
0 |
4,120 |
0 |
870 |
89 |
bash |
14 |
no-host |
configure.yash |
221,776 |
0 |
0 |
0 |
3,720 |
0 |
867 |
90 |
dash |
22 |
no-host |
configure.yash |
366,940 |
1 |
0 |
0 |
3,728 |
0 |
853 |
76 |
osh-cpython |
30 |
no-host |
configure.yash |
236,082 |
0 |
0 |
0 |
3,736 |
0 |
850 |
88 |
osh-native |
38 |
no-host |
configure.yash |
235,387 |
0 |
0 |
0 |
3,736 |
0 |
850 |
87 |
osh-native-souffle |
0 |
no-host |
hello-world |
144 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
77 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,996 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
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