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 |
10 |
466 |
22 |
21 |
23.40 |
1.13 |
bin-true |
no-host |
669 |
550 |
2,298 |
825 |
828 |
3.43 |
1.23 |
configure.cpython |
no-host |
15,241 |
15,358 |
29,329 |
15,531 |
15,621 |
1.92 |
1.02 |
configure.ocaml |
no-host |
3,832 |
3,811 |
4,725 |
3,889 |
3,903 |
1.23 |
1.01 |
configure.tcc |
no-host |
48 |
43 |
204 |
50 |
50 |
4.28 |
1.05 |
configure.util-linux |
no-host |
14,303 |
15,102 |
31,870 |
14,645 |
14,620 |
2.23 |
1.02 |
configure.yash |
no-host |
1,846 |
1,830 |
2,499 |
1,866 |
1,882 |
1.35 |
1.01 |
hello-world |
no-host |
2 |
1 |
58 |
3 |
3 |
37.71 |
1.82 |
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,553 |
1,148 |
23,828 |
3,192 |
3,106 |
9.33 |
1.25 |
bin-true |
no-host |
104,318 |
66,385 |
769,574 |
125,284 |
127,265 |
7.38 |
1.20 |
configure.cpython |
no-host |
2,228,723 |
2,239,139 |
6,236,402 |
2,217,462 |
2,206,626 |
2.80 |
0.99 |
configure.ocaml |
no-host |
410,904 |
390,702 |
647,664 |
412,779 |
412,757 |
1.58 |
1.00 |
configure.tcc |
no-host |
6,561 |
5,476 |
24,113 |
6,956 |
6,890 |
3.68 |
1.06 |
configure.util-linux |
no-host |
2,100,627 |
2,260,777 |
5,395,713 |
1,995,408 |
1,997,968 |
2.57 |
0.95 |
configure.yash |
no-host |
256,173 |
244,551 |
388,072 |
258,086 |
257,154 |
1.51 |
1.01 |
hello-world |
no-host |
153 |
83 |
3,946 |
342 |
335 |
25.79 |
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.2 |
3,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
825 |
1 |
2 |
2.6 |
8.1 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,531 |
1 |
66 |
14.9 |
27.5 |
1,771,747 |
49,125 |
28,512 |
85,415 |
878,115 |
808,217 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,645 |
3 |
63 |
21.2 |
30.3 |
2,702,513 |
53,766 |
65,691 |
108,691 |
1,290,640 |
1,303,182 |
32,239 |
41 |
131,382 |
1 |
configure.ocaml |
no-host |
3,889 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,112 |
5,207 |
7,508 |
70,969 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.4 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,866 |
1 |
2 |
2.5 |
24.5 |
139,412 |
8,024 |
6,686 |
5,989 |
67,942 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,292 |
64,403 |
42,613 |
4,532 |
54,436 |
57,324 |
277 |
3 |
85,226 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.8 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
828 |
1 |
2 |
2.6 |
7.6 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,621 |
1 |
64 |
14.9 |
27.4 |
1,771,746 |
44,577 |
28,450 |
85,416 |
878,115 |
808,215 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,620 |
3 |
63 |
21.2 |
30.1 |
2,702,513 |
53,693 |
65,629 |
108,693 |
1,290,640 |
1,303,180 |
32,239 |
41 |
131,258 |
1 |
configure.ocaml |
no-host |
3,903 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,050 |
5,145 |
7,510 |
70,969 |
71,601 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,882 |
1 |
2 |
2.5 |
24.4 |
139,412 |
7,962 |
6,624 |
5,991 |
67,942 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,291 |
64,341 |
42,551 |
4,533 |
54,436 |
57,322 |
277 |
3 |
85,102 |
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 |
10 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
10 |
0 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
466 |
409 |
59 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
13 |
10 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
19 |
3 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
669 |
504 |
196 |
3.0 |
bash |
9 |
no-host |
bin-true |
550 |
429 |
130 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,298 |
1,514 |
1,044 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
825 |
596 |
243 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
828 |
572 |
270 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,241 |
8,998 |
6,654 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,358 |
9,174 |
6,617 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
29,329 |
18,055 |
13,173 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,531 |
9,058 |
6,752 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,621 |
9,109 |
6,654 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,832 |
1,579 |
1,293 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,811 |
1,686 |
1,142 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,725 |
2,303 |
1,640 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,889 |
1,646 |
1,285 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,903 |
1,656 |
1,282 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
21 |
27 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
43 |
24 |
19 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
204 |
143 |
64 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
41 |
10 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
50 |
34 |
17 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,303 |
8,912 |
5,880 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
15,102 |
9,175 |
6,424 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,870 |
21,200 |
11,771 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,645 |
8,876 |
5,972 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,620 |
8,678 |
6,161 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,846 |
1,108 |
747 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,830 |
994 |
840 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,499 |
1,584 |
957 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,866 |
1,148 |
721 |
24.5 |
osh-native |
38 |
no-host |
configure.yash |
1,882 |
1,043 |
842 |
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.6 |
dash |
16 |
no-host |
hello-world |
58 |
39 |
19 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.2 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
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,553 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,148 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,828 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,192 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,106 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,318 |
0 |
0 |
0 |
8 |
0 |
1,994 |
69 |
bash |
9 |
no-host |
bin-true |
66,385 |
0 |
0 |
0 |
8 |
0 |
1,987 |
45 |
dash |
17 |
no-host |
bin-true |
769,574 |
0 |
0 |
0 |
8 |
0 |
1,999 |
96 |
osh-cpython |
25 |
no-host |
bin-true |
125,284 |
0 |
0 |
0 |
16 |
0 |
1,998 |
169 |
osh-native |
33 |
no-host |
bin-true |
127,265 |
0 |
0 |
0 |
16 |
0 |
1,986 |
140 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,228,723 |
0 |
0 |
0 |
32,928 |
0 |
14,471 |
1,049 |
bash |
10 |
no-host |
configure.cpython |
2,239,139 |
0 |
0 |
0 |
32,992 |
0 |
14,573 |
918 |
dash |
18 |
no-host |
configure.cpython |
6,236,402 |
0 |
0 |
0 |
27,512 |
0 |
13,272 |
1,220 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,217,462 |
0 |
0 |
0 |
27,520 |
0 |
13,304 |
1,011 |
osh-native |
34 |
no-host |
configure.cpython |
2,206,626 |
0 |
0 |
0 |
27,520 |
0 |
13,277 |
969 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,904 |
0 |
0 |
0 |
5,120 |
0 |
1,948 |
148 |
bash |
12 |
no-host |
configure.ocaml |
390,702 |
0 |
0 |
0 |
5,112 |
0 |
1,864 |
150 |
dash |
20 |
no-host |
configure.ocaml |
647,664 |
0 |
0 |
0 |
5,112 |
0 |
1,875 |
196 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,779 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
154 |
osh-native |
36 |
no-host |
configure.ocaml |
412,757 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
175 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,561 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,476 |
0 |
0 |
0 |
96 |
0 |
47 |
4 |
dash |
21 |
no-host |
configure.tcc |
24,113 |
0 |
0 |
0 |
96 |
0 |
53 |
10 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,956 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,890 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,100,627 |
0 |
0 |
0 |
42,400 |
0 |
18,572 |
1,149 |
bash |
11 |
no-host |
configure.util-linux |
2,260,777 |
0 |
0 |
0 |
42,592 |
0 |
17,413 |
1,035 |
dash |
19 |
no-host |
configure.util-linux |
5,395,713 |
8 |
0 |
0 |
39,112 |
0 |
16,976 |
1,099 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,995,408 |
1 |
0 |
0 |
39,120 |
0 |
17,004 |
889 |
osh-native |
35 |
no-host |
configure.util-linux |
1,997,968 |
2 |
0 |
0 |
39,136 |
0 |
17,149 |
973 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,173 |
0 |
0 |
0 |
4,120 |
0 |
872 |
95 |
bash |
14 |
no-host |
configure.yash |
244,551 |
0 |
0 |
0 |
3,720 |
0 |
871 |
70 |
dash |
22 |
no-host |
configure.yash |
388,072 |
0 |
0 |
0 |
3,728 |
0 |
853 |
104 |
osh-cpython |
30 |
no-host |
configure.yash |
258,086 |
0 |
0 |
0 |
3,736 |
0 |
850 |
74 |
osh-native |
38 |
no-host |
configure.yash |
257,154 |
0 |
0 |
0 |
3,736 |
0 |
852 |
75 |
osh-native-souffle |
0 |
no-host |
hello-world |
153 |
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,946 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
335 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host