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 |
19 |
1.32 |
1.20 |
| bin-true |
no-host |
628 |
449 |
832 |
828 |
666 |
1.33 |
1.06 |
| configure.cpython |
no-host |
14,296 |
14,323 |
13,815 |
14,110 |
13,390 |
0.97 |
0.94 |
| configure.ocaml |
no-host |
3,776 |
3,694 |
3,817 |
3,792 |
3,760 |
1.01 |
1.00 |
| configure.tcc |
no-host |
46 |
42 |
47 |
49 |
45 |
1.02 |
0.98 |
| configure.util-linux |
no-host |
12,898 |
13,701 |
12,840 |
13,029 |
12,618 |
1.00 |
0.98 |
| configure.yash |
no-host |
1,728 |
1,692 |
1,738 |
1,802 |
1,717 |
1.01 |
0.99 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.42 |
1.01 |
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,396 |
1,194 |
3,271 |
3,441 |
2,841 |
1.37 |
1.19 |
| bin-true |
no-host |
100,453 |
49,419 |
135,305 |
134,010 |
112,116 |
1.35 |
1.12 |
| configure.cpython |
no-host |
1,626,198 |
1,645,322 |
1,580,655 |
1,604,159 |
1,518,356 |
0.97 |
0.93 |
| configure.ocaml |
no-host |
299,146 |
281,017 |
306,224 |
306,863 |
300,079 |
1.02 |
1.00 |
| configure.tcc |
no-host |
5,198 |
4,211 |
5,562 |
5,637 |
5,125 |
1.07 |
0.99 |
| configure.util-linux |
no-host |
1,538,118 |
1,697,337 |
1,511,511 |
1,514,487 |
1,480,984 |
0.98 |
0.96 |
| configure.yash |
no-host |
173,230 |
159,531 |
176,411 |
177,203 |
172,817 |
1.02 |
1.00 |
| hello-world |
no-host |
153 |
88 |
396 |
399 |
182 |
2.59 |
1.19 |
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 |
832 |
1 |
2 |
3.5 |
8.8 |
151,905 |
10,764 |
2,978 |
14,785 |
72,397 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,815 |
1 |
68 |
14.8 |
34.4 |
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,840 |
3 |
67 |
21.6 |
39.9 |
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,817 |
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 |
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,738 |
1 |
2 |
2.7 |
33.4 |
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.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.1 |
3,919 |
3,919 |
0 |
725 |
1,923 |
1,271 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
828 |
1 |
2 |
3.5 |
9.0 |
151,905 |
10,768 |
2,982 |
14,785 |
72,397 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,110 |
1 |
68 |
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 |
13,029 |
3 |
68 |
21.6 |
39.5 |
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,792 |
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 |
49 |
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,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 |
22 |
1 |
2 |
3.0 |
10.1 |
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 |
8 |
4.8 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
4 |
6 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
21 |
14 |
7 |
9.4 |
osh-native |
| 31 |
no-host |
abuild-print-help |
22 |
15 |
7 |
10.1 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
19 |
12 |
8 |
6.3 |
osh-static |
| 1 |
no-host |
bin-true |
628 |
310 |
358 |
3.3 |
bash |
| 9 |
no-host |
bin-true |
449 |
274 |
178 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
832 |
295 |
555 |
8.8 |
osh-native |
| 25 |
no-host |
bin-true |
828 |
319 |
527 |
9.0 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
666 |
355 |
330 |
5.2 |
osh-static |
| 2 |
no-host |
configure.cpython |
14,296 |
7,817 |
6,881 |
34.5 |
bash |
| 10 |
no-host |
configure.cpython |
14,323 |
7,814 |
6,927 |
34.5 |
dash |
| 18 |
no-host |
configure.cpython |
13,815 |
7,328 |
6,755 |
34.4 |
osh-native |
| 26 |
no-host |
configure.cpython |
14,110 |
7,474 |
6,929 |
34.5 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
13,390 |
7,366 |
6,273 |
34.5 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,776 |
1,546 |
1,273 |
28.5 |
bash |
| 12 |
no-host |
configure.ocaml |
3,694 |
1,479 |
1,240 |
28.7 |
dash |
| 20 |
no-host |
configure.ocaml |
3,817 |
1,550 |
1,306 |
28.6 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,792 |
1,521 |
1,313 |
28.6 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,760 |
1,522 |
1,266 |
28.6 |
osh-static |
| 5 |
no-host |
configure.tcc |
46 |
28 |
19 |
26.2 |
bash |
| 13 |
no-host |
configure.tcc |
42 |
24 |
18 |
26.0 |
dash |
| 21 |
no-host |
configure.tcc |
47 |
28 |
19 |
26.1 |
osh-native |
| 29 |
no-host |
configure.tcc |
49 |
22 |
27 |
26.1 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
45 |
26 |
19 |
26.2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,898 |
6,712 |
6,667 |
39.7 |
bash |
| 11 |
no-host |
configure.util-linux |
13,701 |
6,762 |
7,442 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
12,840 |
6,400 |
6,672 |
39.9 |
osh-native |
| 27 |
no-host |
configure.util-linux |
13,029 |
6,440 |
6,825 |
39.5 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,618 |
6,353 |
6,488 |
39.3 |
osh-static |
| 6 |
no-host |
configure.yash |
1,728 |
976 |
760 |
33.3 |
bash |
| 14 |
no-host |
configure.yash |
1,692 |
947 |
746 |
33.3 |
dash |
| 22 |
no-host |
configure.yash |
1,738 |
982 |
759 |
33.4 |
osh-native |
| 30 |
no-host |
configure.yash |
1,802 |
999 |
802 |
33.4 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,717 |
978 |
742 |
33.3 |
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 |
0 |
3 |
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,396 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,194 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,271 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,441 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,841 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
100,453 |
0 |
0 |
0 |
8 |
0 |
1,996 |
45 |
bash |
| 9 |
no-host |
bin-true |
49,419 |
0 |
0 |
0 |
8 |
0 |
2,994 |
71 |
dash |
| 17 |
no-host |
bin-true |
135,305 |
0 |
0 |
0 |
16 |
0 |
1,997 |
78 |
osh-native |
| 25 |
no-host |
bin-true |
134,010 |
0 |
0 |
0 |
16 |
0 |
1,997 |
73 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
112,116 |
0 |
0 |
0 |
8 |
0 |
1,998 |
77 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,626,198 |
0 |
0 |
0 |
25,272 |
0 |
14,082 |
1,059 |
bash |
| 10 |
no-host |
configure.cpython |
1,645,322 |
0 |
0 |
0 |
25,272 |
0 |
14,100 |
1,099 |
dash |
| 18 |
no-host |
configure.cpython |
1,580,655 |
0 |
0 |
0 |
25,280 |
0 |
11,304 |
839 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,604,159 |
0 |
0 |
0 |
25,280 |
0 |
11,293 |
1,042 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,518,356 |
0 |
0 |
0 |
25,272 |
0 |
11,292 |
849 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,146 |
0 |
0 |
0 |
4,432 |
0 |
2,017 |
191 |
bash |
| 12 |
no-host |
configure.ocaml |
281,017 |
0 |
0 |
0 |
4,432 |
0 |
2,108 |
194 |
dash |
| 20 |
no-host |
configure.ocaml |
306,224 |
0 |
0 |
0 |
4,440 |
0 |
1,999 |
207 |
osh-native |
| 28 |
no-host |
configure.ocaml |
306,863 |
0 |
0 |
0 |
4,440 |
0 |
1,999 |
194 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,079 |
0 |
0 |
0 |
4,432 |
0 |
2,000 |
336 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,198 |
0 |
0 |
0 |
80 |
0 |
49 |
4 |
bash |
| 13 |
no-host |
configure.tcc |
4,211 |
0 |
0 |
0 |
88 |
0 |
52 |
3 |
dash |
| 21 |
no-host |
configure.tcc |
5,562 |
0 |
0 |
0 |
96 |
0 |
45 |
4 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,637 |
0 |
0 |
0 |
96 |
0 |
45 |
4 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,125 |
0 |
0 |
0 |
88 |
0 |
46 |
2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,538,118 |
0 |
0 |
0 |
35,936 |
0 |
19,017 |
1,126 |
bash |
| 11 |
no-host |
configure.util-linux |
1,697,337 |
1 |
0 |
0 |
35,936 |
0 |
17,110 |
1,224 |
dash |
| 19 |
no-host |
configure.util-linux |
1,511,511 |
1 |
0 |
0 |
35,952 |
0 |
16,147 |
1,007 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,514,487 |
1 |
0 |
0 |
35,944 |
0 |
16,219 |
926 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,480,984 |
2 |
0 |
0 |
35,936 |
0 |
16,139 |
957 |
osh-static |
| 6 |
no-host |
configure.yash |
173,230 |
0 |
0 |
0 |
3,616 |
0 |
878 |
104 |
bash |
| 14 |
no-host |
configure.yash |
159,531 |
0 |
0 |
0 |
3,624 |
0 |
1,001 |
98 |
dash |
| 22 |
no-host |
configure.yash |
176,411 |
0 |
0 |
0 |
3,624 |
0 |
855 |
109 |
osh-native |
| 30 |
no-host |
configure.yash |
177,203 |
0 |
0 |
0 |
3,632 |
0 |
857 |
81 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
172,817 |
0 |
0 |
0 |
3,616 |
0 |
856 |
97 |
osh-static |
| 0 |
no-host |
hello-world |
153 |
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 |
396 |
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 |
182 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host