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.53 |
1.18 |
bin-true |
no-host |
667 |
540 |
2,280 |
819 |
808 |
3.42 |
1.23 |
configure.cpython |
no-host |
14,964 |
15,046 |
29,003 |
15,348 |
15,312 |
1.94 |
1.03 |
configure.ocaml |
no-host |
3,773 |
3,703 |
4,678 |
3,806 |
3,779 |
1.24 |
1.01 |
configure.tcc |
no-host |
48 |
41 |
205 |
49 |
48 |
4.24 |
1.01 |
configure.util-linux |
no-host |
14,198 |
14,759 |
31,510 |
14,430 |
14,199 |
2.22 |
1.02 |
configure.yash |
no-host |
1,797 |
1,767 |
2,526 |
1,813 |
1,809 |
1.41 |
1.01 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
37.76 |
1.98 |
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,518 |
1,107 |
23,842 |
3,210 |
3,059 |
9.47 |
1.27 |
bin-true |
no-host |
106,326 |
67,372 |
770,569 |
127,224 |
126,270 |
7.25 |
1.20 |
configure.cpython |
no-host |
2,224,934 |
2,237,072 |
6,238,960 |
2,214,627 |
2,200,952 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,392 |
391,351 |
647,476 |
412,736 |
412,513 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,567 |
5,458 |
24,151 |
6,939 |
6,922 |
3.68 |
1.06 |
configure.util-linux |
no-host |
2,106,589 |
2,266,628 |
5,397,027 |
1,999,925 |
1,991,069 |
2.56 |
0.95 |
configure.yash |
no-host |
255,932 |
244,058 |
389,291 |
258,180 |
258,081 |
1.52 |
1.01 |
hello-world |
no-host |
151 |
79 |
3,945 |
344 |
342 |
26.13 |
2.28 |
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 |
819 |
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,348 |
1 |
63 |
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,430 |
3 |
62 |
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,806 |
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 |
49 |
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,813 |
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.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 |
808 |
1 |
2 |
2.6 |
7.9 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,312 |
1 |
60 |
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,199 |
3 |
58 |
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,779 |
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,809 |
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 |
19 |
12 |
7 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
6 |
4 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
465 |
405 |
63 |
22.4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
19 |
4 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
17 |
4 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
667 |
500 |
198 |
3.0 |
bash |
9 |
no-host |
bin-true |
540 |
418 |
133 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,280 |
1,492 |
1,050 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
819 |
592 |
243 |
7.9 |
osh-native |
33 |
no-host |
bin-true |
808 |
573 |
253 |
7.9 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,964 |
9,070 |
6,298 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,046 |
8,996 |
6,439 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,003 |
17,673 |
13,230 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,348 |
8,882 |
6,733 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,312 |
8,902 |
6,488 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,773 |
1,548 |
1,265 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,703 |
1,578 |
1,143 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,678 |
2,226 |
1,666 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,806 |
1,567 |
1,277 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,779 |
1,607 |
1,206 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
30 |
19 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
19 |
22 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
205 |
136 |
72 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
22 |
27 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
34 |
14 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,198 |
8,843 |
5,823 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
14,759 |
9,242 |
6,002 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,510 |
20,757 |
11,834 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,430 |
8,799 |
5,825 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,199 |
8,487 |
5,900 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,797 |
1,044 |
762 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,767 |
1,036 |
735 |
24.5 |
dash |
22 |
no-host |
configure.yash |
2,526 |
1,528 |
1,039 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,813 |
1,084 |
733 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,809 |
1,125 |
685 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.3 |
dash |
16 |
no-host |
hello-world |
56 |
28 |
27 |
18.4 |
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,518 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,107 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,842 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,210 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,059 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,326 |
0 |
0 |
0 |
8 |
0 |
1,993 |
57 |
bash |
9 |
no-host |
bin-true |
67,372 |
0 |
0 |
0 |
8 |
0 |
1,987 |
59 |
dash |
17 |
no-host |
bin-true |
770,569 |
0 |
0 |
0 |
8 |
0 |
1,995 |
90 |
osh-cpython |
25 |
no-host |
bin-true |
127,224 |
0 |
0 |
0 |
16 |
0 |
1,994 |
121 |
osh-native |
33 |
no-host |
bin-true |
126,270 |
0 |
0 |
0 |
16 |
0 |
1,990 |
55 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,224,934 |
0 |
0 |
0 |
32,928 |
0 |
14,527 |
1,122 |
bash |
10 |
no-host |
configure.cpython |
2,237,072 |
0 |
0 |
0 |
32,992 |
0 |
14,587 |
1,189 |
dash |
18 |
no-host |
configure.cpython |
6,238,960 |
1 |
0 |
0 |
27,512 |
0 |
13,159 |
1,204 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,214,627 |
0 |
0 |
0 |
27,520 |
0 |
13,265 |
1,038 |
osh-native |
34 |
no-host |
configure.cpython |
2,200,952 |
0 |
0 |
0 |
27,520 |
0 |
13,146 |
912 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,392 |
0 |
0 |
0 |
5,120 |
0 |
1,952 |
146 |
bash |
12 |
no-host |
configure.ocaml |
391,351 |
0 |
0 |
0 |
5,112 |
0 |
1,913 |
150 |
dash |
20 |
no-host |
configure.ocaml |
647,476 |
0 |
0 |
0 |
5,112 |
0 |
1,856 |
195 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,736 |
0 |
0 |
0 |
5,120 |
0 |
1,937 |
177 |
osh-native |
36 |
no-host |
configure.ocaml |
412,513 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
156 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,567 |
0 |
0 |
0 |
104 |
0 |
49 |
10 |
bash |
13 |
no-host |
configure.tcc |
5,458 |
0 |
0 |
0 |
96 |
0 |
47 |
4 |
dash |
21 |
no-host |
configure.tcc |
24,151 |
0 |
0 |
0 |
96 |
0 |
53 |
13 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,939 |
0 |
0 |
0 |
104 |
0 |
46 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,922 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,106,589 |
2 |
0 |
0 |
42,400 |
0 |
18,620 |
1,164 |
bash |
11 |
no-host |
configure.util-linux |
2,266,628 |
1 |
0 |
0 |
42,584 |
0 |
17,445 |
985 |
dash |
19 |
no-host |
configure.util-linux |
5,397,027 |
6 |
0 |
0 |
39,120 |
0 |
16,995 |
1,222 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,999,925 |
0 |
0 |
0 |
39,128 |
0 |
17,072 |
946 |
osh-native |
35 |
no-host |
configure.util-linux |
1,991,069 |
0 |
0 |
0 |
39,136 |
0 |
17,124 |
1,048 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,932 |
0 |
0 |
0 |
4,120 |
0 |
870 |
79 |
bash |
14 |
no-host |
configure.yash |
244,058 |
0 |
0 |
0 |
3,720 |
0 |
871 |
69 |
dash |
22 |
no-host |
configure.yash |
389,291 |
0 |
0 |
0 |
3,728 |
0 |
849 |
92 |
osh-cpython |
30 |
no-host |
configure.yash |
258,180 |
0 |
0 |
0 |
3,736 |
0 |
851 |
84 |
osh-native |
38 |
no-host |
configure.yash |
258,081 |
0 |
0 |
0 |
3,736 |
0 |
850 |
82 |
osh-native-souffle |
0 |
no-host |
hello-world |
151 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
79 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,945 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
342 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host