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 |
467 |
22 |
21 |
24.48 |
1.15 |
bin-true |
no-host |
659 |
540 |
2,308 |
811 |
804 |
3.50 |
1.23 |
configure.cpython |
no-host |
14,879 |
15,005 |
28,498 |
15,119 |
15,113 |
1.92 |
1.02 |
configure.ocaml |
no-host |
3,819 |
3,690 |
4,640 |
3,772 |
3,781 |
1.22 |
0.99 |
configure.tcc |
no-host |
48 |
41 |
203 |
48 |
48 |
4.23 |
1.00 |
configure.util-linux |
no-host |
13,868 |
14,699 |
30,996 |
14,150 |
14,175 |
2.24 |
1.02 |
configure.yash |
no-host |
1,825 |
1,738 |
2,413 |
1,796 |
1,795 |
1.32 |
0.98 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
37.73 |
1.89 |
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,574 |
1,108 |
23,693 |
3,173 |
3,084 |
9.20 |
1.23 |
bin-true |
no-host |
104,369 |
66,473 |
769,422 |
128,270 |
126,230 |
7.37 |
1.23 |
configure.cpython |
no-host |
2,231,704 |
2,236,184 |
6,198,708 |
2,223,098 |
2,214,489 |
2.78 |
1.00 |
configure.ocaml |
no-host |
410,218 |
390,323 |
645,699 |
412,673 |
412,398 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,544 |
5,482 |
24,038 |
6,989 |
6,907 |
3.67 |
1.07 |
configure.util-linux |
no-host |
2,108,099 |
2,260,142 |
5,385,975 |
1,993,551 |
1,995,634 |
2.55 |
0.95 |
configure.yash |
no-host |
256,641 |
244,585 |
388,250 |
257,732 |
258,281 |
1.51 |
1.00 |
hello-world |
no-host |
155 |
78 |
3,937 |
346 |
335 |
25.40 |
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.4 |
3,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
811 |
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,119 |
1 |
59 |
14.9 |
27.3 |
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,150 |
2 |
57 |
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,772 |
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.4 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,796 |
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 |
8.9 |
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 |
804 |
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,113 |
1 |
57 |
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,175 |
2 |
57 |
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,781 |
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 |
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,795 |
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.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 |
11 |
9 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
5 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
467 |
406 |
64 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
11 |
11 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
18 |
3 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
659 |
488 |
203 |
3.0 |
bash |
9 |
no-host |
bin-true |
540 |
413 |
137 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,308 |
1,466 |
1,093 |
18.2 |
osh-cpython |
25 |
no-host |
bin-true |
811 |
569 |
256 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
804 |
560 |
256 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,879 |
9,132 |
6,149 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,005 |
9,006 |
6,420 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,498 |
17,540 |
12,750 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,119 |
8,814 |
6,525 |
27.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,113 |
9,056 |
6,196 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,819 |
1,655 |
1,197 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,690 |
1,556 |
1,151 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,640 |
2,302 |
1,543 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,772 |
1,575 |
1,237 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,781 |
1,573 |
1,244 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
32 |
16 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
41 |
23 |
18 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
203 |
160 |
46 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
29 |
19 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
30 |
18 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,868 |
8,777 |
5,548 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,699 |
8,985 |
6,202 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
30,996 |
20,677 |
11,365 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,150 |
8,540 |
5,812 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,175 |
8,477 |
5,896 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,825 |
1,103 |
727 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,738 |
1,045 |
697 |
24.5 |
dash |
22 |
no-host |
configure.yash |
2,413 |
1,396 |
1,057 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,796 |
1,052 |
748 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,795 |
1,036 |
763 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.3 |
dash |
16 |
no-host |
hello-world |
56 |
21 |
34 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.4 |
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,574 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,108 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,693 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,173 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,084 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,369 |
0 |
0 |
0 |
8 |
0 |
1,991 |
39 |
bash |
9 |
no-host |
bin-true |
66,473 |
0 |
0 |
0 |
8 |
0 |
1,992 |
35 |
dash |
17 |
no-host |
bin-true |
769,422 |
0 |
0 |
0 |
8 |
0 |
1,992 |
118 |
osh-cpython |
25 |
no-host |
bin-true |
128,270 |
0 |
0 |
0 |
16 |
0 |
1,991 |
63 |
osh-native |
33 |
no-host |
bin-true |
126,230 |
0 |
0 |
0 |
16 |
0 |
1,992 |
69 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,231,704 |
0 |
0 |
0 |
32,928 |
0 |
14,397 |
1,127 |
bash |
10 |
no-host |
configure.cpython |
2,236,184 |
0 |
0 |
0 |
32,992 |
0 |
14,669 |
963 |
dash |
18 |
no-host |
configure.cpython |
6,198,708 |
0 |
0 |
0 |
27,512 |
0 |
13,195 |
1,079 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,223,098 |
0 |
0 |
0 |
27,520 |
0 |
13,244 |
984 |
osh-native |
34 |
no-host |
configure.cpython |
2,214,489 |
1 |
0 |
0 |
27,520 |
0 |
13,261 |
1,028 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,218 |
0 |
0 |
0 |
5,120 |
0 |
1,953 |
183 |
bash |
12 |
no-host |
configure.ocaml |
390,323 |
0 |
0 |
0 |
5,112 |
0 |
1,883 |
138 |
dash |
20 |
no-host |
configure.ocaml |
645,699 |
0 |
0 |
0 |
5,112 |
0 |
1,859 |
187 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,673 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
180 |
osh-native |
36 |
no-host |
configure.ocaml |
412,398 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
189 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,544 |
0 |
0 |
0 |
104 |
0 |
49 |
4 |
bash |
13 |
no-host |
configure.tcc |
5,482 |
0 |
0 |
0 |
96 |
0 |
47 |
0 |
dash |
21 |
no-host |
configure.tcc |
24,038 |
0 |
0 |
0 |
96 |
0 |
53 |
5 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,989 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,907 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,108,099 |
0 |
0 |
0 |
42,400 |
0 |
18,519 |
1,090 |
bash |
11 |
no-host |
configure.util-linux |
2,260,142 |
2 |
0 |
0 |
42,584 |
0 |
17,445 |
1,106 |
dash |
19 |
no-host |
configure.util-linux |
5,385,975 |
11 |
0 |
0 |
39,120 |
0 |
16,941 |
1,314 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,993,551 |
1 |
0 |
0 |
39,120 |
0 |
16,990 |
986 |
osh-native |
35 |
no-host |
configure.util-linux |
1,995,634 |
2 |
0 |
0 |
39,128 |
0 |
16,959 |
976 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,641 |
0 |
0 |
0 |
4,120 |
0 |
872 |
89 |
bash |
14 |
no-host |
configure.yash |
244,585 |
0 |
0 |
0 |
3,720 |
0 |
866 |
84 |
dash |
22 |
no-host |
configure.yash |
388,250 |
0 |
0 |
0 |
3,728 |
0 |
850 |
92 |
osh-cpython |
30 |
no-host |
configure.yash |
257,732 |
0 |
0 |
0 |
3,736 |
0 |
850 |
63 |
osh-native |
38 |
no-host |
configure.yash |
258,281 |
0 |
0 |
0 |
3,736 |
0 |
850 |
79 |
osh-native-souffle |
0 |
no-host |
hello-world |
155 |
0 |
0 |
0 |
8 |
0 |
1 |
1 |
bash |
8 |
no-host |
hello-world |
78 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,937 |
0 |
0 |
0 |
8 |
0 |
7 |
6 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
335 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host