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 |
34 |
22 |
570 |
36 |
28 |
16.60 |
1.06 |
| bin-true |
no-host |
971 |
853 |
3,398 |
1,108 |
1,045 |
3.50 |
1.14 |
| configure.cpython |
no-host |
19,926 |
22,252 |
38,571 |
19,686 |
19,550 |
1.94 |
0.99 |
| configure.ocaml |
no-host |
4,702 |
4,623 |
5,541 |
4,643 |
4,727 |
1.18 |
0.99 |
| configure.tcc |
no-host |
62 |
55 |
252 |
57 |
68 |
4.05 |
0.91 |
| configure.util-linux |
no-host |
18,978 |
20,403 |
40,185 |
18,603 |
19,039 |
2.12 |
0.98 |
| configure.yash |
no-host |
2,347 |
2,434 |
3,106 |
2,296 |
2,337 |
1.32 |
0.98 |
| hello-world |
no-host |
2 |
1 |
73 |
5 |
3 |
41.25 |
2.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,531 |
1,127 |
23,765 |
3,185 |
3,068 |
9.39 |
1.26 |
| bin-true |
no-host |
106,316 |
66,413 |
769,559 |
128,254 |
126,232 |
7.24 |
1.21 |
| configure.cpython |
no-host |
2,229,036 |
2,246,278 |
6,242,695 |
2,219,867 |
2,211,016 |
2.80 |
1.00 |
| configure.ocaml |
no-host |
410,337 |
390,852 |
647,578 |
413,217 |
412,169 |
1.58 |
1.01 |
| configure.tcc |
no-host |
6,570 |
5,474 |
24,112 |
6,949 |
6,880 |
3.67 |
1.06 |
| configure.util-linux |
no-host |
2,101,429 |
2,265,278 |
5,398,455 |
1,993,448 |
1,991,937 |
2.57 |
0.95 |
| configure.yash |
no-host |
256,146 |
244,639 |
388,347 |
258,271 |
258,382 |
1.52 |
1.01 |
| hello-world |
no-host |
153 |
81 |
3,939 |
340 |
339 |
25.75 |
2.22 |
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 |
5 |
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 |
1,108 |
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 |
19,686 |
3 |
76 |
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 |
18,603 |
7 |
81 |
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 |
4,643 |
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 |
57 |
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 |
2,296 |
2 |
4 |
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 |
36 |
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 |
6.0 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
1,045 |
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 |
19,550 |
4 |
77 |
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 |
19,039 |
8 |
90 |
21.2 |
29.9 |
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 |
4,727 |
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 |
68 |
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 |
2,337 |
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 |
28 |
1 |
3 |
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 |
34 |
19 |
10 |
4.3 |
bash |
| 15 |
no-host |
abuild-print-help |
22 |
6 |
11 |
3.5 |
dash |
| 23 |
no-host |
abuild-print-help |
570 |
475 |
91 |
22.7 |
osh-cpython |
| 31 |
no-host |
abuild-print-help |
36 |
25 |
10 |
9.2 |
osh-native |
| 39 |
no-host |
abuild-print-help |
28 |
16 |
12 |
8.5 |
osh-native-souffle |
| 1 |
no-host |
bin-true |
971 |
606 |
341 |
3.0 |
bash |
| 9 |
no-host |
bin-true |
853 |
512 |
245 |
1.4 |
dash |
| 17 |
no-host |
bin-true |
3,398 |
1,894 |
1,743 |
18.2 |
osh-cpython |
| 25 |
no-host |
bin-true |
1,108 |
672 |
383 |
8.1 |
osh-native |
| 33 |
no-host |
bin-true |
1,045 |
636 |
380 |
7.6 |
osh-native-souffle |
| 2 |
no-host |
configure.cpython |
19,926 |
10,867 |
9,080 |
27.4 |
bash |
| 10 |
no-host |
configure.cpython |
22,252 |
11,983 |
10,224 |
27.5 |
dash |
| 18 |
no-host |
configure.cpython |
38,571 |
22,635 |
18,029 |
27.4 |
osh-cpython |
| 26 |
no-host |
configure.cpython |
19,686 |
10,999 |
8,685 |
27.4 |
osh-native |
| 34 |
no-host |
configure.cpython |
19,550 |
10,660 |
8,791 |
27.5 |
osh-native-souffle |
| 4 |
no-host |
configure.ocaml |
4,702 |
1,908 |
1,802 |
20.6 |
bash |
| 12 |
no-host |
configure.ocaml |
4,623 |
1,939 |
1,679 |
20.4 |
dash |
| 20 |
no-host |
configure.ocaml |
5,541 |
2,603 |
2,148 |
20.6 |
osh-cpython |
| 28 |
no-host |
configure.ocaml |
4,643 |
1,944 |
1,695 |
20.6 |
osh-native |
| 36 |
no-host |
configure.ocaml |
4,727 |
2,058 |
1,674 |
20.6 |
osh-native-souffle |
| 5 |
no-host |
configure.tcc |
62 |
36 |
26 |
19.3 |
bash |
| 13 |
no-host |
configure.tcc |
55 |
25 |
30 |
19.3 |
dash |
| 21 |
no-host |
configure.tcc |
252 |
182 |
74 |
19.1 |
osh-cpython |
| 29 |
no-host |
configure.tcc |
57 |
31 |
26 |
19.3 |
osh-native |
| 37 |
no-host |
configure.tcc |
68 |
36 |
30 |
19.3 |
osh-native-souffle |
| 3 |
no-host |
configure.util-linux |
18,978 |
10,753 |
8,254 |
30.4 |
bash |
| 11 |
no-host |
configure.util-linux |
20,403 |
11,267 |
9,295 |
30.1 |
dash |
| 19 |
no-host |
configure.util-linux |
40,185 |
25,721 |
15,424 |
30.1 |
osh-cpython |
| 27 |
no-host |
configure.util-linux |
18,603 |
10,449 |
7,977 |
30.1 |
osh-native |
| 35 |
no-host |
configure.util-linux |
19,039 |
10,385 |
8,422 |
29.9 |
osh-native-souffle |
| 6 |
no-host |
configure.yash |
2,347 |
1,285 |
1,038 |
24.5 |
bash |
| 14 |
no-host |
configure.yash |
2,434 |
1,273 |
1,137 |
24.2 |
dash |
| 22 |
no-host |
configure.yash |
3,106 |
1,865 |
1,255 |
24.4 |
osh-cpython |
| 30 |
no-host |
configure.yash |
2,296 |
1,333 |
941 |
24.4 |
osh-native |
| 38 |
no-host |
configure.yash |
2,337 |
1,263 |
1,063 |
24.4 |
osh-native-souffle |
| 0 |
no-host |
hello-world |
2 |
2 |
0 |
2.9 |
bash |
| 8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
| 16 |
no-host |
hello-world |
73 |
41 |
32 |
18.2 |
osh-cpython |
| 24 |
no-host |
hello-world |
5 |
5 |
0 |
6.3 |
osh-native |
| 32 |
no-host |
hello-world |
3 |
0 |
3 |
6.0 |
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 |
39 |
6 |
bash |
| 15 |
no-host |
abuild-print-help |
1,127 |
0 |
0 |
0 |
8 |
0 |
39 |
2 |
dash |
| 23 |
no-host |
abuild-print-help |
23,765 |
0 |
0 |
0 |
8 |
0 |
43 |
8 |
osh-cpython |
| 31 |
no-host |
abuild-print-help |
3,185 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
| 39 |
no-host |
abuild-print-help |
3,068 |
0 |
0 |
0 |
16 |
0 |
38 |
0 |
osh-native-souffle |
| 1 |
no-host |
bin-true |
106,316 |
0 |
0 |
0 |
8 |
0 |
1,987 |
94 |
bash |
| 9 |
no-host |
bin-true |
66,413 |
0 |
0 |
0 |
8 |
0 |
1,986 |
94 |
dash |
| 17 |
no-host |
bin-true |
769,559 |
0 |
0 |
0 |
8 |
0 |
1,991 |
343 |
osh-cpython |
| 25 |
no-host |
bin-true |
128,254 |
0 |
0 |
0 |
16 |
0 |
1,988 |
185 |
osh-native |
| 33 |
no-host |
bin-true |
126,232 |
0 |
0 |
0 |
16 |
0 |
1,989 |
73 |
osh-native-souffle |
| 2 |
no-host |
configure.cpython |
2,229,036 |
1 |
0 |
0 |
32,928 |
0 |
14,386 |
1,168 |
bash |
| 10 |
no-host |
configure.cpython |
2,246,278 |
2 |
0 |
0 |
32,992 |
0 |
14,288 |
1,203 |
dash |
| 18 |
no-host |
configure.cpython |
6,242,695 |
0 |
0 |
0 |
27,536 |
0 |
13,245 |
1,317 |
osh-cpython |
| 26 |
no-host |
configure.cpython |
2,219,867 |
0 |
0 |
0 |
27,520 |
0 |
13,224 |
1,135 |
osh-native |
| 34 |
no-host |
configure.cpython |
2,211,016 |
0 |
0 |
0 |
27,520 |
0 |
13,296 |
1,074 |
osh-native-souffle |
| 4 |
no-host |
configure.ocaml |
410,337 |
0 |
0 |
0 |
5,120 |
0 |
1,941 |
196 |
bash |
| 12 |
no-host |
configure.ocaml |
390,852 |
0 |
0 |
0 |
5,112 |
0 |
1,930 |
196 |
dash |
| 20 |
no-host |
configure.ocaml |
647,578 |
0 |
0 |
0 |
5,112 |
0 |
1,866 |
188 |
osh-cpython |
| 28 |
no-host |
configure.ocaml |
413,217 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
176 |
osh-native |
| 36 |
no-host |
configure.ocaml |
412,169 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
270 |
osh-native-souffle |
| 5 |
no-host |
configure.tcc |
6,570 |
0 |
0 |
0 |
104 |
0 |
50 |
7 |
bash |
| 13 |
no-host |
configure.tcc |
5,474 |
0 |
0 |
0 |
96 |
0 |
47 |
0 |
dash |
| 21 |
no-host |
configure.tcc |
24,112 |
0 |
0 |
0 |
96 |
0 |
51 |
13 |
osh-cpython |
| 29 |
no-host |
configure.tcc |
6,949 |
0 |
0 |
0 |
104 |
0 |
47 |
5 |
osh-native |
| 37 |
no-host |
configure.tcc |
6,880 |
0 |
0 |
0 |
104 |
0 |
46 |
3 |
osh-native-souffle |
| 3 |
no-host |
configure.util-linux |
2,101,429 |
2 |
0 |
0 |
42,408 |
0 |
18,328 |
1,354 |
bash |
| 11 |
no-host |
configure.util-linux |
2,265,278 |
1 |
0 |
0 |
42,584 |
0 |
17,144 |
1,302 |
dash |
| 19 |
no-host |
configure.util-linux |
5,398,455 |
2 |
0 |
0 |
39,160 |
0 |
16,829 |
1,497 |
osh-cpython |
| 27 |
no-host |
configure.util-linux |
1,993,448 |
1 |
0 |
0 |
39,120 |
0 |
16,544 |
1,249 |
osh-native |
| 35 |
no-host |
configure.util-linux |
1,991,937 |
1 |
0 |
0 |
39,128 |
0 |
16,712 |
1,168 |
osh-native-souffle |
| 6 |
no-host |
configure.yash |
256,146 |
0 |
0 |
0 |
4,120 |
0 |
872 |
82 |
bash |
| 14 |
no-host |
configure.yash |
244,639 |
0 |
0 |
0 |
3,720 |
0 |
866 |
240 |
dash |
| 22 |
no-host |
configure.yash |
388,347 |
0 |
0 |
0 |
3,728 |
0 |
852 |
116 |
osh-cpython |
| 30 |
no-host |
configure.yash |
258,271 |
0 |
0 |
0 |
3,736 |
0 |
848 |
117 |
osh-native |
| 38 |
no-host |
configure.yash |
258,382 |
0 |
0 |
0 |
3,736 |
0 |
849 |
106 |
osh-native-souffle |
| 0 |
no-host |
hello-world |
153 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
81 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
3,939 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
| 24 |
no-host |
hello-world |
340 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 32 |
no-host |
hello-world |
339 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host