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 |
17 |
9 |
22 |
23 |
19 |
1.29 |
1.15 |
| bin-true |
no-host |
651 |
454 |
847 |
851 |
691 |
1.30 |
1.06 |
| configure.cpython |
no-host |
14,495 |
14,551 |
14,165 |
14,257 |
13,658 |
0.98 |
0.94 |
| configure.ocaml |
no-host |
3,833 |
3,776 |
3,873 |
3,875 |
3,842 |
1.01 |
1.00 |
| configure.tcc |
no-host |
49 |
44 |
50 |
50 |
46 |
1.02 |
0.94 |
| configure.util-linux |
no-host |
13,229 |
14,036 |
13,230 |
13,282 |
12,930 |
1.00 |
0.98 |
| configure.yash |
no-host |
1,790 |
1,738 |
1,790 |
1,802 |
1,769 |
1.00 |
0.99 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.47 |
1.06 |
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,391 |
1,153 |
3,277 |
3,414 |
2,829 |
1.37 |
1.18 |
| bin-true |
no-host |
101,422 |
49,372 |
131,369 |
136,048 |
112,086 |
1.30 |
1.11 |
| configure.cpython |
no-host |
1,623,007 |
1,636,293 |
1,590,381 |
1,606,755 |
1,517,386 |
0.98 |
0.93 |
| configure.ocaml |
no-host |
299,234 |
281,062 |
306,536 |
307,579 |
300,186 |
1.02 |
1.00 |
| configure.tcc |
no-host |
5,207 |
4,194 |
5,589 |
5,691 |
5,136 |
1.07 |
0.99 |
| configure.util-linux |
no-host |
1,538,010 |
1,695,761 |
1,511,084 |
1,519,811 |
1,479,284 |
0.98 |
0.96 |
| configure.yash |
no-host |
173,527 |
159,568 |
177,191 |
177,248 |
172,761 |
1.02 |
1.00 |
| hello-world |
no-host |
152 |
86 |
394 |
399 |
184 |
2.59 |
1.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.3 |
6.6 |
3,920 |
3,920 |
0 |
726 |
1,923 |
1,271 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
847 |
1 |
2 |
3.5 |
8.7 |
151,905 |
10,764 |
2,978 |
14,785 |
72,397 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,165 |
2 |
79 |
14.8 |
34.5 |
1,750,832 |
35,399 |
28,954 |
93,081 |
869,764 |
787,987 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
13,230 |
4 |
84 |
21.6 |
39.6 |
2,705,398 |
37,471 |
66,342 |
119,749 |
1,291,874 |
1,293,775 |
32,527 |
42 |
132,684 |
1 |
| configure.ocaml |
no-host |
3,873 |
1 |
2 |
2.8 |
28.6 |
149,705 |
12,656 |
6,571 |
9,217 |
70,297 |
70,191 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
50 |
0 |
0 |
1.4 |
26.4 |
30,556 |
30,556 |
0 |
1,684 |
14,475 |
14,397 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,790 |
1 |
2 |
2.7 |
33.2 |
143,481 |
11,508 |
6,625 |
7,171 |
70,527 |
65,783 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
22 |
1 |
2 |
3.0 |
9.4 |
117,239 |
65,801 |
42,008 |
4,980 |
54,601 |
57,658 |
277 |
3 |
84,016 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
7.2 |
3,919 |
3,919 |
0 |
725 |
1,923 |
1,271 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
851 |
1 |
2 |
3.5 |
9.3 |
151,905 |
10,768 |
2,982 |
14,785 |
72,397 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,257 |
2 |
80 |
14.9 |
34.6 |
1,750,831 |
36,458 |
28,959 |
93,080 |
869,764 |
787,987 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
13,282 |
4 |
83 |
21.6 |
39.7 |
2,705,398 |
37,477 |
66,348 |
119,749 |
1,291,874 |
1,293,775 |
32,527 |
42 |
132,696 |
1 |
| configure.ocaml |
no-host |
3,875 |
1 |
2 |
2.8 |
28.6 |
149,705 |
12,661 |
6,576 |
9,217 |
70,297 |
70,191 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
50 |
0 |
0 |
1.4 |
26.2 |
30,556 |
30,556 |
0 |
1,684 |
14,475 |
14,397 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,802 |
1 |
2 |
2.7 |
33.4 |
143,481 |
11,512 |
6,629 |
7,171 |
70,527 |
65,783 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
23 |
1 |
2 |
3.0 |
10.0 |
117,239 |
65,805 |
42,012 |
4,980 |
54,601 |
57,658 |
277 |
3 |
84,024 |
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 |
17 |
7 |
11 |
4.6 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
5 |
5 |
4.1 |
dash |
| 23 |
no-host |
abuild-print-help |
22 |
7 |
15 |
9.4 |
osh-native |
| 31 |
no-host |
abuild-print-help |
23 |
11 |
12 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
19 |
13 |
7 |
6.3 |
osh-static |
| 1 |
no-host |
bin-true |
651 |
325 |
366 |
3.1 |
bash |
| 9 |
no-host |
bin-true |
454 |
280 |
179 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
847 |
291 |
571 |
8.7 |
osh-native |
| 25 |
no-host |
bin-true |
851 |
308 |
561 |
9.3 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
691 |
320 |
386 |
5.2 |
osh-static |
| 2 |
no-host |
configure.cpython |
14,495 |
7,653 |
7,262 |
34.4 |
bash |
| 10 |
no-host |
configure.cpython |
14,551 |
7,736 |
7,249 |
34.5 |
dash |
| 18 |
no-host |
configure.cpython |
14,165 |
7,313 |
7,149 |
34.5 |
osh-native |
| 26 |
no-host |
configure.cpython |
14,257 |
7,308 |
7,238 |
34.6 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
13,658 |
7,422 |
6,493 |
34.4 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,833 |
1,510 |
1,366 |
28.7 |
bash |
| 12 |
no-host |
configure.ocaml |
3,776 |
1,513 |
1,288 |
28.6 |
dash |
| 20 |
no-host |
configure.ocaml |
3,873 |
1,556 |
1,359 |
28.6 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,875 |
1,540 |
1,378 |
28.6 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,842 |
1,517 |
1,358 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
49 |
26 |
24 |
26.2 |
bash |
| 13 |
no-host |
configure.tcc |
44 |
24 |
20 |
26.3 |
dash |
| 21 |
no-host |
configure.tcc |
50 |
28 |
22 |
26.4 |
osh-native |
| 29 |
no-host |
configure.tcc |
50 |
22 |
28 |
26.2 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
46 |
22 |
25 |
26.3 |
osh-static |
| 3 |
no-host |
configure.util-linux |
13,229 |
6,585 |
7,143 |
39.7 |
bash |
| 11 |
no-host |
configure.util-linux |
14,036 |
6,539 |
8,020 |
39.5 |
dash |
| 19 |
no-host |
configure.util-linux |
13,230 |
6,240 |
7,226 |
39.6 |
osh-native |
| 27 |
no-host |
configure.util-linux |
13,282 |
6,317 |
7,208 |
39.7 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,930 |
6,411 |
6,747 |
39.6 |
osh-static |
| 6 |
no-host |
configure.yash |
1,790 |
956 |
842 |
33.4 |
bash |
| 14 |
no-host |
configure.yash |
1,738 |
978 |
761 |
33.4 |
dash |
| 22 |
no-host |
configure.yash |
1,790 |
1,008 |
785 |
33.2 |
osh-native |
| 30 |
no-host |
configure.yash |
1,802 |
1,005 |
800 |
33.4 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,769 |
944 |
827 |
33.1 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.1 |
bash |
| 8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
3 |
3 |
0 |
6.6 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
1 |
2 |
7.2 |
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,391 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,153 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,277 |
0 |
0 |
0 |
16 |
0 |
37 |
1 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,414 |
0 |
0 |
0 |
16 |
0 |
38 |
1 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,829 |
0 |
0 |
0 |
8 |
0 |
38 |
2 |
osh-static |
| 1 |
no-host |
bin-true |
101,422 |
0 |
0 |
0 |
8 |
0 |
1,994 |
60 |
bash |
| 9 |
no-host |
bin-true |
49,372 |
0 |
0 |
0 |
8 |
0 |
2,997 |
44 |
dash |
| 17 |
no-host |
bin-true |
131,369 |
0 |
0 |
0 |
16 |
0 |
1,999 |
74 |
osh-native |
| 25 |
no-host |
bin-true |
136,048 |
0 |
0 |
0 |
16 |
0 |
1,993 |
66 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
112,086 |
0 |
0 |
0 |
8 |
0 |
1,989 |
77 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,623,007 |
0 |
0 |
0 |
25,272 |
0 |
14,174 |
1,058 |
bash |
| 10 |
no-host |
configure.cpython |
1,636,293 |
0 |
0 |
0 |
25,272 |
0 |
14,210 |
1,038 |
dash |
| 18 |
no-host |
configure.cpython |
1,590,381 |
0 |
0 |
0 |
25,280 |
0 |
11,292 |
841 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,606,755 |
1 |
0 |
0 |
25,280 |
0 |
11,315 |
866 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,517,386 |
0 |
0 |
0 |
25,272 |
0 |
11,304 |
876 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,234 |
0 |
0 |
0 |
4,432 |
0 |
2,022 |
211 |
bash |
| 12 |
no-host |
configure.ocaml |
281,062 |
0 |
0 |
0 |
4,432 |
0 |
2,113 |
220 |
dash |
| 20 |
no-host |
configure.ocaml |
306,536 |
0 |
0 |
0 |
4,440 |
0 |
2,000 |
199 |
osh-native |
| 28 |
no-host |
configure.ocaml |
307,579 |
0 |
0 |
0 |
4,440 |
0 |
2,002 |
189 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,186 |
0 |
0 |
0 |
4,432 |
0 |
1,999 |
216 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,207 |
0 |
0 |
0 |
80 |
0 |
49 |
2 |
bash |
| 13 |
no-host |
configure.tcc |
4,194 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
5,589 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,691 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,136 |
0 |
0 |
0 |
88 |
0 |
45 |
2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,538,010 |
0 |
0 |
0 |
35,936 |
0 |
19,136 |
1,075 |
bash |
| 11 |
no-host |
configure.util-linux |
1,695,761 |
1 |
0 |
0 |
35,936 |
0 |
17,310 |
1,314 |
dash |
| 19 |
no-host |
configure.util-linux |
1,511,084 |
1 |
0 |
0 |
35,952 |
0 |
16,114 |
970 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,519,811 |
2 |
0 |
0 |
35,944 |
0 |
16,130 |
988 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,479,284 |
5 |
0 |
0 |
35,936 |
0 |
16,126 |
973 |
osh-static |
| 6 |
no-host |
configure.yash |
173,527 |
0 |
0 |
0 |
3,616 |
0 |
875 |
112 |
bash |
| 14 |
no-host |
configure.yash |
159,568 |
0 |
0 |
0 |
3,616 |
0 |
1,002 |
112 |
dash |
| 22 |
no-host |
configure.yash |
177,191 |
0 |
0 |
0 |
3,624 |
0 |
854 |
100 |
osh-native |
| 30 |
no-host |
configure.yash |
177,248 |
0 |
0 |
0 |
3,632 |
0 |
857 |
98 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
172,761 |
0 |
0 |
0 |
3,624 |
0 |
855 |
102 |
osh-static |
| 0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
86 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
394 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 24 |
no-host |
hello-world |
399 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
184 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host