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 |
9 |
477 |
22 |
21 |
24.22 |
1.14 |
bin-true |
no-host |
679 |
548 |
2,361 |
822 |
811 |
3.48 |
1.21 |
configure.cpython |
no-host |
15,584 |
15,751 |
30,046 |
15,811 |
15,798 |
1.93 |
1.01 |
configure.ocaml |
no-host |
3,932 |
3,828 |
4,784 |
3,919 |
3,907 |
1.22 |
1.00 |
configure.tcc |
no-host |
49 |
42 |
212 |
51 |
49 |
4.29 |
1.04 |
configure.util-linux |
no-host |
14,615 |
15,454 |
32,638 |
14,757 |
14,725 |
2.23 |
1.01 |
configure.yash |
no-host |
1,881 |
1,818 |
2,573 |
1,889 |
1,898 |
1.37 |
1.00 |
hello-world |
no-host |
2 |
1 |
65 |
3 |
3 |
41.38 |
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,531 |
1,105 |
23,685 |
3,195 |
3,058 |
9.36 |
1.26 |
bin-true |
no-host |
104,401 |
66,376 |
773,662 |
125,244 |
123,215 |
7.41 |
1.20 |
configure.cpython |
no-host |
2,220,696 |
2,247,049 |
6,215,796 |
2,220,652 |
2,206,172 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,447 |
391,202 |
647,559 |
412,585 |
412,900 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,534 |
5,471 |
24,104 |
6,985 |
6,919 |
3.69 |
1.07 |
configure.util-linux |
no-host |
2,099,761 |
2,267,267 |
5,381,623 |
1,990,332 |
1,990,851 |
2.56 |
0.95 |
configure.yash |
no-host |
255,617 |
243,550 |
388,577 |
258,206 |
257,145 |
1.52 |
1.01 |
hello-world |
no-host |
150 |
82 |
3,943 |
344 |
336 |
26.29 |
2.29 |
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 |
822 |
1 |
2 |
2.6 |
8.1 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,811 |
1 |
65 |
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,757 |
3 |
64 |
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,919 |
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 |
51 |
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,889 |
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.8 |
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 |
811 |
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,798 |
1 |
63 |
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,725 |
3 |
63 |
21.2 |
30.3 |
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,907 |
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 |
49 |
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,898 |
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.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
8 |
1 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
477 |
435 |
44 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
11 |
12 |
8.8 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
15 |
7 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
679 |
492 |
216 |
2.9 |
bash |
9 |
no-host |
bin-true |
548 |
422 |
133 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,361 |
1,523 |
1,115 |
18.2 |
osh-cpython |
25 |
no-host |
bin-true |
822 |
569 |
267 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
811 |
594 |
232 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,584 |
9,235 |
6,761 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,751 |
9,438 |
6,738 |
29.1 |
dash |
18 |
no-host |
configure.cpython |
30,046 |
18,078 |
13,965 |
27.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,811 |
9,238 |
6,851 |
27.1 |
osh-native |
34 |
no-host |
configure.cpython |
15,798 |
9,229 |
6,718 |
27.5 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,932 |
1,728 |
1,242 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,828 |
1,568 |
1,282 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,784 |
2,323 |
1,679 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,919 |
1,701 |
1,258 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,907 |
1,600 |
1,345 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
32 |
18 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
42 |
31 |
12 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
212 |
141 |
74 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
51 |
39 |
13 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
28 |
21 |
19.1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,615 |
9,108 |
5,986 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
15,454 |
9,293 |
6,663 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
32,638 |
21,596 |
12,191 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,757 |
8,872 |
6,085 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,725 |
8,872 |
6,052 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,881 |
1,140 |
750 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,818 |
1,048 |
775 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,573 |
1,568 |
1,051 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,889 |
1,076 |
817 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,898 |
1,034 |
868 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.6 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
65 |
38 |
26 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
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,531 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,105 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,685 |
0 |
0 |
0 |
8 |
0 |
45 |
12 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,195 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,058 |
0 |
0 |
0 |
16 |
0 |
39 |
4 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,401 |
0 |
0 |
0 |
8 |
0 |
1,990 |
50 |
bash |
9 |
no-host |
bin-true |
66,376 |
0 |
0 |
0 |
8 |
0 |
1,986 |
59 |
dash |
17 |
no-host |
bin-true |
773,662 |
0 |
0 |
0 |
8 |
0 |
1,989 |
131 |
osh-cpython |
25 |
no-host |
bin-true |
125,244 |
0 |
0 |
0 |
16 |
0 |
1,983 |
157 |
osh-native |
33 |
no-host |
bin-true |
123,215 |
0 |
0 |
0 |
16 |
0 |
1,991 |
58 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,220,696 |
1 |
0 |
0 |
32,928 |
0 |
14,404 |
1,056 |
bash |
10 |
no-host |
configure.cpython |
2,247,049 |
0 |
0 |
0 |
32,992 |
0 |
14,617 |
960 |
dash |
18 |
no-host |
configure.cpython |
6,215,796 |
0 |
0 |
0 |
27,512 |
0 |
13,276 |
1,204 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,220,652 |
0 |
0 |
0 |
27,520 |
0 |
13,243 |
1,088 |
osh-native |
34 |
no-host |
configure.cpython |
2,206,172 |
0 |
0 |
0 |
27,520 |
0 |
13,244 |
986 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,447 |
0 |
0 |
0 |
5,120 |
0 |
1,950 |
281 |
bash |
12 |
no-host |
configure.ocaml |
391,202 |
0 |
0 |
0 |
5,112 |
0 |
1,934 |
135 |
dash |
20 |
no-host |
configure.ocaml |
647,559 |
0 |
0 |
0 |
5,112 |
0 |
1,851 |
170 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,585 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
184 |
osh-native |
36 |
no-host |
configure.ocaml |
412,900 |
0 |
0 |
0 |
5,120 |
0 |
1,930 |
148 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,534 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,471 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
24,104 |
0 |
0 |
0 |
96 |
0 |
53 |
10 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,985 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,919 |
0 |
0 |
0 |
104 |
0 |
46 |
5 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,099,761 |
0 |
0 |
0 |
42,408 |
0 |
18,497 |
1,123 |
bash |
11 |
no-host |
configure.util-linux |
2,267,267 |
0 |
0 |
0 |
42,592 |
0 |
17,409 |
1,088 |
dash |
19 |
no-host |
configure.util-linux |
5,381,623 |
5 |
0 |
0 |
39,112 |
0 |
16,965 |
1,229 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,990,332 |
0 |
0 |
0 |
39,128 |
0 |
16,950 |
886 |
osh-native |
35 |
no-host |
configure.util-linux |
1,990,851 |
1 |
0 |
0 |
39,136 |
0 |
16,914 |
953 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,617 |
0 |
0 |
0 |
4,120 |
0 |
871 |
93 |
bash |
14 |
no-host |
configure.yash |
243,550 |
0 |
0 |
0 |
3,720 |
0 |
869 |
99 |
dash |
22 |
no-host |
configure.yash |
388,577 |
0 |
0 |
0 |
3,728 |
0 |
851 |
101 |
osh-cpython |
30 |
no-host |
configure.yash |
258,206 |
0 |
0 |
0 |
3,736 |
0 |
846 |
75 |
osh-native |
38 |
no-host |
configure.yash |
257,145 |
0 |
0 |
0 |
3,736 |
0 |
848 |
81 |
osh-native-souffle |
0 |
no-host |
hello-world |
150 |
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,943 |
0 |
0 |
0 |
8 |
0 |
9 |
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