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 |
463 |
22 |
21 |
24.09 |
1.15 |
bin-true |
no-host |
666 |
547 |
2,336 |
825 |
813 |
3.51 |
1.24 |
configure.cpython |
no-host |
15,205 |
15,330 |
28,848 |
15,350 |
15,515 |
1.90 |
1.01 |
configure.ocaml |
no-host |
3,854 |
3,808 |
4,672 |
3,842 |
3,873 |
1.21 |
1.00 |
configure.tcc |
no-host |
48 |
43 |
203 |
48 |
48 |
4.24 |
1.01 |
configure.util-linux |
no-host |
14,058 |
15,100 |
31,731 |
14,449 |
14,641 |
2.26 |
1.03 |
configure.yash |
no-host |
1,833 |
1,798 |
2,478 |
1,831 |
1,859 |
1.35 |
1.00 |
hello-world |
no-host |
2 |
1 |
58 |
3 |
3 |
37.53 |
1.91 |
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,551 |
1,106 |
23,516 |
3,170 |
3,136 |
9.22 |
1.24 |
bin-true |
no-host |
105,338 |
66,422 |
763,666 |
126,121 |
126,206 |
7.25 |
1.20 |
configure.cpython |
no-host |
2,218,184 |
2,242,992 |
6,218,686 |
2,234,724 |
2,213,599 |
2.80 |
1.01 |
configure.ocaml |
no-host |
410,640 |
391,107 |
642,801 |
412,987 |
412,187 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,540 |
5,456 |
23,929 |
6,965 |
6,879 |
3.66 |
1.06 |
configure.util-linux |
no-host |
2,090,668 |
2,265,787 |
5,366,130 |
1,996,578 |
1,993,786 |
2.57 |
0.95 |
configure.yash |
no-host |
255,568 |
245,145 |
387,167 |
257,804 |
258,227 |
1.51 |
1.01 |
hello-world |
no-host |
153 |
81 |
3,956 |
349 |
339 |
25.86 |
2.28 |
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,793 |
3,793 |
0 |
694 |
1,865 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
825 |
1 |
2 |
2.6 |
8.1 |
153,757 |
12,333 |
2,898 |
8,743 |
76,329 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,350 |
1 |
62 |
14.9 |
27.4 |
1,771,804 |
49,616 |
28,523 |
85,427 |
878,138 |
808,239 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,449 |
3 |
61 |
21.2 |
30.1 |
2,702,550 |
45,811 |
65,722 |
108,699 |
1,290,655 |
1,303,196 |
32,241 |
41 |
131,444 |
1 |
configure.ocaml |
no-host |
3,842 |
1 |
2 |
2.6 |
20.6 |
150,091 |
11,123 |
5,218 |
7,508 |
70,976 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.4 |
30,597 |
30,597 |
0 |
1,518 |
14,648 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,831 |
1 |
2 |
2.5 |
24.4 |
139,423 |
8,035 |
6,697 |
5,989 |
67,949 |
65,485 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,303 |
64,414 |
42,624 |
4,532 |
54,443 |
57,328 |
277 |
3 |
85,248 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
6.0 |
3,792 |
3,792 |
0 |
695 |
1,865 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
813 |
1 |
2 |
2.6 |
7.7 |
153,756 |
12,122 |
2,836 |
8,744 |
76,329 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,515 |
1 |
63 |
14.9 |
27.4 |
1,771,803 |
49,074 |
28,461 |
85,428 |
878,138 |
808,237 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,641 |
3 |
64 |
21.2 |
30.3 |
2,702,550 |
53,704 |
65,640 |
108,701 |
1,290,655 |
1,303,194 |
32,241 |
41 |
131,280 |
1 |
configure.ocaml |
no-host |
3,873 |
1 |
2 |
2.6 |
20.6 |
150,091 |
11,061 |
5,156 |
7,510 |
70,976 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,597 |
30,597 |
0 |
1,520 |
14,648 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,859 |
1 |
2 |
2.5 |
24.4 |
139,423 |
7,973 |
6,635 |
5,991 |
67,949 |
65,483 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.8 |
116,302 |
64,352 |
42,562 |
4,533 |
54,443 |
57,326 |
277 |
3 |
85,124 |
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 |
9 |
1 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
463 |
427 |
40 |
22.5 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
16 |
7 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
16 |
6 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
666 |
481 |
217 |
2.9 |
bash |
9 |
no-host |
bin-true |
547 |
429 |
126 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,336 |
1,504 |
1,096 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
825 |
586 |
253 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
813 |
582 |
246 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,205 |
9,185 |
6,422 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,330 |
9,184 |
6,560 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,848 |
17,615 |
13,085 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,350 |
9,014 |
6,593 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,515 |
9,009 |
6,624 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,854 |
1,620 |
1,257 |
20.4 |
bash |
12 |
no-host |
configure.ocaml |
3,808 |
1,618 |
1,210 |
20.4 |
dash |
20 |
no-host |
configure.ocaml |
4,672 |
2,194 |
1,688 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,842 |
1,638 |
1,243 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,873 |
1,647 |
1,262 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
22 |
26 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
43 |
27 |
16 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
203 |
151 |
55 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
22 |
27 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
34 |
15 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,058 |
8,869 |
5,655 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
15,100 |
9,151 |
6,433 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,731 |
21,153 |
11,661 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,449 |
8,694 |
5,951 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,641 |
8,762 |
6,056 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,833 |
1,061 |
778 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,798 |
1,046 |
755 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,478 |
1,533 |
988 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,831 |
1,059 |
776 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,859 |
1,063 |
800 |
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 |
58 |
38 |
19 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
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,551 |
0 |
0 |
0 |
16 |
0 |
41 |
3 |
bash |
15 |
no-host |
abuild-print-help |
1,106 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,516 |
0 |
0 |
0 |
8 |
0 |
45 |
13 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,170 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,136 |
0 |
0 |
0 |
16 |
0 |
37 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,338 |
0 |
0 |
0 |
8 |
0 |
1,990 |
55 |
bash |
9 |
no-host |
bin-true |
66,422 |
0 |
0 |
0 |
8 |
0 |
1,985 |
77 |
dash |
17 |
no-host |
bin-true |
763,666 |
0 |
0 |
0 |
8 |
0 |
1,998 |
365 |
osh-cpython |
25 |
no-host |
bin-true |
126,121 |
0 |
0 |
0 |
16 |
0 |
1,996 |
261 |
osh-native |
33 |
no-host |
bin-true |
126,206 |
0 |
0 |
0 |
16 |
0 |
1,991 |
73 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,218,184 |
0 |
0 |
0 |
32,928 |
0 |
14,525 |
1,127 |
bash |
10 |
no-host |
configure.cpython |
2,242,992 |
0 |
0 |
0 |
32,992 |
0 |
14,603 |
1,091 |
dash |
18 |
no-host |
configure.cpython |
6,218,686 |
0 |
0 |
0 |
27,512 |
0 |
13,261 |
1,118 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,234,724 |
0 |
0 |
0 |
27,520 |
0 |
13,193 |
977 |
osh-native |
34 |
no-host |
configure.cpython |
2,213,599 |
0 |
0 |
0 |
27,520 |
0 |
13,284 |
1,012 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,640 |
0 |
0 |
0 |
5,120 |
0 |
1,955 |
160 |
bash |
12 |
no-host |
configure.ocaml |
391,107 |
0 |
0 |
0 |
5,112 |
0 |
1,919 |
175 |
dash |
20 |
no-host |
configure.ocaml |
642,801 |
0 |
0 |
0 |
5,112 |
0 |
1,862 |
166 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,987 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
183 |
osh-native |
36 |
no-host |
configure.ocaml |
412,187 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
145 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,540 |
0 |
0 |
0 |
104 |
0 |
49 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,456 |
0 |
0 |
0 |
96 |
0 |
46 |
4 |
dash |
21 |
no-host |
configure.tcc |
23,929 |
0 |
0 |
0 |
96 |
0 |
53 |
7 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,965 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native |
37 |
no-host |
configure.tcc |
6,879 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,090,668 |
1 |
0 |
0 |
42,400 |
0 |
18,555 |
1,017 |
bash |
11 |
no-host |
configure.util-linux |
2,265,787 |
0 |
0 |
0 |
42,584 |
0 |
17,384 |
1,114 |
dash |
19 |
no-host |
configure.util-linux |
5,366,130 |
15 |
0 |
0 |
39,136 |
0 |
16,935 |
1,272 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,996,578 |
1 |
0 |
0 |
39,120 |
0 |
16,956 |
1,089 |
osh-native |
35 |
no-host |
configure.util-linux |
1,993,786 |
0 |
0 |
0 |
39,128 |
0 |
16,921 |
1,000 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,568 |
0 |
0 |
0 |
4,120 |
0 |
873 |
86 |
bash |
14 |
no-host |
configure.yash |
245,145 |
0 |
0 |
0 |
3,720 |
0 |
869 |
68 |
dash |
22 |
no-host |
configure.yash |
387,167 |
0 |
0 |
0 |
3,728 |
0 |
855 |
88 |
osh-cpython |
30 |
no-host |
configure.yash |
257,804 |
0 |
0 |
0 |
3,736 |
0 |
847 |
82 |
osh-native |
38 |
no-host |
configure.yash |
258,227 |
0 |
0 |
0 |
3,736 |
0 |
850 |
61 |
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,956 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
349 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
339 |
0 |
0 |
0 |
16 |
0 |
0 |
1 |
osh-native-souffle |
Shell and Host