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 |
459 |
22 |
21 |
24.71 |
1.16 |
bin-true |
no-host |
680 |
545 |
2,313 |
813 |
803 |
3.40 |
1.20 |
configure.cpython |
no-host |
14,899 |
14,950 |
28,610 |
15,139 |
15,271 |
1.92 |
1.02 |
configure.ocaml |
no-host |
3,789 |
3,717 |
4,630 |
3,810 |
3,802 |
1.22 |
1.01 |
configure.tcc |
no-host |
47 |
41 |
201 |
49 |
48 |
4.25 |
1.04 |
configure.util-linux |
no-host |
13,915 |
14,777 |
31,182 |
14,266 |
14,226 |
2.24 |
1.03 |
configure.yash |
no-host |
1,806 |
1,751 |
2,458 |
1,810 |
1,823 |
1.36 |
1.00 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
37.18 |
1.87 |
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,533 |
1,095 |
23,828 |
3,198 |
3,079 |
9.41 |
1.26 |
bin-true |
no-host |
107,339 |
66,456 |
772,600 |
126,218 |
128,264 |
7.20 |
1.18 |
configure.cpython |
no-host |
2,220,374 |
2,237,986 |
6,239,209 |
2,222,176 |
2,204,662 |
2.81 |
1.00 |
configure.ocaml |
no-host |
410,277 |
391,358 |
647,933 |
413,361 |
412,815 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,555 |
5,468 |
24,121 |
6,976 |
6,907 |
3.68 |
1.06 |
configure.util-linux |
no-host |
2,104,750 |
2,260,525 |
5,396,301 |
1,990,780 |
1,987,011 |
2.56 |
0.95 |
configure.yash |
no-host |
255,597 |
244,161 |
389,360 |
258,349 |
257,639 |
1.52 |
1.01 |
hello-world |
no-host |
149 |
84 |
3,942 |
344 |
336 |
26.46 |
2.31 |
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 |
813 |
1 |
2 |
2.6 |
8.3 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,139 |
1 |
60 |
14.9 |
27.1 |
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,266 |
2 |
59 |
21.2 |
30.0 |
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,810 |
0 |
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.3 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,810 |
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.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 |
803 |
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,271 |
1 |
59 |
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,226 |
3 |
59 |
21.2 |
30.1 |
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,802 |
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 |
48 |
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,823 |
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 |
14 |
5 |
4.2 |
bash |
15 |
no-host |
abuild-print-help |
10 |
6 |
3 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
459 |
424 |
38 |
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 |
6 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
680 |
502 |
210 |
3.0 |
bash |
9 |
no-host |
bin-true |
545 |
415 |
140 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,313 |
1,464 |
1,112 |
18.2 |
osh-cpython |
25 |
no-host |
bin-true |
813 |
566 |
261 |
8.3 |
osh-native |
33 |
no-host |
bin-true |
803 |
576 |
243 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,899 |
9,079 |
6,208 |
27.3 |
bash |
10 |
no-host |
configure.cpython |
14,950 |
9,146 |
6,221 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,610 |
17,626 |
12,843 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,139 |
9,250 |
6,149 |
27.1 |
osh-native |
34 |
no-host |
configure.cpython |
15,271 |
8,938 |
6,424 |
27.5 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,789 |
1,590 |
1,231 |
20.4 |
bash |
12 |
no-host |
configure.ocaml |
3,717 |
1,569 |
1,168 |
20.4 |
dash |
20 |
no-host |
configure.ocaml |
4,630 |
2,238 |
1,601 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,810 |
1,606 |
1,245 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,802 |
1,615 |
1,224 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
29 |
19 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
31 |
11 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
201 |
153 |
51 |
19.1 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
36 |
14 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
34 |
15 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,915 |
8,614 |
5,782 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,777 |
9,042 |
6,227 |
30.0 |
dash |
19 |
no-host |
configure.util-linux |
31,182 |
20,900 |
11,347 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,266 |
8,547 |
5,919 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
14,226 |
8,682 |
5,744 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,806 |
1,084 |
729 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,751 |
1,028 |
728 |
24.5 |
dash |
22 |
no-host |
configure.yash |
2,458 |
1,473 |
1,027 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,810 |
1,053 |
762 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,823 |
1,060 |
767 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
2 |
2.6 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
48 |
8 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
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,533 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,095 |
0 |
0 |
0 |
8 |
0 |
39 |
3 |
dash |
23 |
no-host |
abuild-print-help |
23,828 |
0 |
0 |
0 |
8 |
0 |
45 |
12 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,198 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,079 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,339 |
0 |
0 |
0 |
8 |
0 |
1,991 |
107 |
bash |
9 |
no-host |
bin-true |
66,456 |
0 |
0 |
0 |
8 |
0 |
1,991 |
104 |
dash |
17 |
no-host |
bin-true |
772,600 |
0 |
0 |
0 |
8 |
0 |
1,987 |
163 |
osh-cpython |
25 |
no-host |
bin-true |
126,218 |
0 |
0 |
0 |
16 |
0 |
1,984 |
85 |
osh-native |
33 |
no-host |
bin-true |
128,264 |
0 |
0 |
0 |
16 |
0 |
1,989 |
53 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,220,374 |
0 |
0 |
0 |
32,928 |
0 |
14,435 |
995 |
bash |
10 |
no-host |
configure.cpython |
2,237,986 |
0 |
0 |
0 |
32,992 |
0 |
14,639 |
927 |
dash |
18 |
no-host |
configure.cpython |
6,239,209 |
1 |
0 |
0 |
27,512 |
0 |
13,243 |
1,124 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,222,176 |
0 |
0 |
0 |
27,520 |
0 |
13,291 |
1,127 |
osh-native |
34 |
no-host |
configure.cpython |
2,204,662 |
1 |
0 |
0 |
27,520 |
0 |
13,241 |
1,175 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,277 |
0 |
0 |
0 |
5,120 |
0 |
1,957 |
178 |
bash |
12 |
no-host |
configure.ocaml |
391,358 |
0 |
0 |
0 |
5,112 |
0 |
1,940 |
184 |
dash |
20 |
no-host |
configure.ocaml |
647,933 |
1 |
0 |
0 |
5,112 |
0 |
1,862 |
184 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,361 |
0 |
0 |
0 |
5,120 |
0 |
1,934 |
160 |
osh-native |
36 |
no-host |
configure.ocaml |
412,815 |
0 |
0 |
0 |
5,120 |
0 |
1,933 |
169 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,555 |
0 |
0 |
0 |
104 |
0 |
48 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,468 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,121 |
0 |
0 |
0 |
96 |
0 |
53 |
7 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,976 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,907 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,104,750 |
0 |
0 |
0 |
42,400 |
0 |
18,530 |
990 |
bash |
11 |
no-host |
configure.util-linux |
2,260,525 |
1 |
0 |
0 |
42,584 |
0 |
17,429 |
1,005 |
dash |
19 |
no-host |
configure.util-linux |
5,396,301 |
10 |
0 |
0 |
39,120 |
0 |
16,960 |
1,197 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,990,780 |
0 |
0 |
0 |
39,120 |
0 |
16,949 |
972 |
osh-native |
35 |
no-host |
configure.util-linux |
1,987,011 |
2 |
0 |
0 |
39,128 |
0 |
16,974 |
938 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,597 |
0 |
0 |
0 |
4,120 |
0 |
867 |
96 |
bash |
14 |
no-host |
configure.yash |
244,161 |
0 |
0 |
0 |
3,720 |
0 |
871 |
71 |
dash |
22 |
no-host |
configure.yash |
389,360 |
0 |
0 |
0 |
3,728 |
0 |
857 |
100 |
osh-cpython |
30 |
no-host |
configure.yash |
258,349 |
0 |
0 |
0 |
3,736 |
0 |
851 |
93 |
osh-native |
38 |
no-host |
configure.yash |
257,639 |
0 |
0 |
0 |
3,736 |
0 |
846 |
83 |
osh-native-souffle |
0 |
no-host |
hello-world |
149 |
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,942 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
336 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host