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 |
473 |
22 |
21 |
23.88 |
1.13 |
bin-true |
no-host |
677 |
554 |
2,371 |
821 |
818 |
3.50 |
1.21 |
configure.cpython |
no-host |
15,578 |
15,779 |
29,900 |
15,929 |
16,106 |
1.92 |
1.02 |
configure.ocaml |
no-host |
3,966 |
3,901 |
4,818 |
3,972 |
3,973 |
1.21 |
1.00 |
configure.tcc |
no-host |
49 |
44 |
209 |
52 |
54 |
4.28 |
1.07 |
configure.util-linux |
no-host |
14,651 |
15,711 |
32,896 |
15,484 |
14,985 |
2.25 |
1.06 |
configure.yash |
no-host |
1,890 |
1,874 |
2,555 |
1,913 |
1,889 |
1.35 |
1.01 |
hello-world |
no-host |
2 |
1 |
63 |
3 |
3 |
40.62 |
1.83 |
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,557 |
1,089 |
23,666 |
3,198 |
3,059 |
9.26 |
1.25 |
bin-true |
no-host |
104,321 |
66,466 |
773,628 |
125,277 |
123,213 |
7.42 |
1.20 |
configure.cpython |
no-host |
2,222,770 |
2,244,815 |
6,213,827 |
2,220,999 |
2,206,917 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,668 |
390,940 |
647,962 |
412,935 |
412,624 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,542 |
5,479 |
24,098 |
6,951 |
6,900 |
3.68 |
1.06 |
configure.util-linux |
no-host |
2,102,006 |
2,256,181 |
5,391,329 |
1,990,133 |
1,992,845 |
2.56 |
0.95 |
configure.yash |
no-host |
256,040 |
244,056 |
389,209 |
257,701 |
257,701 |
1.52 |
1.01 |
hello-world |
no-host |
149 |
82 |
3,950 |
343 |
338 |
26.51 |
2.30 |
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 |
821 |
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,929 |
2 |
68 |
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 |
15,484 |
3 |
70 |
21.2 |
30.1 |
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,972 |
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 |
52 |
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,913 |
1 |
2 |
2.5 |
24.2 |
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.9 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
818 |
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 |
16,106 |
1 |
67 |
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,985 |
3 |
67 |
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,973 |
1 |
2 |
2.6 |
20.4 |
150,080 |
11,050 |
5,145 |
7,510 |
70,969 |
71,601 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
54 |
0 |
0 |
1.3 |
19.1 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,889 |
1 |
2 |
2.5 |
24.2 |
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 |
20 |
12 |
8 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
7 |
3 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
473 |
426 |
49 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
21 |
1 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
14 |
8 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
677 |
513 |
196 |
3.0 |
bash |
9 |
no-host |
bin-true |
554 |
425 |
137 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,371 |
1,521 |
1,119 |
18.3 |
osh-cpython |
25 |
no-host |
bin-true |
821 |
565 |
270 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
818 |
565 |
264 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,578 |
9,452 |
6,520 |
27.3 |
bash |
10 |
no-host |
configure.cpython |
15,779 |
9,488 |
6,716 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
29,900 |
17,894 |
13,966 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,929 |
9,364 |
6,842 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
16,106 |
9,147 |
7,052 |
27.5 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,966 |
1,674 |
1,324 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,901 |
1,675 |
1,245 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,818 |
2,253 |
1,779 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,972 |
1,665 |
1,349 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,973 |
1,751 |
1,261 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
26 |
23 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
44 |
27 |
17 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
209 |
155 |
58 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
52 |
38 |
15 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
54 |
24 |
30 |
19.1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,651 |
9,188 |
5,953 |
30.4 |
bash |
11 |
no-host |
configure.util-linux |
15,711 |
9,384 |
6,825 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
32,896 |
21,927 |
12,116 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
15,484 |
9,412 |
6,271 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,985 |
8,830 |
6,351 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,890 |
1,107 |
793 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,874 |
1,060 |
816 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,555 |
1,579 |
1,020 |
24.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,913 |
1,054 |
863 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,889 |
1,083 |
810 |
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.4 |
dash |
16 |
no-host |
hello-world |
63 |
46 |
16 |
18.1 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,557 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,089 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,666 |
0 |
0 |
0 |
8 |
0 |
45 |
11 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,198 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,059 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,321 |
0 |
0 |
0 |
8 |
0 |
1,991 |
69 |
bash |
9 |
no-host |
bin-true |
66,466 |
0 |
0 |
0 |
8 |
0 |
1,986 |
36 |
dash |
17 |
no-host |
bin-true |
773,628 |
0 |
0 |
0 |
8 |
0 |
1,996 |
283 |
osh-cpython |
25 |
no-host |
bin-true |
125,277 |
0 |
0 |
0 |
16 |
0 |
1,992 |
64 |
osh-native |
33 |
no-host |
bin-true |
123,213 |
0 |
0 |
0 |
16 |
0 |
1,992 |
56 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,222,770 |
0 |
0 |
0 |
32,928 |
0 |
14,510 |
933 |
bash |
10 |
no-host |
configure.cpython |
2,244,815 |
0 |
0 |
0 |
32,992 |
0 |
14,663 |
968 |
dash |
18 |
no-host |
configure.cpython |
6,213,827 |
0 |
0 |
0 |
27,512 |
0 |
13,258 |
1,111 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,220,999 |
0 |
0 |
0 |
27,520 |
0 |
13,275 |
1,035 |
osh-native |
34 |
no-host |
configure.cpython |
2,206,917 |
0 |
0 |
0 |
27,520 |
0 |
13,210 |
1,025 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,668 |
0 |
0 |
0 |
5,120 |
0 |
1,974 |
154 |
bash |
12 |
no-host |
configure.ocaml |
390,940 |
0 |
0 |
0 |
5,112 |
0 |
1,884 |
155 |
dash |
20 |
no-host |
configure.ocaml |
647,962 |
0 |
0 |
0 |
5,112 |
0 |
1,857 |
167 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,935 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
152 |
osh-native |
36 |
no-host |
configure.ocaml |
412,624 |
0 |
0 |
0 |
5,120 |
0 |
1,936 |
143 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,542 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,479 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
24,098 |
0 |
0 |
0 |
96 |
0 |
53 |
7 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,951 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native |
37 |
no-host |
configure.tcc |
6,900 |
0 |
0 |
0 |
104 |
0 |
46 |
5 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,102,006 |
1 |
0 |
0 |
42,400 |
0 |
18,536 |
1,008 |
bash |
11 |
no-host |
configure.util-linux |
2,256,181 |
1 |
0 |
0 |
42,592 |
0 |
17,485 |
1,089 |
dash |
19 |
no-host |
configure.util-linux |
5,391,329 |
16 |
0 |
0 |
39,112 |
0 |
16,953 |
1,280 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,990,133 |
1 |
0 |
0 |
39,120 |
0 |
16,962 |
965 |
osh-native |
35 |
no-host |
configure.util-linux |
1,992,845 |
0 |
0 |
0 |
39,136 |
0 |
16,980 |
956 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,040 |
0 |
0 |
0 |
4,120 |
0 |
870 |
68 |
bash |
14 |
no-host |
configure.yash |
244,056 |
0 |
0 |
0 |
3,720 |
0 |
868 |
174 |
dash |
22 |
no-host |
configure.yash |
389,209 |
0 |
0 |
0 |
3,728 |
0 |
854 |
92 |
osh-cpython |
30 |
no-host |
configure.yash |
257,701 |
0 |
0 |
0 |
3,736 |
0 |
847 |
85 |
osh-native |
38 |
no-host |
configure.yash |
257,701 |
0 |
0 |
0 |
3,736 |
0 |
850 |
79 |
osh-native-souffle |
0 |
no-host |
hello-world |
149 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
82 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,950 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
343 |
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