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 |
480 |
23 |
21 |
24.65 |
1.18 |
bin-true |
no-host |
670 |
550 |
2,353 |
829 |
829 |
3.51 |
1.24 |
configure.cpython |
no-host |
15,570 |
15,731 |
30,352 |
15,964 |
16,187 |
1.95 |
1.03 |
configure.ocaml |
no-host |
3,941 |
3,867 |
4,813 |
3,972 |
3,991 |
1.22 |
1.01 |
configure.tcc |
no-host |
50 |
43 |
208 |
51 |
50 |
4.20 |
1.02 |
configure.util-linux |
no-host |
14,500 |
15,466 |
32,815 |
15,186 |
15,110 |
2.26 |
1.05 |
configure.yash |
no-host |
1,915 |
1,840 |
2,555 |
1,918 |
1,882 |
1.33 |
1.00 |
hello-world |
no-host |
2 |
1 |
60 |
3 |
3 |
37.75 |
1.84 |
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,551 |
1,078 |
23,810 |
3,205 |
3,094 |
9.33 |
1.26 |
bin-true |
no-host |
104,248 |
65,383 |
773,554 |
126,220 |
125,186 |
7.42 |
1.21 |
configure.cpython |
no-host |
2,215,515 |
2,244,077 |
6,240,777 |
2,214,950 |
2,211,446 |
2.82 |
1.00 |
configure.ocaml |
no-host |
410,872 |
390,849 |
647,375 |
412,889 |
413,039 |
1.58 |
1.00 |
configure.tcc |
no-host |
6,549 |
5,482 |
24,119 |
6,951 |
6,899 |
3.68 |
1.06 |
configure.util-linux |
no-host |
2,104,936 |
2,257,726 |
5,391,723 |
1,994,167 |
1,992,108 |
2.56 |
0.95 |
configure.yash |
no-host |
256,243 |
244,592 |
389,401 |
257,712 |
257,697 |
1.52 |
1.01 |
hello-world |
no-host |
152 |
82 |
3,942 |
345 |
338 |
25.93 |
2.27 |
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 |
829 |
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,964 |
1 |
67 |
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 |
15,186 |
3 |
66 |
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,972 |
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,918 |
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 |
23 |
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 |
829 |
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 |
16,187 |
2 |
68 |
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 |
15,110 |
3 |
68 |
21.2 |
30.0 |
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,991 |
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 |
50 |
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,882 |
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.4 |
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 |
18 |
2 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
9 |
2 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
480 |
431 |
53 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
11 |
13 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
15 |
6 |
8.4 |
osh-native-souffle |
1 |
no-host |
bin-true |
670 |
509 |
191 |
3.0 |
bash |
9 |
no-host |
bin-true |
550 |
429 |
132 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,353 |
1,514 |
1,110 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
829 |
573 |
269 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
829 |
587 |
253 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,570 |
9,402 |
6,574 |
27.5 |
bash |
10 |
no-host |
configure.cpython |
15,731 |
9,518 |
6,645 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
30,352 |
18,503 |
13,830 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,964 |
9,312 |
6,922 |
27.1 |
osh-native |
34 |
no-host |
configure.cpython |
16,187 |
9,404 |
6,898 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,941 |
1,765 |
1,213 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,867 |
1,674 |
1,212 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,813 |
2,310 |
1,721 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,972 |
1,644 |
1,365 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,991 |
1,660 |
1,368 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
50 |
24 |
26 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
43 |
18 |
25 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
208 |
153 |
59 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
51 |
29 |
22 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
50 |
29 |
22 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,500 |
9,074 |
5,913 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
15,466 |
9,390 |
6,562 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
32,815 |
21,741 |
12,220 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
15,186 |
9,235 |
6,149 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
15,110 |
8,887 |
6,406 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,915 |
1,049 |
870 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,840 |
1,088 |
755 |
24.5 |
dash |
22 |
no-host |
configure.yash |
2,555 |
1,552 |
1,044 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,918 |
1,103 |
820 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,882 |
1,106 |
779 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
16 |
no-host |
hello-world |
60 |
28 |
31 |
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,551 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,078 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,810 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,205 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,094 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,248 |
0 |
0 |
0 |
8 |
0 |
1,990 |
68 |
bash |
9 |
no-host |
bin-true |
65,383 |
0 |
0 |
0 |
8 |
0 |
1,991 |
50 |
dash |
17 |
no-host |
bin-true |
773,554 |
0 |
0 |
0 |
8 |
0 |
2,002 |
227 |
osh-cpython |
25 |
no-host |
bin-true |
126,220 |
0 |
0 |
0 |
16 |
0 |
1,987 |
200 |
osh-native |
33 |
no-host |
bin-true |
125,186 |
0 |
0 |
0 |
16 |
0 |
1,989 |
66 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,215,515 |
0 |
0 |
0 |
32,928 |
0 |
14,502 |
1,016 |
bash |
10 |
no-host |
configure.cpython |
2,244,077 |
0 |
0 |
0 |
32,992 |
0 |
14,669 |
1,216 |
dash |
18 |
no-host |
configure.cpython |
6,240,777 |
0 |
0 |
0 |
27,512 |
0 |
13,261 |
1,278 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,214,950 |
0 |
0 |
0 |
27,520 |
0 |
13,225 |
1,054 |
osh-native |
34 |
no-host |
configure.cpython |
2,211,446 |
0 |
0 |
0 |
27,520 |
0 |
13,267 |
945 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,872 |
0 |
0 |
0 |
5,120 |
0 |
1,960 |
144 |
bash |
12 |
no-host |
configure.ocaml |
390,849 |
0 |
0 |
0 |
5,112 |
0 |
1,903 |
157 |
dash |
20 |
no-host |
configure.ocaml |
647,375 |
0 |
0 |
0 |
5,112 |
0 |
1,856 |
184 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,889 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
165 |
osh-native |
36 |
no-host |
configure.ocaml |
413,039 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
260 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,549 |
0 |
0 |
0 |
104 |
0 |
48 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,482 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
24,119 |
0 |
0 |
0 |
96 |
0 |
53 |
9 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,951 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,899 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,104,936 |
2 |
0 |
0 |
42,400 |
0 |
18,527 |
1,008 |
bash |
11 |
no-host |
configure.util-linux |
2,257,726 |
1 |
0 |
0 |
42,592 |
0 |
17,529 |
1,021 |
dash |
19 |
no-host |
configure.util-linux |
5,391,723 |
4 |
0 |
0 |
39,128 |
0 |
16,952 |
1,205 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,994,167 |
1 |
0 |
0 |
39,128 |
0 |
16,959 |
905 |
osh-native |
35 |
no-host |
configure.util-linux |
1,992,108 |
0 |
0 |
0 |
39,136 |
0 |
16,942 |
936 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,243 |
0 |
0 |
0 |
4,120 |
0 |
866 |
74 |
bash |
14 |
no-host |
configure.yash |
244,592 |
0 |
0 |
0 |
3,720 |
0 |
868 |
77 |
dash |
22 |
no-host |
configure.yash |
389,401 |
0 |
0 |
0 |
3,728 |
0 |
852 |
91 |
osh-cpython |
30 |
no-host |
configure.yash |
257,712 |
0 |
0 |
0 |
3,736 |
0 |
849 |
78 |
osh-native |
38 |
no-host |
configure.yash |
257,697 |
0 |
0 |
0 |
3,736 |
0 |
854 |
72 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
0 |
1 |
bash |
8 |
no-host |
hello-world |
82 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,942 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
338 |
0 |
0 |
0 |
16 |
0 |
0 |
0 |
osh-native-souffle |
Shell and Host