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-native |
osh-nosouffle |
osh-static |
osh bash ratio |
static bash ratio |
| abuild-print-help |
no-host |
15 |
9 |
20 |
21 |
18 |
1.31 |
1.18 |
| bin-true |
no-host |
610 |
440 |
793 |
798 |
655 |
1.30 |
1.07 |
| configure.cpython |
no-host |
13,610 |
13,662 |
13,310 |
13,490 |
12,958 |
0.98 |
0.95 |
| configure.ocaml |
no-host |
3,640 |
3,600 |
3,715 |
3,687 |
3,632 |
1.02 |
1.00 |
| configure.tcc |
no-host |
45 |
41 |
46 |
48 |
43 |
1.02 |
0.95 |
| configure.util-linux |
no-host |
12,479 |
13,173 |
12,450 |
12,545 |
12,085 |
1.00 |
0.97 |
| configure.yash |
no-host |
1,666 |
1,633 |
1,679 |
1,694 |
1,651 |
1.01 |
0.99 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.34 |
1.02 |
Minor Page Faults
| workload |
host name |
bash |
dash |
osh-native |
osh-nosouffle |
osh-static |
osh bash ratio |
static bash ratio |
| abuild-print-help |
no-host |
2,405 |
1,188 |
3,323 |
3,423 |
2,829 |
1.38 |
1.18 |
| bin-true |
no-host |
99,457 |
49,373 |
131,353 |
130,998 |
111,044 |
1.32 |
1.12 |
| configure.cpython |
no-host |
1,624,923 |
1,636,522 |
1,579,640 |
1,600,694 |
1,522,641 |
0.97 |
0.94 |
| configure.ocaml |
no-host |
298,571 |
280,722 |
306,010 |
306,478 |
300,817 |
1.02 |
1.01 |
| configure.tcc |
no-host |
5,220 |
4,220 |
5,602 |
5,693 |
5,139 |
1.07 |
0.98 |
| configure.util-linux |
no-host |
1,537,629 |
1,696,962 |
1,503,709 |
1,524,274 |
1,465,952 |
0.98 |
0.95 |
| configure.yash |
no-host |
173,386 |
159,529 |
176,721 |
177,448 |
173,233 |
1.02 |
1.00 |
| hello-world |
no-host |
154 |
88 |
389 |
401 |
181 |
2.53 |
1.18 |
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.3 |
6.7 |
3,897 |
3,897 |
0 |
716 |
1,916 |
1,265 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
793 |
1 |
2 |
3.5 |
8.8 |
151,882 |
10,751 |
2,965 |
14,775 |
72,390 |
64,717 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,310 |
1 |
66 |
14.8 |
34.3 |
1,750,774 |
35,379 |
28,936 |
93,071 |
869,737 |
787,966 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,450 |
3 |
67 |
21.6 |
39.9 |
2,705,310 |
37,451 |
66,324 |
119,739 |
1,291,832 |
1,293,739 |
32,527 |
42 |
132,648 |
1 |
| configure.ocaml |
no-host |
3,715 |
1 |
2 |
2.8 |
28.7 |
149,682 |
12,643 |
6,558 |
9,207 |
70,290 |
70,185 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
46 |
0 |
0 |
1.4 |
26.1 |
30,531 |
30,531 |
0 |
1,674 |
14,467 |
14,390 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,679 |
1 |
2 |
2.7 |
33.3 |
143,445 |
11,457 |
6,613 |
7,159 |
70,512 |
65,774 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
20 |
1 |
2 |
3.0 |
9.4 |
117,213 |
65,785 |
41,995 |
4,969 |
54,592 |
57,652 |
277 |
3 |
83,990 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
7.1 |
3,896 |
3,896 |
0 |
715 |
1,916 |
1,265 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
798 |
1 |
2 |
3.5 |
9.2 |
151,882 |
10,755 |
2,969 |
14,775 |
72,390 |
64,717 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,490 |
1 |
69 |
14.8 |
34.5 |
1,750,773 |
35,384 |
28,941 |
93,070 |
869,737 |
787,966 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,545 |
3 |
67 |
21.6 |
39.5 |
2,705,310 |
37,457 |
66,330 |
119,739 |
1,291,832 |
1,293,739 |
32,527 |
42 |
132,660 |
1 |
| configure.ocaml |
no-host |
3,687 |
1 |
2 |
2.8 |
28.8 |
149,682 |
12,648 |
6,563 |
9,207 |
70,290 |
70,185 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
48 |
0 |
0 |
1.4 |
26.4 |
30,531 |
30,531 |
0 |
1,674 |
14,467 |
14,390 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,694 |
1 |
2 |
2.7 |
33.2 |
143,445 |
11,461 |
6,617 |
7,159 |
70,512 |
65,774 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
21 |
1 |
2 |
3.0 |
10.1 |
117,213 |
65,789 |
41,999 |
4,969 |
54,592 |
57,652 |
277 |
3 |
83,998 |
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 |
15 |
5 |
11 |
5.0 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
4.1 |
dash |
| 23 |
no-host |
abuild-print-help |
20 |
12 |
9 |
9.4 |
osh-native |
| 31 |
no-host |
abuild-print-help |
21 |
10 |
12 |
10.1 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
18 |
13 |
6 |
6.4 |
osh-static |
| 1 |
no-host |
bin-true |
610 |
318 |
328 |
3.1 |
bash |
| 9 |
no-host |
bin-true |
440 |
269 |
175 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
793 |
303 |
507 |
8.8 |
osh-native |
| 25 |
no-host |
bin-true |
798 |
312 |
502 |
9.2 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
655 |
318 |
353 |
5.2 |
osh-static |
| 2 |
no-host |
configure.cpython |
13,610 |
7,492 |
6,501 |
34.5 |
bash |
| 10 |
no-host |
configure.cpython |
13,662 |
7,443 |
6,619 |
34.7 |
dash |
| 18 |
no-host |
configure.cpython |
13,310 |
7,097 |
6,487 |
34.3 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,490 |
7,197 |
6,577 |
34.5 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
12,958 |
7,133 |
6,062 |
34.5 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,640 |
1,478 |
1,201 |
28.8 |
bash |
| 12 |
no-host |
configure.ocaml |
3,600 |
1,430 |
1,193 |
28.7 |
dash |
| 20 |
no-host |
configure.ocaml |
3,715 |
1,472 |
1,282 |
28.7 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,687 |
1,500 |
1,228 |
28.8 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,632 |
1,456 |
1,206 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
45 |
24 |
22 |
26.3 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
27 |
14 |
26.3 |
dash |
| 21 |
no-host |
configure.tcc |
46 |
25 |
22 |
26.1 |
osh-native |
| 29 |
no-host |
configure.tcc |
48 |
31 |
18 |
26.4 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
43 |
26 |
18 |
26.4 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,479 |
6,546 |
6,347 |
39.7 |
bash |
| 11 |
no-host |
configure.util-linux |
13,173 |
6,520 |
7,138 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
12,450 |
6,211 |
6,445 |
39.9 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,545 |
6,270 |
6,502 |
39.5 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,085 |
6,154 |
6,147 |
39.7 |
osh-static |
| 6 |
no-host |
configure.yash |
1,666 |
920 |
755 |
33.4 |
bash |
| 14 |
no-host |
configure.yash |
1,633 |
929 |
706 |
33.4 |
dash |
| 22 |
no-host |
configure.yash |
1,679 |
932 |
751 |
33.3 |
osh-native |
| 30 |
no-host |
configure.yash |
1,694 |
932 |
765 |
33.2 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,651 |
928 |
726 |
33.2 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.3 |
bash |
| 8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
3 |
1 |
2 |
6.7 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
1 |
2 |
7.1 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
1 |
0 |
1 |
3.4 |
osh-static |
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,405 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,188 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,323 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,423 |
0 |
0 |
0 |
16 |
0 |
38 |
0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,829 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
99,457 |
0 |
0 |
0 |
8 |
0 |
2,001 |
71 |
bash |
| 9 |
no-host |
bin-true |
49,373 |
0 |
0 |
0 |
8 |
0 |
2,993 |
47 |
dash |
| 17 |
no-host |
bin-true |
131,353 |
0 |
0 |
0 |
16 |
0 |
1,999 |
72 |
osh-native |
| 25 |
no-host |
bin-true |
130,998 |
0 |
0 |
0 |
16 |
0 |
1,995 |
73 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
111,044 |
0 |
0 |
0 |
8 |
0 |
2,001 |
84 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,624,923 |
0 |
0 |
0 |
25,272 |
0 |
14,068 |
1,042 |
bash |
| 10 |
no-host |
configure.cpython |
1,636,522 |
0 |
0 |
0 |
25,272 |
0 |
14,119 |
995 |
dash |
| 18 |
no-host |
configure.cpython |
1,579,640 |
0 |
0 |
0 |
25,280 |
0 |
11,296 |
845 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,600,694 |
0 |
0 |
0 |
25,280 |
0 |
11,303 |
875 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,522,641 |
0 |
0 |
0 |
25,272 |
0 |
11,308 |
976 |
osh-static |
| 4 |
no-host |
configure.ocaml |
298,571 |
0 |
0 |
0 |
4,432 |
0 |
2,019 |
203 |
bash |
| 12 |
no-host |
configure.ocaml |
280,722 |
0 |
0 |
0 |
4,432 |
0 |
2,109 |
200 |
dash |
| 20 |
no-host |
configure.ocaml |
306,010 |
0 |
0 |
0 |
4,440 |
0 |
2,004 |
216 |
osh-native |
| 28 |
no-host |
configure.ocaml |
306,478 |
0 |
0 |
0 |
4,440 |
0 |
2,001 |
228 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,817 |
0 |
0 |
0 |
4,432 |
0 |
1,996 |
216 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,220 |
0 |
0 |
0 |
80 |
0 |
49 |
4 |
bash |
| 13 |
no-host |
configure.tcc |
4,220 |
0 |
0 |
0 |
88 |
0 |
52 |
3 |
dash |
| 21 |
no-host |
configure.tcc |
5,602 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,693 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,139 |
0 |
0 |
0 |
88 |
0 |
45 |
2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,537,629 |
0 |
0 |
232 |
35,944 |
0 |
19,011 |
1,221 |
bash |
| 11 |
no-host |
configure.util-linux |
1,696,962 |
1 |
0 |
0 |
35,936 |
0 |
17,135 |
1,162 |
dash |
| 19 |
no-host |
configure.util-linux |
1,503,709 |
0 |
0 |
0 |
35,952 |
0 |
16,145 |
972 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,524,274 |
1 |
0 |
0 |
35,944 |
0 |
16,207 |
945 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,465,952 |
1 |
0 |
0 |
35,936 |
0 |
16,127 |
886 |
osh-static |
| 6 |
no-host |
configure.yash |
173,386 |
0 |
0 |
0 |
3,616 |
0 |
879 |
94 |
bash |
| 14 |
no-host |
configure.yash |
159,529 |
0 |
0 |
0 |
3,616 |
0 |
1,003 |
93 |
dash |
| 22 |
no-host |
configure.yash |
176,721 |
0 |
0 |
0 |
3,624 |
0 |
858 |
101 |
osh-native |
| 30 |
no-host |
configure.yash |
177,448 |
0 |
0 |
0 |
3,624 |
0 |
860 |
97 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
173,233 |
0 |
0 |
0 |
3,616 |
0 |
857 |
98 |
osh-static |
| 0 |
no-host |
hello-world |
154 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
88 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
389 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 24 |
no-host |
hello-world |
401 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
181 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host