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 |
462 |
22 |
21 |
24.30 |
1.15 |
bin-true |
no-host |
675 |
544 |
2,291 |
807 |
807 |
3.39 |
1.20 |
configure.cpython |
no-host |
14,845 |
14,890 |
28,456 |
15,097 |
15,475 |
1.92 |
1.02 |
configure.ocaml |
no-host |
3,769 |
3,702 |
4,647 |
3,838 |
3,788 |
1.23 |
1.02 |
configure.tcc |
no-host |
47 |
42 |
201 |
48 |
48 |
4.29 |
1.02 |
configure.util-linux |
no-host |
13,894 |
14,722 |
31,122 |
14,205 |
14,321 |
2.24 |
1.02 |
configure.yash |
no-host |
1,802 |
1,751 |
2,437 |
1,826 |
1,800 |
1.35 |
1.01 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
38.46 |
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,526 |
1,095 |
23,764 |
3,165 |
3,063 |
9.41 |
1.25 |
bin-true |
no-host |
106,370 |
66,427 |
770,457 |
124,156 |
125,294 |
7.24 |
1.17 |
configure.cpython |
no-host |
2,214,537 |
2,242,185 |
6,201,001 |
2,227,187 |
2,206,082 |
2.80 |
1.01 |
configure.ocaml |
no-host |
410,319 |
391,129 |
645,829 |
413,110 |
412,516 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,555 |
5,483 |
24,028 |
6,922 |
6,899 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,103,179 |
2,259,698 |
5,392,037 |
1,994,833 |
1,990,298 |
2.56 |
0.95 |
configure.yash |
no-host |
256,748 |
245,320 |
387,921 |
257,399 |
258,220 |
1.51 |
1.00 |
hello-world |
no-host |
155 |
81 |
3,941 |
341 |
340 |
25.43 |
2.20 |
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 |
807 |
1 |
2 |
2.6 |
8.0 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,097 |
1 |
62 |
14.9 |
27.4 |
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,205 |
2 |
58 |
21.2 |
30.1 |
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,838 |
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 |
48 |
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,826 |
1 |
2 |
2.5 |
24.4 |
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 |
807 |
1 |
2 |
2.6 |
7.5 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,475 |
1 |
62 |
14.9 |
27.3 |
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,321 |
2 |
61 |
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,788 |
0 |
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 |
48 |
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,800 |
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 |
9 |
10 |
0 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
462 |
437 |
28 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
15 |
7 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
15 |
7 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
675 |
504 |
200 |
2.9 |
bash |
9 |
no-host |
bin-true |
544 |
418 |
135 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,291 |
1,462 |
1,081 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
807 |
565 |
256 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
807 |
584 |
238 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,845 |
8,851 |
6,390 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
14,890 |
9,097 |
6,213 |
27.1 |
dash |
18 |
no-host |
configure.cpython |
28,456 |
17,206 |
13,053 |
27.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,097 |
8,985 |
6,378 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,475 |
9,126 |
6,470 |
27.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,769 |
1,572 |
1,238 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,702 |
1,576 |
1,147 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,647 |
2,177 |
1,680 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,838 |
1,651 |
1,224 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,788 |
1,612 |
1,207 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
25 |
23 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
42 |
22 |
20 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
201 |
148 |
57 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
31 |
17 |
19.1 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
34 |
15 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,894 |
8,830 |
5,539 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,722 |
9,117 |
6,096 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,122 |
20,758 |
11,422 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,205 |
8,595 |
5,800 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,321 |
8,625 |
5,894 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,802 |
1,013 |
796 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,751 |
1,004 |
751 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,437 |
1,593 |
885 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,826 |
1,092 |
738 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,800 |
1,055 |
749 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
36 |
20 |
18.0 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.2 |
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,526 |
0 |
0 |
0 |
16 |
0 |
40 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,095 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,764 |
0 |
0 |
0 |
8 |
0 |
45 |
8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,165 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,063 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,370 |
0 |
0 |
0 |
8 |
0 |
1,995 |
80 |
bash |
9 |
no-host |
bin-true |
66,427 |
0 |
0 |
0 |
8 |
0 |
1,990 |
55 |
dash |
17 |
no-host |
bin-true |
770,457 |
0 |
0 |
0 |
8 |
0 |
1,989 |
111 |
osh-cpython |
25 |
no-host |
bin-true |
124,156 |
0 |
0 |
0 |
16 |
0 |
1,990 |
74 |
osh-native |
33 |
no-host |
bin-true |
125,294 |
0 |
0 |
0 |
16 |
0 |
1,992 |
115 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,214,537 |
0 |
0 |
0 |
32,928 |
0 |
14,510 |
1,080 |
bash |
10 |
no-host |
configure.cpython |
2,242,185 |
0 |
0 |
0 |
32,992 |
0 |
14,678 |
1,215 |
dash |
18 |
no-host |
configure.cpython |
6,201,001 |
0 |
0 |
0 |
27,512 |
0 |
13,286 |
1,216 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,227,187 |
0 |
0 |
0 |
27,520 |
0 |
13,200 |
934 |
osh-native |
34 |
no-host |
configure.cpython |
2,206,082 |
0 |
0 |
0 |
27,520 |
0 |
13,158 |
1,121 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,319 |
0 |
0 |
0 |
5,120 |
0 |
1,946 |
171 |
bash |
12 |
no-host |
configure.ocaml |
391,129 |
0 |
0 |
0 |
5,112 |
0 |
1,942 |
161 |
dash |
20 |
no-host |
configure.ocaml |
645,829 |
0 |
0 |
0 |
5,112 |
0 |
1,863 |
175 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,110 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
176 |
osh-native |
36 |
no-host |
configure.ocaml |
412,516 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
140 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,555 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,483 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,028 |
0 |
0 |
0 |
96 |
0 |
53 |
5 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,922 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,899 |
0 |
0 |
0 |
104 |
0 |
47 |
5 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,103,179 |
1 |
0 |
0 |
42,408 |
0 |
18,677 |
1,026 |
bash |
11 |
no-host |
configure.util-linux |
2,259,698 |
1 |
0 |
0 |
42,592 |
0 |
17,440 |
1,085 |
dash |
19 |
no-host |
configure.util-linux |
5,392,037 |
14 |
0 |
0 |
39,112 |
0 |
16,956 |
1,071 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,994,833 |
0 |
0 |
0 |
39,120 |
0 |
16,964 |
1,000 |
osh-native |
35 |
no-host |
configure.util-linux |
1,990,298 |
1 |
0 |
0 |
39,128 |
0 |
16,960 |
925 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,748 |
0 |
0 |
0 |
4,120 |
0 |
871 |
89 |
bash |
14 |
no-host |
configure.yash |
245,320 |
0 |
0 |
0 |
3,720 |
0 |
871 |
87 |
dash |
22 |
no-host |
configure.yash |
387,921 |
0 |
0 |
0 |
3,728 |
0 |
852 |
71 |
osh-cpython |
30 |
no-host |
configure.yash |
257,399 |
0 |
0 |
0 |
3,736 |
0 |
849 |
89 |
osh-native |
38 |
no-host |
configure.yash |
258,220 |
0 |
0 |
0 |
3,736 |
0 |
848 |
75 |
osh-native-souffle |
0 |
no-host |
hello-world |
155 |
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,941 |
0 |
0 |
0 |
8 |
0 |
6 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
341 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
340 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host