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 |
9 |
465 |
22 |
21 |
24.03 |
1.12 |
bin-true |
no-host |
686 |
545 |
2,308 |
816 |
817 |
3.37 |
1.19 |
configure.cpython |
no-host |
15,258 |
15,163 |
28,889 |
15,543 |
15,589 |
1.89 |
1.02 |
configure.ocaml |
no-host |
3,903 |
3,784 |
4,703 |
3,853 |
3,842 |
1.21 |
0.99 |
configure.tcc |
no-host |
49 |
43 |
205 |
50 |
48 |
4.18 |
1.02 |
configure.util-linux |
no-host |
14,314 |
15,224 |
31,971 |
14,474 |
14,633 |
2.23 |
1.01 |
configure.yash |
no-host |
1,833 |
1,766 |
2,507 |
1,839 |
1,821 |
1.37 |
1.00 |
hello-world |
no-host |
2 |
1 |
57 |
3 |
3 |
38.02 |
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,533 |
1,110 |
23,534 |
3,192 |
3,114 |
9.29 |
1.26 |
bin-true |
no-host |
107,296 |
66,404 |
768,831 |
126,195 |
125,156 |
7.17 |
1.18 |
configure.cpython |
no-host |
2,217,508 |
2,242,223 |
6,193,138 |
2,220,929 |
2,223,535 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,621 |
391,192 |
644,431 |
413,221 |
412,229 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,535 |
5,494 |
23,984 |
6,949 |
6,896 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,096,396 |
2,258,788 |
5,352,941 |
2,002,157 |
1,990,095 |
2.55 |
0.96 |
configure.yash |
no-host |
256,213 |
244,591 |
387,057 |
258,318 |
257,401 |
1.51 |
1.01 |
hello-world |
no-host |
154 |
77 |
3,955 |
345 |
336 |
25.68 |
2.24 |
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 |
816 |
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,543 |
1 |
66 |
14.9 |
27.4 |
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,474 |
3 |
65 |
21.2 |
30.3 |
2,702,524 |
53,777 |
65,702 |
108,691 |
1,290,647 |
1,303,186 |
32,239 |
41 |
131,404 |
1 |
configure.ocaml |
no-host |
3,853 |
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 |
50 |
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,839 |
1 |
2 |
2.5 |
24.2 |
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.0 |
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.8 |
3,792 |
3,792 |
0 |
695 |
1,865 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
817 |
1 |
2 |
2.6 |
7.5 |
153,756 |
12,122 |
2,836 |
8,744 |
76,329 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,589 |
1 |
64 |
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,633 |
3 |
64 |
21.2 |
30.0 |
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,842 |
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.4 |
30,597 |
30,597 |
0 |
1,520 |
14,648 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,821 |
1 |
2 |
2.5 |
24.2 |
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.7 |
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 |
9 |
8 |
1 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
465 |
406 |
63 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
14 |
8 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
11 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
686 |
505 |
211 |
2.9 |
bash |
9 |
no-host |
bin-true |
545 |
418 |
137 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,308 |
1,499 |
1,075 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
816 |
594 |
238 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
817 |
572 |
259 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,258 |
9,360 |
6,312 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,163 |
9,219 |
6,371 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,889 |
17,726 |
13,043 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,543 |
9,090 |
6,733 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,589 |
9,108 |
6,591 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,903 |
1,701 |
1,233 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,784 |
1,669 |
1,133 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,703 |
2,336 |
1,582 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,853 |
1,602 |
1,289 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,842 |
1,577 |
1,302 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
20 |
29 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
43 |
40 |
2 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
205 |
148 |
61 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
25 |
26 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
34 |
15 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,314 |
9,032 |
5,766 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
15,224 |
9,401 |
6,350 |
30.0 |
dash |
19 |
no-host |
configure.util-linux |
31,971 |
21,122 |
11,963 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,474 |
8,720 |
5,960 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,633 |
8,799 |
6,054 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,833 |
1,036 |
805 |
24.5 |
bash |
14 |
no-host |
configure.yash |
1,766 |
1,066 |
703 |
24.5 |
dash |
22 |
no-host |
configure.yash |
2,507 |
1,490 |
1,060 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,839 |
1,035 |
808 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,821 |
1,088 |
738 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.3 |
dash |
16 |
no-host |
hello-world |
57 |
41 |
16 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
5.8 |
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,110 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,534 |
0 |
0 |
0 |
8 |
0 |
45 |
14 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,192 |
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 |
107,296 |
0 |
0 |
0 |
8 |
0 |
1,988 |
45 |
bash |
9 |
no-host |
bin-true |
66,404 |
0 |
0 |
0 |
8 |
0 |
1,989 |
41 |
dash |
17 |
no-host |
bin-true |
768,831 |
0 |
0 |
0 |
8 |
0 |
1,995 |
215 |
osh-cpython |
25 |
no-host |
bin-true |
126,195 |
0 |
0 |
0 |
16 |
0 |
1,991 |
74 |
osh-native |
33 |
no-host |
bin-true |
125,156 |
0 |
0 |
0 |
16 |
0 |
1,997 |
212 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,217,508 |
0 |
0 |
0 |
32,928 |
0 |
14,553 |
1,113 |
bash |
10 |
no-host |
configure.cpython |
2,242,223 |
0 |
0 |
0 |
32,992 |
0 |
14,518 |
968 |
dash |
18 |
no-host |
configure.cpython |
6,193,138 |
0 |
0 |
0 |
27,512 |
0 |
13,253 |
1,086 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,220,929 |
0 |
0 |
0 |
27,520 |
0 |
13,324 |
961 |
osh-native |
34 |
no-host |
configure.cpython |
2,223,535 |
1 |
0 |
0 |
27,520 |
0 |
13,323 |
1,060 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,621 |
0 |
0 |
0 |
5,120 |
0 |
1,953 |
161 |
bash |
12 |
no-host |
configure.ocaml |
391,192 |
0 |
0 |
0 |
5,112 |
0 |
1,887 |
261 |
dash |
20 |
no-host |
configure.ocaml |
644,431 |
0 |
0 |
0 |
5,112 |
0 |
1,859 |
170 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,221 |
0 |
0 |
0 |
5,120 |
0 |
1,934 |
228 |
osh-native |
36 |
no-host |
configure.ocaml |
412,229 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
153 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,535 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,494 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
23,984 |
0 |
0 |
0 |
96 |
0 |
53 |
14 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,949 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native |
37 |
no-host |
configure.tcc |
6,896 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,096,396 |
1 |
0 |
0 |
42,400 |
0 |
18,628 |
1,034 |
bash |
11 |
no-host |
configure.util-linux |
2,258,788 |
0 |
0 |
0 |
42,584 |
0 |
17,597 |
1,031 |
dash |
19 |
no-host |
configure.util-linux |
5,352,941 |
5 |
0 |
0 |
39,112 |
0 |
16,964 |
1,187 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,002,157 |
1 |
0 |
0 |
39,128 |
0 |
17,005 |
935 |
osh-native |
35 |
no-host |
configure.util-linux |
1,990,095 |
1 |
0 |
0 |
39,136 |
0 |
17,047 |
912 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,213 |
0 |
0 |
0 |
4,120 |
0 |
870 |
75 |
bash |
14 |
no-host |
configure.yash |
244,591 |
0 |
0 |
0 |
3,720 |
0 |
867 |
81 |
dash |
22 |
no-host |
configure.yash |
387,057 |
0 |
0 |
0 |
3,728 |
0 |
853 |
98 |
osh-cpython |
30 |
no-host |
configure.yash |
258,318 |
0 |
0 |
0 |
3,736 |
0 |
850 |
85 |
osh-native |
38 |
no-host |
configure.yash |
257,401 |
0 |
0 |
0 |
3,736 |
0 |
845 |
79 |
osh-native-souffle |
0 |
no-host |
hello-world |
154 |
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,955 |
0 |
0 |
0 |
8 |
0 |
7 |
8 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
336 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host