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 |
465 |
22 |
21 |
24.32 |
1.15 |
bin-true |
no-host |
674 |
546 |
2,308 |
821 |
795 |
3.43 |
1.22 |
configure.cpython |
no-host |
15,043 |
15,127 |
29,238 |
15,371 |
15,413 |
1.94 |
1.02 |
configure.ocaml |
no-host |
3,810 |
3,768 |
4,685 |
3,830 |
3,808 |
1.23 |
1.01 |
configure.tcc |
no-host |
47 |
42 |
202 |
48 |
48 |
4.29 |
1.03 |
configure.util-linux |
no-host |
14,016 |
14,961 |
31,430 |
14,352 |
14,339 |
2.24 |
1.02 |
configure.yash |
no-host |
1,825 |
1,812 |
2,449 |
1,828 |
1,814 |
1.34 |
1.00 |
hello-world |
no-host |
2 |
1 |
57 |
3 |
3 |
37.91 |
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,524 |
1,092 |
23,552 |
3,204 |
3,114 |
9.33 |
1.27 |
bin-true |
no-host |
106,334 |
66,450 |
766,786 |
126,217 |
123,128 |
7.21 |
1.19 |
configure.cpython |
no-host |
2,220,849 |
2,254,623 |
6,188,900 |
2,218,478 |
2,214,986 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,174 |
391,566 |
643,604 |
413,155 |
412,713 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,534 |
5,473 |
23,975 |
6,949 |
6,909 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,095,015 |
2,268,187 |
5,344,830 |
1,998,844 |
1,996,613 |
2.55 |
0.95 |
configure.yash |
no-host |
255,555 |
244,980 |
387,325 |
257,870 |
257,397 |
1.52 |
1.01 |
hello-world |
no-host |
152 |
83 |
3,959 |
346 |
337 |
26.05 |
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.4 |
3,793 |
3,793 |
0 |
694 |
1,865 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
821 |
1 |
2 |
2.6 |
8.0 |
153,757 |
12,333 |
2,898 |
8,743 |
76,329 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,371 |
1 |
62 |
14.9 |
27.3 |
1,771,758 |
49,616 |
28,523 |
85,415 |
878,122 |
808,221 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,352 |
2 |
58 |
21.2 |
30.1 |
2,702,524 |
45,811 |
65,722 |
108,691 |
1,290,647 |
1,303,186 |
32,239 |
41 |
131,444 |
1 |
configure.ocaml |
no-host |
3,830 |
1 |
2 |
2.6 |
20.4 |
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.3 |
30,597 |
30,597 |
0 |
1,518 |
14,648 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,828 |
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 |
5.9 |
3,792 |
3,792 |
0 |
695 |
1,865 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
795 |
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,413 |
1 |
59 |
14.9 |
27.4 |
1,771,757 |
49,074 |
28,461 |
85,416 |
878,122 |
808,219 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,339 |
2 |
59 |
21.2 |
30.3 |
2,702,524 |
53,704 |
65,660 |
108,693 |
1,290,647 |
1,303,184 |
32,239 |
41 |
131,320 |
1 |
configure.ocaml |
no-host |
3,808 |
1 |
2 |
2.6 |
20.4 |
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.1 |
30,597 |
30,597 |
0 |
1,520 |
14,648 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,814 |
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.5 |
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 |
16 |
4 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
5 |
5 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
465 |
428 |
41 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
17 |
5 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
16 |
6 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
674 |
514 |
193 |
2.9 |
bash |
9 |
no-host |
bin-true |
546 |
432 |
123 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,308 |
1,488 |
1,081 |
18.3 |
osh-cpython |
25 |
no-host |
bin-true |
821 |
570 |
266 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
795 |
551 |
259 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,043 |
9,191 |
6,251 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,127 |
9,330 |
6,214 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,238 |
18,024 |
13,113 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,371 |
9,355 |
6,272 |
27.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,413 |
8,951 |
6,545 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,810 |
1,656 |
1,188 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,768 |
1,561 |
1,227 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,685 |
2,233 |
1,663 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,830 |
1,593 |
1,271 |
20.4 |
osh-native |
36 |
no-host |
configure.ocaml |
3,808 |
1,641 |
1,202 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
24 |
24 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
42 |
31 |
11 |
19.1 |
dash |
21 |
no-host |
configure.tcc |
202 |
142 |
63 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
29 |
20 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
43 |
6 |
19.1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,016 |
8,747 |
5,739 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,961 |
9,112 |
6,332 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,430 |
20,853 |
11,653 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,352 |
8,572 |
5,949 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,339 |
8,567 |
5,940 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,825 |
1,052 |
775 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,812 |
1,015 |
801 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,449 |
1,520 |
971 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,828 |
1,046 |
786 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,814 |
1,091 |
728 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
57 |
37 |
20 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.4 |
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,524 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,092 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,552 |
0 |
0 |
0 |
8 |
0 |
45 |
15 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,204 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,114 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,334 |
0 |
0 |
0 |
8 |
0 |
1,986 |
76 |
bash |
9 |
no-host |
bin-true |
66,450 |
0 |
0 |
0 |
8 |
0 |
1,992 |
101 |
dash |
17 |
no-host |
bin-true |
766,786 |
0 |
0 |
0 |
8 |
0 |
1,992 |
170 |
osh-cpython |
25 |
no-host |
bin-true |
126,217 |
0 |
0 |
0 |
16 |
0 |
1,989 |
164 |
osh-native |
33 |
no-host |
bin-true |
123,128 |
0 |
0 |
0 |
16 |
0 |
1,995 |
74 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,220,849 |
0 |
0 |
0 |
32,928 |
0 |
14,499 |
1,014 |
bash |
10 |
no-host |
configure.cpython |
2,254,623 |
0 |
0 |
0 |
32,992 |
0 |
14,638 |
959 |
dash |
18 |
no-host |
configure.cpython |
6,188,900 |
1 |
0 |
0 |
27,512 |
0 |
13,277 |
1,174 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,218,478 |
0 |
0 |
0 |
27,520 |
0 |
13,235 |
971 |
osh-native |
34 |
no-host |
configure.cpython |
2,214,986 |
0 |
0 |
0 |
27,520 |
0 |
13,278 |
906 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,174 |
0 |
0 |
0 |
5,120 |
0 |
1,966 |
162 |
bash |
12 |
no-host |
configure.ocaml |
391,566 |
0 |
0 |
0 |
5,112 |
0 |
1,929 |
132 |
dash |
20 |
no-host |
configure.ocaml |
643,604 |
0 |
0 |
0 |
5,112 |
0 |
1,873 |
185 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,155 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
184 |
osh-native |
36 |
no-host |
configure.ocaml |
412,713 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
161 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,534 |
0 |
0 |
0 |
104 |
0 |
49 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,473 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
23,975 |
0 |
0 |
0 |
96 |
0 |
53 |
15 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,949 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,909 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,095,015 |
1 |
0 |
0 |
42,408 |
0 |
18,552 |
1,203 |
bash |
11 |
no-host |
configure.util-linux |
2,268,187 |
1 |
0 |
0 |
42,592 |
0 |
17,431 |
1,061 |
dash |
19 |
no-host |
configure.util-linux |
5,344,830 |
10 |
0 |
0 |
39,136 |
0 |
16,961 |
1,234 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,998,844 |
0 |
0 |
0 |
39,120 |
0 |
16,991 |
969 |
osh-native |
35 |
no-host |
configure.util-linux |
1,996,613 |
0 |
0 |
0 |
39,136 |
0 |
17,022 |
959 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,555 |
0 |
0 |
0 |
4,120 |
0 |
871 |
99 |
bash |
14 |
no-host |
configure.yash |
244,980 |
0 |
0 |
0 |
3,720 |
0 |
866 |
75 |
dash |
22 |
no-host |
configure.yash |
387,325 |
0 |
0 |
0 |
3,728 |
0 |
853 |
86 |
osh-cpython |
30 |
no-host |
configure.yash |
257,870 |
0 |
0 |
0 |
3,736 |
0 |
848 |
90 |
osh-native |
38 |
no-host |
configure.yash |
257,397 |
0 |
0 |
0 |
3,736 |
0 |
846 |
76 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
83 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,959 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
337 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host