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 |
469 |
22 |
21 |
24.45 |
1.16 |
bin-true |
no-host |
680 |
544 |
2,337 |
817 |
819 |
3.43 |
1.20 |
configure.cpython |
no-host |
14,980 |
15,233 |
28,841 |
15,291 |
15,538 |
1.93 |
1.02 |
configure.ocaml |
no-host |
3,806 |
3,730 |
4,634 |
3,890 |
3,879 |
1.22 |
1.02 |
configure.tcc |
no-host |
47 |
41 |
201 |
50 |
49 |
4.24 |
1.05 |
configure.util-linux |
no-host |
13,991 |
14,957 |
31,781 |
14,473 |
14,466 |
2.27 |
1.03 |
configure.yash |
no-host |
1,821 |
1,772 |
2,496 |
1,866 |
1,867 |
1.37 |
1.03 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
37.90 |
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,544 |
1,127 |
23,675 |
3,179 |
3,088 |
9.31 |
1.25 |
bin-true |
no-host |
107,347 |
65,421 |
776,660 |
125,244 |
126,218 |
7.24 |
1.17 |
configure.cpython |
no-host |
2,219,407 |
2,243,490 |
6,216,483 |
2,216,006 |
2,205,351 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,770 |
391,106 |
647,051 |
413,191 |
412,741 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,535 |
5,470 |
24,055 |
6,951 |
6,923 |
3.68 |
1.06 |
configure.util-linux |
no-host |
2,102,537 |
2,263,954 |
5,391,155 |
1,998,824 |
1,992,183 |
2.56 |
0.95 |
configure.yash |
no-host |
255,893 |
244,626 |
387,904 |
258,035 |
257,642 |
1.52 |
1.01 |
hello-world |
no-host |
154 |
84 |
3,950 |
344 |
338 |
25.65 |
2.23 |
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,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
817 |
1 |
2 |
2.6 |
7.9 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,291 |
1 |
63 |
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,473 |
3 |
60 |
21.2 |
30.3 |
2,702,513 |
45,898 |
65,711 |
108,691 |
1,290,640 |
1,303,182 |
32,239 |
41 |
131,422 |
1 |
configure.ocaml |
no-host |
3,890 |
1 |
2 |
2.6 |
20.4 |
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.1 |
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.0 |
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.9 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
819 |
1 |
2 |
2.6 |
7.7 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,538 |
1 |
64 |
14.9 |
27.5 |
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,466 |
3 |
60 |
21.2 |
30.3 |
2,702,513 |
53,693 |
65,649 |
108,693 |
1,290,640 |
1,303,180 |
32,239 |
41 |
131,298 |
1 |
configure.ocaml |
no-host |
3,879 |
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 |
49 |
0 |
0 |
1.3 |
19.4 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,867 |
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.5 |
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 |
19 |
15 |
5 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
5 |
5 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
469 |
428 |
45 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
11 |
12 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
19 |
3 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
680 |
491 |
220 |
3.0 |
bash |
9 |
no-host |
bin-true |
544 |
422 |
132 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,337 |
1,495 |
1,111 |
18.2 |
osh-cpython |
25 |
no-host |
bin-true |
817 |
590 |
243 |
7.9 |
osh-native |
33 |
no-host |
bin-true |
819 |
578 |
257 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,980 |
8,973 |
6,405 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,233 |
9,120 |
6,537 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
28,841 |
17,741 |
12,970 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,291 |
9,016 |
6,549 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,538 |
9,144 |
6,530 |
27.5 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,806 |
1,614 |
1,226 |
20.4 |
bash |
12 |
no-host |
configure.ocaml |
3,730 |
1,563 |
1,185 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,634 |
2,225 |
1,617 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,890 |
1,631 |
1,296 |
20.4 |
osh-native |
36 |
no-host |
configure.ocaml |
3,879 |
1,637 |
1,279 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
27 |
21 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
32 |
9 |
19.1 |
dash |
21 |
no-host |
configure.tcc |
201 |
134 |
71 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
29 |
22 |
19.1 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
26 |
23 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,991 |
8,804 |
5,660 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,957 |
9,412 |
6,035 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,781 |
21,004 |
11,891 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,473 |
8,592 |
6,034 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,466 |
8,740 |
5,929 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,821 |
1,051 |
776 |
24.5 |
bash |
14 |
no-host |
configure.yash |
1,772 |
1,043 |
732 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,496 |
1,591 |
947 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,866 |
1,068 |
799 |
24.5 |
osh-native |
38 |
no-host |
configure.yash |
1,867 |
1,080 |
792 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
44 |
12 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.3 |
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,544 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,127 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,675 |
0 |
0 |
0 |
8 |
0 |
45 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,179 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,088 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,347 |
0 |
0 |
0 |
8 |
0 |
1,989 |
90 |
bash |
9 |
no-host |
bin-true |
65,421 |
0 |
0 |
0 |
8 |
0 |
1,989 |
92 |
dash |
17 |
no-host |
bin-true |
776,660 |
0 |
0 |
0 |
8 |
0 |
1,995 |
122 |
osh-cpython |
25 |
no-host |
bin-true |
125,244 |
0 |
0 |
0 |
16 |
0 |
1,994 |
82 |
osh-native |
33 |
no-host |
bin-true |
126,218 |
0 |
0 |
0 |
16 |
0 |
1,988 |
50 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,219,407 |
0 |
0 |
0 |
32,928 |
0 |
14,483 |
1,093 |
bash |
10 |
no-host |
configure.cpython |
2,243,490 |
0 |
0 |
0 |
32,992 |
0 |
14,675 |
921 |
dash |
18 |
no-host |
configure.cpython |
6,216,483 |
0 |
0 |
0 |
27,512 |
0 |
13,231 |
1,048 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,216,006 |
0 |
0 |
0 |
27,520 |
0 |
13,247 |
902 |
osh-native |
34 |
no-host |
configure.cpython |
2,205,351 |
0 |
0 |
0 |
27,520 |
0 |
13,249 |
966 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,770 |
0 |
0 |
0 |
5,120 |
0 |
1,953 |
167 |
bash |
12 |
no-host |
configure.ocaml |
391,106 |
0 |
0 |
0 |
5,112 |
0 |
1,899 |
149 |
dash |
20 |
no-host |
configure.ocaml |
647,051 |
0 |
0 |
0 |
5,112 |
0 |
1,850 |
171 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,191 |
0 |
0 |
0 |
5,120 |
0 |
1,923 |
153 |
osh-native |
36 |
no-host |
configure.ocaml |
412,741 |
0 |
0 |
0 |
5,120 |
0 |
1,924 |
156 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,535 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,470 |
0 |
0 |
0 |
96 |
0 |
47 |
0 |
dash |
21 |
no-host |
configure.tcc |
24,055 |
0 |
0 |
0 |
96 |
0 |
53 |
4 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,951 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,923 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,102,537 |
2 |
0 |
0 |
42,400 |
0 |
18,630 |
1,037 |
bash |
11 |
no-host |
configure.util-linux |
2,263,954 |
1 |
0 |
0 |
42,584 |
0 |
17,397 |
1,070 |
dash |
19 |
no-host |
configure.util-linux |
5,391,155 |
13 |
0 |
0 |
39,112 |
0 |
16,864 |
1,355 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,998,824 |
0 |
0 |
0 |
39,120 |
0 |
16,954 |
940 |
osh-native |
35 |
no-host |
configure.util-linux |
1,992,183 |
2 |
0 |
0 |
39,128 |
0 |
16,986 |
960 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,893 |
0 |
0 |
0 |
4,120 |
0 |
870 |
77 |
bash |
14 |
no-host |
configure.yash |
244,626 |
0 |
0 |
0 |
3,720 |
0 |
871 |
69 |
dash |
22 |
no-host |
configure.yash |
387,904 |
0 |
0 |
0 |
3,728 |
0 |
853 |
85 |
osh-cpython |
30 |
no-host |
configure.yash |
258,035 |
0 |
0 |
0 |
3,736 |
0 |
846 |
78 |
osh-native |
38 |
no-host |
configure.yash |
257,642 |
0 |
0 |
0 |
3,736 |
0 |
850 |
79 |
osh-native-souffle |
0 |
no-host |
hello-world |
154 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
84 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,950 |
0 |
0 |
0 |
8 |
0 |
7 |
6 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
338 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host