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 |
22 |
19 |
1.31 |
1.15 |
| bin-true |
no-host |
638 |
451 |
835 |
864 |
669 |
1.31 |
1.05 |
| configure.cpython |
no-host |
14,403 |
14,674 |
14,486 |
14,383 |
13,556 |
1.01 |
0.94 |
| configure.ocaml |
no-host |
3,795 |
3,700 |
3,805 |
3,823 |
3,805 |
1.00 |
1.00 |
| configure.tcc |
no-host |
47 |
42 |
48 |
49 |
46 |
1.01 |
0.97 |
| configure.util-linux |
no-host |
12,942 |
13,866 |
13,347 |
13,198 |
12,938 |
1.03 |
1.00 |
| configure.yash |
no-host |
1,998 |
1,695 |
1,791 |
1,743 |
1,740 |
0.90 |
0.87 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.35 |
0.99 |
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,427 |
1,188 |
3,336 |
3,418 |
2,823 |
1.37 |
1.16 |
| bin-true |
no-host |
102,480 |
49,374 |
133,617 |
135,003 |
112,028 |
1.30 |
1.09 |
| configure.cpython |
no-host |
1,629,449 |
1,646,136 |
1,593,665 |
1,597,679 |
1,515,802 |
0.98 |
0.93 |
| configure.ocaml |
no-host |
299,500 |
281,317 |
306,365 |
307,293 |
300,393 |
1.02 |
1.00 |
| configure.tcc |
no-host |
5,241 |
4,213 |
5,579 |
5,646 |
5,125 |
1.06 |
0.98 |
| configure.util-linux |
no-host |
1,529,181 |
1,698,979 |
1,509,815 |
1,515,988 |
1,478,994 |
0.99 |
0.97 |
| configure.yash |
no-host |
173,503 |
159,627 |
176,468 |
177,157 |
172,798 |
1.02 |
1.00 |
| hello-world |
no-host |
152 |
84 |
392 |
400 |
184 |
2.58 |
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,919 |
3,919 |
0 |
726 |
1,922 |
1,271 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
835 |
1 |
2 |
3.5 |
8.9 |
151,904 |
10,764 |
2,978 |
14,785 |
72,396 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,486 |
2 |
72 |
14.8 |
34.5 |
1,750,831 |
35,399 |
28,954 |
93,081 |
869,763 |
787,987 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
13,347 |
3 |
69 |
21.6 |
39.9 |
2,705,397 |
37,471 |
66,342 |
119,749 |
1,291,873 |
1,293,775 |
32,527 |
42 |
132,684 |
1 |
| configure.ocaml |
no-host |
3,805 |
1 |
2 |
2.8 |
28.7 |
149,704 |
12,656 |
6,571 |
9,217 |
70,296 |
70,191 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
48 |
0 |
0 |
1.4 |
26.0 |
30,555 |
30,555 |
0 |
1,684 |
14,474 |
14,397 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,791 |
1 |
2 |
2.7 |
33.4 |
143,480 |
11,508 |
6,625 |
7,171 |
70,526 |
65,783 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
22 |
1 |
2 |
3.0 |
9.6 |
117,238 |
65,801 |
42,008 |
4,980 |
54,600 |
57,658 |
277 |
3 |
84,016 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.9 |
3,918 |
3,918 |
0 |
725 |
1,922 |
1,271 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
864 |
1 |
2 |
3.5 |
9.0 |
151,904 |
10,768 |
2,982 |
14,785 |
72,396 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,383 |
2 |
73 |
14.9 |
34.4 |
1,750,830 |
36,458 |
28,959 |
93,080 |
869,763 |
787,987 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
13,198 |
3 |
72 |
21.6 |
39.7 |
2,705,397 |
37,477 |
66,348 |
119,749 |
1,291,873 |
1,293,775 |
32,527 |
42 |
132,696 |
1 |
| configure.ocaml |
no-host |
3,823 |
1 |
2 |
2.8 |
28.7 |
149,704 |
12,661 |
6,576 |
9,217 |
70,296 |
70,191 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
49 |
0 |
0 |
1.4 |
26.3 |
30,555 |
30,555 |
0 |
1,684 |
14,474 |
14,397 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,743 |
1 |
2 |
2.7 |
33.4 |
143,480 |
11,512 |
6,629 |
7,171 |
70,526 |
65,783 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
22 |
1 |
2 |
3.0 |
10.0 |
117,238 |
65,805 |
42,012 |
4,980 |
54,600 |
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 |
10 |
4.7 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
22 |
12 |
10 |
9.6 |
osh-native |
| 31 |
no-host |
abuild-print-help |
22 |
14 |
10 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
19 |
14 |
6 |
6.3 |
osh-static |
| 1 |
no-host |
bin-true |
638 |
316 |
361 |
3.3 |
bash |
| 9 |
no-host |
bin-true |
451 |
278 |
177 |
1.7 |
dash |
| 17 |
no-host |
bin-true |
835 |
298 |
554 |
8.9 |
osh-native |
| 25 |
no-host |
bin-true |
864 |
325 |
539 |
9.0 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
669 |
325 |
358 |
5.2 |
osh-static |
| 2 |
no-host |
configure.cpython |
14,403 |
7,947 |
6,850 |
34.7 |
bash |
| 10 |
no-host |
configure.cpython |
14,674 |
7,899 |
7,184 |
34.5 |
dash |
| 18 |
no-host |
configure.cpython |
14,486 |
7,505 |
7,258 |
34.5 |
osh-native |
| 26 |
no-host |
configure.cpython |
14,383 |
7,614 |
7,047 |
34.4 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
13,556 |
7,341 |
6,456 |
34.5 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,795 |
1,546 |
1,292 |
28.7 |
bash |
| 12 |
no-host |
configure.ocaml |
3,700 |
1,509 |
1,215 |
28.7 |
dash |
| 20 |
no-host |
configure.ocaml |
3,805 |
1,482 |
1,363 |
28.7 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,823 |
1,513 |
1,351 |
28.7 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,805 |
1,557 |
1,279 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
47 |
23 |
24 |
26.0 |
bash |
| 13 |
no-host |
configure.tcc |
42 |
22 |
20 |
26.1 |
dash |
| 21 |
no-host |
configure.tcc |
48 |
25 |
23 |
26.0 |
osh-native |
| 29 |
no-host |
configure.tcc |
49 |
25 |
25 |
26.3 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
46 |
23 |
23 |
26.2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,942 |
6,802 |
6,609 |
39.7 |
bash |
| 11 |
no-host |
configure.util-linux |
13,866 |
6,686 |
7,688 |
39.5 |
dash |
| 19 |
no-host |
configure.util-linux |
13,347 |
6,519 |
7,027 |
39.9 |
osh-native |
| 27 |
no-host |
configure.util-linux |
13,198 |
6,538 |
6,896 |
39.7 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,938 |
6,475 |
6,680 |
39.5 |
osh-static |
| 6 |
no-host |
configure.yash |
1,998 |
945 |
840 |
33.2 |
bash |
| 14 |
no-host |
configure.yash |
1,695 |
999 |
697 |
33.4 |
dash |
| 22 |
no-host |
configure.yash |
1,791 |
975 |
810 |
33.4 |
osh-native |
| 30 |
no-host |
configure.yash |
1,743 |
978 |
768 |
33.4 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,740 |
979 |
763 |
33.4 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.1 |
bash |
| 8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
| 16 |
no-host |
hello-world |
3 |
3 |
0 |
6.6 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
2 |
1 |
6.9 |
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,427 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,188 |
0 |
0 |
0 |
8 |
0 |
40 |
1 |
dash |
| 23 |
no-host |
abuild-print-help |
3,336 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,418 |
0 |
0 |
0 |
16 |
0 |
38 |
0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,823 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
102,480 |
0 |
0 |
0 |
8 |
0 |
1,994 |
70 |
bash |
| 9 |
no-host |
bin-true |
49,374 |
0 |
0 |
0 |
8 |
0 |
2,989 |
68 |
dash |
| 17 |
no-host |
bin-true |
133,617 |
0 |
0 |
0 |
16 |
0 |
1,992 |
73 |
osh-native |
| 25 |
no-host |
bin-true |
135,003 |
0 |
0 |
0 |
16 |
0 |
1,995 |
70 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
112,028 |
0 |
0 |
0 |
8 |
0 |
1,996 |
87 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,629,449 |
0 |
0 |
0 |
25,272 |
0 |
14,089 |
1,186 |
bash |
| 10 |
no-host |
configure.cpython |
1,646,136 |
0 |
0 |
0 |
25,272 |
0 |
14,139 |
1,009 |
dash |
| 18 |
no-host |
configure.cpython |
1,593,665 |
0 |
0 |
0 |
25,280 |
0 |
11,289 |
866 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,597,679 |
0 |
0 |
0 |
25,280 |
0 |
11,297 |
822 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,515,802 |
0 |
0 |
0 |
25,272 |
0 |
11,294 |
840 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,500 |
0 |
0 |
0 |
4,432 |
0 |
2,016 |
186 |
bash |
| 12 |
no-host |
configure.ocaml |
281,317 |
0 |
0 |
0 |
4,432 |
0 |
2,110 |
207 |
dash |
| 20 |
no-host |
configure.ocaml |
306,365 |
0 |
0 |
0 |
4,440 |
0 |
2,001 |
214 |
osh-native |
| 28 |
no-host |
configure.ocaml |
307,293 |
0 |
0 |
0 |
4,440 |
0 |
2,000 |
210 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,393 |
0 |
0 |
0 |
4,432 |
0 |
1,997 |
227 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,241 |
0 |
0 |
0 |
80 |
0 |
49 |
1 |
bash |
| 13 |
no-host |
configure.tcc |
4,213 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
5,579 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,646 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,125 |
0 |
0 |
0 |
88 |
0 |
44 |
2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,529,181 |
0 |
0 |
0 |
35,936 |
0 |
18,986 |
1,114 |
bash |
| 11 |
no-host |
configure.util-linux |
1,698,979 |
0 |
0 |
0 |
35,936 |
0 |
17,110 |
1,179 |
dash |
| 19 |
no-host |
configure.util-linux |
1,509,815 |
4 |
0 |
0 |
35,952 |
0 |
16,142 |
909 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,515,988 |
3 |
0 |
8 |
35,944 |
0 |
16,208 |
975 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,478,994 |
0 |
0 |
0 |
35,936 |
0 |
16,185 |
868 |
osh-static |
| 6 |
no-host |
configure.yash |
173,503 |
0 |
0 |
0 |
3,616 |
0 |
883 |
89 |
bash |
| 14 |
no-host |
configure.yash |
159,627 |
0 |
0 |
0 |
3,616 |
0 |
1,002 |
110 |
dash |
| 22 |
no-host |
configure.yash |
176,468 |
0 |
0 |
0 |
3,624 |
0 |
857 |
94 |
osh-native |
| 30 |
no-host |
configure.yash |
177,157 |
0 |
0 |
0 |
3,632 |
0 |
855 |
89 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
172,798 |
0 |
0 |
0 |
3,616 |
0 |
856 |
104 |
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 |
392 |
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 |
184 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host