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 |
16 |
9 |
21 |
22 |
20 |
1.29 |
1.22 |
| bin-true |
no-host |
627 |
444 |
812 |
857 |
665 |
1.29 |
1.06 |
| configure.cpython |
no-host |
13,962 |
14,049 |
13,690 |
13,828 |
13,481 |
0.98 |
0.97 |
| configure.ocaml |
no-host |
3,717 |
3,649 |
3,774 |
3,804 |
3,788 |
1.02 |
1.02 |
| configure.tcc |
no-host |
46 |
41 |
47 |
48 |
45 |
1.02 |
0.97 |
| configure.util-linux |
no-host |
12,791 |
13,531 |
12,779 |
12,947 |
12,613 |
1.00 |
0.99 |
| configure.yash |
no-host |
1,718 |
1,668 |
1,722 |
1,742 |
1,758 |
1.00 |
1.02 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.51 |
1.03 |
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,414 |
1,170 |
3,308 |
3,358 |
2,832 |
1.37 |
1.17 |
| bin-true |
no-host |
102,389 |
49,383 |
132,362 |
134,038 |
112,084 |
1.29 |
1.09 |
| configure.cpython |
no-host |
1,621,566 |
1,635,770 |
1,594,569 |
1,611,086 |
1,517,239 |
0.98 |
0.94 |
| configure.ocaml |
no-host |
299,514 |
280,412 |
306,439 |
306,681 |
300,114 |
1.02 |
1.00 |
| configure.tcc |
no-host |
5,205 |
4,212 |
5,609 |
5,634 |
5,118 |
1.08 |
0.98 |
| configure.util-linux |
no-host |
1,533,152 |
1,702,909 |
1,509,034 |
1,517,538 |
1,480,886 |
0.98 |
0.97 |
| configure.yash |
no-host |
173,574 |
159,500 |
177,062 |
176,820 |
172,745 |
1.02 |
1.00 |
| hello-world |
no-host |
152 |
84 |
395 |
402 |
183 |
2.60 |
1.20 |
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,920 |
3,920 |
0 |
726 |
1,923 |
1,271 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
812 |
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 |
13,690 |
1 |
71 |
14.8 |
34.6 |
1,750,832 |
35,399 |
28,954 |
93,081 |
869,764 |
787,987 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,779 |
3 |
70 |
21.6 |
39.7 |
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,774 |
1 |
2 |
2.8 |
28.7 |
149,705 |
12,656 |
6,571 |
9,217 |
70,297 |
70,191 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.1 |
30,556 |
30,556 |
0 |
1,684 |
14,475 |
14,397 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,722 |
1 |
2 |
2.7 |
33.3 |
143,481 |
11,508 |
6,625 |
7,171 |
70,527 |
65,783 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
21 |
1 |
2 |
3.0 |
9.3 |
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 |
857 |
1 |
3 |
3.5 |
9.2 |
151,905 |
10,768 |
2,982 |
14,785 |
72,397 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,828 |
1 |
71 |
14.9 |
34.5 |
1,750,831 |
36,458 |
28,959 |
93,080 |
869,764 |
787,987 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,947 |
3 |
69 |
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,804 |
1 |
2 |
2.8 |
28.5 |
149,705 |
12,661 |
6,576 |
9,217 |
70,297 |
70,191 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
48 |
0 |
0 |
1.4 |
26.0 |
30,556 |
30,556 |
0 |
1,684 |
14,475 |
14,397 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,742 |
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 |
22 |
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 |
16 |
8 |
9 |
5.0 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
3 |
6 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
21 |
13 |
8 |
9.3 |
osh-native |
| 31 |
no-host |
abuild-print-help |
22 |
12 |
11 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
20 |
12 |
9 |
6.3 |
osh-static |
| 1 |
no-host |
bin-true |
627 |
311 |
354 |
3.3 |
bash |
| 9 |
no-host |
bin-true |
444 |
278 |
172 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
812 |
313 |
516 |
8.7 |
osh-native |
| 25 |
no-host |
bin-true |
857 |
307 |
564 |
9.2 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
665 |
320 |
363 |
5.1 |
osh-static |
| 2 |
no-host |
configure.cpython |
13,962 |
7,669 |
6,688 |
34.5 |
bash |
| 10 |
no-host |
configure.cpython |
14,049 |
7,688 |
6,772 |
34.5 |
dash |
| 18 |
no-host |
configure.cpython |
13,690 |
7,316 |
6,656 |
34.6 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,828 |
7,240 |
6,867 |
34.5 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
13,481 |
7,413 |
6,315 |
34.5 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,717 |
1,516 |
1,243 |
28.8 |
bash |
| 12 |
no-host |
configure.ocaml |
3,649 |
1,467 |
1,206 |
28.5 |
dash |
| 20 |
no-host |
configure.ocaml |
3,774 |
1,522 |
1,292 |
28.7 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,804 |
1,495 |
1,350 |
28.5 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,788 |
1,565 |
1,256 |
28.6 |
osh-static |
| 5 |
no-host |
configure.tcc |
46 |
21 |
25 |
26.3 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
24 |
18 |
26.3 |
dash |
| 21 |
no-host |
configure.tcc |
47 |
27 |
20 |
26.1 |
osh-native |
| 29 |
no-host |
configure.tcc |
48 |
27 |
21 |
26.0 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
45 |
21 |
24 |
26.3 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,791 |
6,767 |
6,507 |
39.7 |
bash |
| 11 |
no-host |
configure.util-linux |
13,531 |
6,596 |
7,443 |
39.5 |
dash |
| 19 |
no-host |
configure.util-linux |
12,779 |
6,193 |
6,814 |
39.7 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,947 |
6,518 |
6,659 |
39.7 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,613 |
6,407 |
6,432 |
39.9 |
osh-static |
| 6 |
no-host |
configure.yash |
1,718 |
939 |
789 |
33.3 |
bash |
| 14 |
no-host |
configure.yash |
1,668 |
936 |
735 |
33.2 |
dash |
| 22 |
no-host |
configure.yash |
1,722 |
950 |
775 |
33.3 |
osh-native |
| 30 |
no-host |
configure.yash |
1,742 |
972 |
773 |
33.4 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,758 |
985 |
774 |
33.4 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
1 |
0 |
3.1 |
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.2 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
1 |
0 |
1 |
3.3 |
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,414 |
0 |
0 |
0 |
8 |
0 |
40 |
2 |
bash |
| 15 |
no-host |
abuild-print-help |
1,170 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,308 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,358 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,832 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
102,389 |
0 |
0 |
0 |
8 |
0 |
1,998 |
54 |
bash |
| 9 |
no-host |
bin-true |
49,383 |
0 |
0 |
0 |
8 |
0 |
2,997 |
57 |
dash |
| 17 |
no-host |
bin-true |
132,362 |
0 |
0 |
0 |
16 |
0 |
1,999 |
66 |
osh-native |
| 25 |
no-host |
bin-true |
134,038 |
0 |
0 |
0 |
16 |
0 |
1,997 |
97 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
112,084 |
0 |
0 |
0 |
8 |
0 |
1,996 |
70 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,621,566 |
0 |
0 |
0 |
25,272 |
0 |
14,064 |
1,008 |
bash |
| 10 |
no-host |
configure.cpython |
1,635,770 |
0 |
0 |
0 |
25,272 |
0 |
14,112 |
994 |
dash |
| 18 |
no-host |
configure.cpython |
1,594,569 |
0 |
0 |
0 |
25,280 |
0 |
11,300 |
880 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,611,086 |
0 |
0 |
0 |
25,288 |
0 |
11,305 |
809 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,517,239 |
0 |
0 |
0 |
25,272 |
0 |
11,292 |
864 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,514 |
0 |
0 |
0 |
4,432 |
0 |
2,020 |
162 |
bash |
| 12 |
no-host |
configure.ocaml |
280,412 |
0 |
0 |
0 |
4,432 |
0 |
2,101 |
183 |
dash |
| 20 |
no-host |
configure.ocaml |
306,439 |
1 |
0 |
0 |
4,440 |
0 |
1,999 |
215 |
osh-native |
| 28 |
no-host |
configure.ocaml |
306,681 |
0 |
0 |
0 |
4,440 |
0 |
2,002 |
221 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,114 |
0 |
0 |
0 |
4,432 |
0 |
1,998 |
218 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,205 |
0 |
0 |
0 |
80 |
0 |
49 |
1 |
bash |
| 13 |
no-host |
configure.tcc |
4,212 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
5,609 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,634 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,118 |
0 |
0 |
0 |
88 |
0 |
46 |
2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,533,152 |
0 |
0 |
0 |
35,936 |
0 |
18,983 |
1,050 |
bash |
| 11 |
no-host |
configure.util-linux |
1,702,909 |
2 |
0 |
0 |
35,936 |
0 |
17,099 |
1,226 |
dash |
| 19 |
no-host |
configure.util-linux |
1,509,034 |
1 |
0 |
0 |
35,952 |
0 |
16,212 |
978 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,517,538 |
0 |
0 |
0 |
35,944 |
0 |
16,145 |
947 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,480,886 |
0 |
0 |
0 |
35,936 |
0 |
16,199 |
929 |
osh-static |
| 6 |
no-host |
configure.yash |
173,574 |
0 |
0 |
0 |
3,616 |
0 |
877 |
94 |
bash |
| 14 |
no-host |
configure.yash |
159,500 |
0 |
0 |
0 |
3,624 |
0 |
1,002 |
92 |
dash |
| 22 |
no-host |
configure.yash |
177,062 |
0 |
0 |
0 |
3,624 |
0 |
857 |
91 |
osh-native |
| 30 |
no-host |
configure.yash |
176,820 |
0 |
0 |
0 |
3,632 |
0 |
856 |
97 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
172,745 |
0 |
0 |
0 |
3,616 |
0 |
856 |
106 |
osh-static |
| 0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
84 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
395 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 24 |
no-host |
hello-world |
402 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
183 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host