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 |
482 |
22 |
21 |
25.48 |
1.15 |
bin-true |
no-host |
681 |
546 |
2,328 |
818 |
804 |
3.42 |
1.20 |
configure.cpython |
no-host |
15,146 |
15,290 |
29,600 |
15,500 |
15,579 |
1.95 |
1.02 |
configure.ocaml |
no-host |
3,838 |
3,828 |
4,754 |
3,865 |
3,867 |
1.24 |
1.01 |
configure.tcc |
no-host |
49 |
43 |
208 |
50 |
49 |
4.22 |
1.01 |
configure.util-linux |
no-host |
14,170 |
15,059 |
32,136 |
14,666 |
14,432 |
2.27 |
1.04 |
configure.yash |
no-host |
1,827 |
1,800 |
2,503 |
1,851 |
1,857 |
1.37 |
1.01 |
hello-world |
no-host |
2 |
1 |
58 |
3 |
3 |
35.95 |
1.78 |
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,543 |
1,115 |
23,852 |
3,198 |
3,104 |
9.38 |
1.26 |
bin-true |
no-host |
105,389 |
66,395 |
771,540 |
128,222 |
123,263 |
7.32 |
1.22 |
configure.cpython |
no-host |
2,221,295 |
2,234,039 |
6,242,734 |
2,219,790 |
2,206,966 |
2.81 |
1.00 |
configure.ocaml |
no-host |
410,746 |
391,241 |
647,943 |
413,122 |
412,561 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,570 |
5,488 |
24,124 |
6,959 |
6,908 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,102,818 |
2,267,143 |
5,390,622 |
1,996,639 |
1,991,230 |
2.56 |
0.95 |
configure.yash |
no-host |
256,142 |
245,134 |
388,802 |
258,141 |
257,122 |
1.52 |
1.01 |
hello-world |
no-host |
155 |
80 |
3,935 |
343 |
338 |
25.39 |
2.21 |
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 |
818 |
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,500 |
1 |
64 |
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,666 |
3 |
63 |
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,865 |
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 |
50 |
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,851 |
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 |
804 |
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,579 |
1 |
62 |
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,432 |
3 |
60 |
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,867 |
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.4 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,857 |
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 |
16 |
3 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
5 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
482 |
443 |
42 |
22.8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
19 |
3 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
20 |
2 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
681 |
508 |
202 |
3.0 |
bash |
9 |
no-host |
bin-true |
546 |
420 |
137 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,328 |
1,500 |
1,094 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
818 |
605 |
230 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
804 |
563 |
254 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,146 |
9,182 |
6,369 |
27.3 |
bash |
10 |
no-host |
configure.cpython |
15,290 |
9,203 |
6,504 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,600 |
17,999 |
13,524 |
27.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,500 |
9,204 |
6,565 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,579 |
8,948 |
6,754 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,838 |
1,623 |
1,253 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,828 |
1,627 |
1,221 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,754 |
2,323 |
1,642 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,865 |
1,648 |
1,256 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,867 |
1,693 |
1,211 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
23 |
27 |
19.1 |
bash |
13 |
no-host |
configure.tcc |
43 |
26 |
18 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
208 |
151 |
60 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
30 |
20 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
25 |
24 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,170 |
8,963 |
5,694 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
15,059 |
9,028 |
6,534 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
32,136 |
21,421 |
11,830 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,666 |
8,852 |
6,010 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,432 |
8,752 |
5,876 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,827 |
993 |
843 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,800 |
1,089 |
715 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,503 |
1,508 |
1,037 |
24.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,851 |
1,114 |
741 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,857 |
1,036 |
825 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
58 |
37 |
21 |
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,543 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,115 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,852 |
0 |
0 |
0 |
8 |
0 |
45 |
8 |
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,104 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,389 |
0 |
0 |
0 |
8 |
0 |
1,989 |
66 |
bash |
9 |
no-host |
bin-true |
66,395 |
0 |
0 |
0 |
8 |
0 |
1,979 |
38 |
dash |
17 |
no-host |
bin-true |
771,540 |
0 |
0 |
0 |
8 |
0 |
1,999 |
182 |
osh-cpython |
25 |
no-host |
bin-true |
128,222 |
0 |
0 |
0 |
16 |
0 |
1,991 |
44 |
osh-native |
33 |
no-host |
bin-true |
123,263 |
0 |
0 |
0 |
16 |
0 |
1,997 |
98 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,221,295 |
0 |
0 |
0 |
32,928 |
0 |
14,517 |
993 |
bash |
10 |
no-host |
configure.cpython |
2,234,039 |
0 |
0 |
0 |
32,992 |
0 |
14,605 |
968 |
dash |
18 |
no-host |
configure.cpython |
6,242,734 |
0 |
0 |
0 |
27,512 |
0 |
13,251 |
1,163 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,219,790 |
0 |
0 |
0 |
27,520 |
0 |
13,174 |
1,075 |
osh-native |
34 |
no-host |
configure.cpython |
2,206,966 |
0 |
0 |
0 |
27,520 |
0 |
13,246 |
1,032 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,746 |
0 |
0 |
0 |
5,120 |
0 |
1,944 |
150 |
bash |
12 |
no-host |
configure.ocaml |
391,241 |
0 |
0 |
0 |
5,112 |
0 |
1,923 |
146 |
dash |
20 |
no-host |
configure.ocaml |
647,943 |
0 |
0 |
0 |
5,112 |
0 |
1,856 |
169 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,122 |
0 |
0 |
0 |
5,120 |
0 |
1,921 |
170 |
osh-native |
36 |
no-host |
configure.ocaml |
412,561 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
159 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,570 |
0 |
0 |
0 |
104 |
0 |
49 |
4 |
bash |
13 |
no-host |
configure.tcc |
5,488 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,124 |
0 |
0 |
0 |
96 |
0 |
53 |
8 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,959 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,908 |
0 |
0 |
0 |
104 |
0 |
46 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,102,818 |
0 |
0 |
0 |
42,400 |
0 |
18,712 |
1,005 |
bash |
11 |
no-host |
configure.util-linux |
2,267,143 |
0 |
0 |
0 |
42,584 |
0 |
17,424 |
1,052 |
dash |
19 |
no-host |
configure.util-linux |
5,390,622 |
8 |
0 |
0 |
39,112 |
0 |
16,988 |
1,211 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,996,639 |
0 |
0 |
0 |
39,128 |
0 |
16,957 |
901 |
osh-native |
35 |
no-host |
configure.util-linux |
1,991,230 |
1 |
0 |
0 |
39,136 |
0 |
16,989 |
941 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,142 |
0 |
0 |
0 |
4,120 |
0 |
869 |
74 |
bash |
14 |
no-host |
configure.yash |
245,134 |
0 |
0 |
0 |
3,720 |
0 |
868 |
71 |
dash |
22 |
no-host |
configure.yash |
388,802 |
0 |
0 |
0 |
3,728 |
0 |
853 |
92 |
osh-cpython |
30 |
no-host |
configure.yash |
258,141 |
0 |
0 |
0 |
3,736 |
0 |
849 |
64 |
osh-native |
38 |
no-host |
configure.yash |
257,122 |
0 |
0 |
0 |
3,736 |
0 |
854 |
82 |
osh-native-souffle |
0 |
no-host |
hello-world |
155 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
80 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,935 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
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 |
0 |
1 |
osh-native-souffle |
Shell and Host