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 |
12 |
7 |
17 |
18 |
16 |
1.40 |
1.26 |
| bin-true |
no-host |
431 |
294 |
588 |
595 |
477 |
1.36 |
1.11 |
| configure.cpython |
no-host |
11,483 |
11,240 |
11,060 |
11,142 |
10,668 |
0.96 |
0.93 |
| configure.ocaml |
no-host |
3,177 |
3,172 |
3,297 |
3,283 |
3,219 |
1.04 |
1.01 |
| configure.tcc |
no-host |
38 |
34 |
41 |
39 |
36 |
1.08 |
0.95 |
| configure.util-linux |
no-host |
10,276 |
10,624 |
10,106 |
10,418 |
9,847 |
0.98 |
0.96 |
| configure.yash |
no-host |
1,387 |
1,361 |
1,427 |
1,415 |
1,397 |
1.03 |
1.01 |
| hello-world |
no-host |
1 |
0 |
2 |
2 |
1 |
2.42 |
1.10 |
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,401 |
1,168 |
3,355 |
3,448 |
2,850 |
1.40 |
1.19 |
| bin-true |
no-host |
100,867 |
49,817 |
133,443 |
134,746 |
112,135 |
1.32 |
1.11 |
| configure.cpython |
no-host |
1,629,952 |
1,642,750 |
1,582,115 |
1,590,733 |
1,526,815 |
0.97 |
0.94 |
| configure.ocaml |
no-host |
299,840 |
281,782 |
307,616 |
308,245 |
301,085 |
1.03 |
1.00 |
| configure.tcc |
no-host |
5,280 |
4,230 |
5,646 |
5,707 |
5,159 |
1.07 |
0.98 |
| configure.util-linux |
no-host |
1,546,945 |
1,703,035 |
1,504,655 |
1,520,387 |
1,481,802 |
0.97 |
0.96 |
| configure.yash |
no-host |
174,015 |
159,929 |
177,260 |
177,821 |
173,304 |
1.02 |
1.00 |
| hello-world |
no-host |
152 |
89 |
393 |
400 |
182 |
2.59 |
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 |
2 |
0 |
0 |
0.3 |
6.6 |
3,909 |
3,909 |
0 |
722 |
1,923 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
588 |
1 |
2 |
3.5 |
8.8 |
151,894 |
10,757 |
2,971 |
14,781 |
72,397 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
11,060 |
1 |
58 |
14.8 |
34.4 |
1,750,756 |
35,385 |
28,942 |
93,077 |
869,714 |
787,965 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
10,106 |
3 |
62 |
21.6 |
39.9 |
2,705,292 |
37,457 |
66,330 |
119,745 |
1,291,809 |
1,293,738 |
32,527 |
42 |
132,660 |
1 |
| configure.ocaml |
no-host |
3,297 |
1 |
2 |
2.8 |
28.8 |
149,694 |
12,649 |
6,564 |
9,213 |
70,297 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
41 |
0 |
0 |
1.4 |
26.3 |
30,543 |
30,543 |
0 |
1,680 |
14,474 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,427 |
1 |
2 |
2.7 |
33.3 |
143,456 |
11,462 |
6,618 |
7,166 |
70,510 |
65,780 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
17 |
1 |
2 |
3.0 |
9.4 |
117,225 |
65,791 |
42,001 |
4,975 |
54,599 |
57,651 |
277 |
3 |
84,002 |
1 |
| hello-world |
no-host |
2 |
0 |
0 |
0.3 |
7.1 |
3,908 |
3,908 |
0 |
721 |
1,923 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
595 |
1 |
2 |
3.5 |
9.2 |
151,894 |
10,761 |
2,975 |
14,781 |
72,397 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
11,142 |
1 |
59 |
14.8 |
34.7 |
1,750,755 |
35,390 |
28,947 |
93,076 |
869,714 |
787,965 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
10,418 |
3 |
63 |
21.6 |
39.6 |
2,705,292 |
37,463 |
66,336 |
119,745 |
1,291,809 |
1,293,738 |
32,527 |
42 |
132,672 |
1 |
| configure.ocaml |
no-host |
3,283 |
1 |
2 |
2.8 |
28.8 |
149,694 |
12,654 |
6,569 |
9,213 |
70,297 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
39 |
0 |
0 |
1.4 |
26.2 |
30,543 |
30,543 |
0 |
1,680 |
14,474 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,415 |
1 |
2 |
2.7 |
33.4 |
143,456 |
11,466 |
6,622 |
7,166 |
70,510 |
65,780 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
18 |
1 |
2 |
3.0 |
10.1 |
117,225 |
65,795 |
42,005 |
4,975 |
54,599 |
57,651 |
277 |
3 |
84,010 |
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 |
12 |
9 |
4 |
5.0 |
bash |
| 15 |
no-host |
abuild-print-help |
7 |
2 |
5 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
17 |
10 |
8 |
9.4 |
osh-native |
| 31 |
no-host |
abuild-print-help |
18 |
12 |
6 |
10.1 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
16 |
14 |
2 |
6.4 |
osh-static |
| 1 |
no-host |
bin-true |
431 |
278 |
183 |
3.3 |
bash |
| 9 |
no-host |
bin-true |
294 |
225 |
69 |
1.4 |
dash |
| 17 |
no-host |
bin-true |
588 |
305 |
294 |
8.8 |
osh-native |
| 25 |
no-host |
bin-true |
595 |
317 |
290 |
9.2 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
477 |
285 |
203 |
5.2 |
osh-static |
| 2 |
no-host |
configure.cpython |
11,483 |
7,460 |
4,283 |
34.5 |
bash |
| 10 |
no-host |
configure.cpython |
11,240 |
7,439 |
4,074 |
34.6 |
dash |
| 18 |
no-host |
configure.cpython |
11,060 |
7,053 |
4,176 |
34.4 |
osh-native |
| 26 |
no-host |
configure.cpython |
11,142 |
7,118 |
4,199 |
34.7 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
10,668 |
7,031 |
3,778 |
34.5 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,177 |
1,439 |
754 |
28.6 |
bash |
| 12 |
no-host |
configure.ocaml |
3,172 |
1,446 |
733 |
28.9 |
dash |
| 20 |
no-host |
configure.ocaml |
3,297 |
1,475 |
831 |
28.8 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,283 |
1,466 |
832 |
28.8 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,219 |
1,476 |
752 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
38 |
27 |
12 |
26.2 |
bash |
| 13 |
no-host |
configure.tcc |
34 |
21 |
13 |
26.2 |
dash |
| 21 |
no-host |
configure.tcc |
41 |
27 |
14 |
26.3 |
osh-native |
| 29 |
no-host |
configure.tcc |
39 |
26 |
13 |
26.2 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
36 |
26 |
10 |
26.2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
10,276 |
6,571 |
4,036 |
39.7 |
bash |
| 11 |
no-host |
configure.util-linux |
10,624 |
6,402 |
4,577 |
39.7 |
dash |
| 19 |
no-host |
configure.util-linux |
10,106 |
6,134 |
4,099 |
39.9 |
osh-native |
| 27 |
no-host |
configure.util-linux |
10,418 |
6,292 |
4,253 |
39.6 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
9,847 |
6,040 |
3,933 |
39.7 |
osh-static |
| 6 |
no-host |
configure.yash |
1,387 |
932 |
453 |
33.4 |
bash |
| 14 |
no-host |
configure.yash |
1,361 |
905 |
450 |
33.4 |
dash |
| 22 |
no-host |
configure.yash |
1,427 |
947 |
474 |
33.3 |
osh-native |
| 30 |
no-host |
configure.yash |
1,415 |
947 |
461 |
33.4 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,397 |
929 |
462 |
33.4 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.3 |
bash |
| 8 |
no-host |
hello-world |
0 |
0 |
1 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
2 |
1 |
1 |
6.6 |
osh-native |
| 24 |
no-host |
hello-world |
2 |
0 |
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,401 |
0 |
0 |
0 |
8 |
0 |
41 |
1 |
bash |
| 15 |
no-host |
abuild-print-help |
1,168 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,355 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,448 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,850 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
100,867 |
0 |
0 |
0 |
8 |
0 |
2,000 |
35 |
bash |
| 9 |
no-host |
bin-true |
49,817 |
0 |
0 |
0 |
8 |
0 |
2,999 |
46 |
dash |
| 17 |
no-host |
bin-true |
133,443 |
0 |
0 |
0 |
16 |
0 |
1,999 |
65 |
osh-native |
| 25 |
no-host |
bin-true |
134,746 |
0 |
0 |
0 |
16 |
0 |
1,994 |
52 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
112,135 |
0 |
0 |
0 |
8 |
0 |
2,000 |
45 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,629,952 |
0 |
0 |
0 |
25,272 |
0 |
14,042 |
945 |
bash |
| 10 |
no-host |
configure.cpython |
1,642,750 |
0 |
0 |
0 |
25,272 |
0 |
14,076 |
958 |
dash |
| 18 |
no-host |
configure.cpython |
1,582,115 |
0 |
0 |
0 |
25,280 |
0 |
11,284 |
799 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,590,733 |
0 |
0 |
0 |
25,280 |
0 |
11,325 |
813 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,526,815 |
0 |
0 |
0 |
25,272 |
0 |
11,316 |
814 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,840 |
0 |
0 |
0 |
4,432 |
0 |
2,022 |
183 |
bash |
| 12 |
no-host |
configure.ocaml |
281,782 |
0 |
0 |
0 |
4,432 |
0 |
2,108 |
157 |
dash |
| 20 |
no-host |
configure.ocaml |
307,616 |
0 |
0 |
0 |
4,440 |
0 |
1,998 |
190 |
osh-native |
| 28 |
no-host |
configure.ocaml |
308,245 |
0 |
0 |
0 |
4,440 |
0 |
2,003 |
187 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
301,085 |
0 |
0 |
0 |
4,432 |
0 |
2,003 |
184 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,280 |
0 |
0 |
0 |
80 |
0 |
49 |
2 |
bash |
| 13 |
no-host |
configure.tcc |
4,230 |
0 |
0 |
0 |
88 |
0 |
51 |
1 |
dash |
| 21 |
no-host |
configure.tcc |
5,646 |
0 |
0 |
0 |
96 |
0 |
45 |
4 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,707 |
0 |
0 |
0 |
96 |
0 |
44 |
2 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,159 |
0 |
0 |
0 |
88 |
0 |
45 |
2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,546,945 |
1 |
0 |
232 |
35,944 |
0 |
18,806 |
990 |
bash |
| 11 |
no-host |
configure.util-linux |
1,703,035 |
0 |
0 |
0 |
35,936 |
0 |
16,952 |
1,003 |
dash |
| 19 |
no-host |
configure.util-linux |
1,504,655 |
1 |
0 |
0 |
35,960 |
0 |
16,175 |
840 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,520,387 |
4 |
0 |
0 |
35,944 |
0 |
16,180 |
920 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,481,802 |
3 |
0 |
0 |
35,936 |
0 |
16,168 |
828 |
osh-static |
| 6 |
no-host |
configure.yash |
174,015 |
0 |
0 |
0 |
3,616 |
0 |
876 |
87 |
bash |
| 14 |
no-host |
configure.yash |
159,929 |
0 |
0 |
0 |
3,616 |
0 |
1,002 |
102 |
dash |
| 22 |
no-host |
configure.yash |
177,260 |
0 |
0 |
0 |
3,624 |
0 |
860 |
92 |
osh-native |
| 30 |
no-host |
configure.yash |
177,821 |
0 |
0 |
0 |
3,624 |
0 |
857 |
88 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
173,304 |
0 |
0 |
0 |
3,616 |
0 |
856 |
98 |
osh-static |
| 0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
89 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
393 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 24 |
no-host |
hello-world |
400 |
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