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 |
20 |
22 |
18 |
1.29 |
1.15 |
| bin-true |
no-host |
623 |
443 |
801 |
813 |
663 |
1.29 |
1.06 |
| configure.cpython |
no-host |
13,845 |
13,980 |
13,483 |
13,608 |
13,017 |
0.97 |
0.94 |
| configure.ocaml |
no-host |
3,661 |
3,615 |
3,705 |
3,717 |
3,682 |
1.01 |
1.01 |
| configure.tcc |
no-host |
46 |
41 |
46 |
47 |
44 |
1.01 |
0.96 |
| configure.util-linux |
no-host |
12,519 |
13,314 |
12,498 |
12,611 |
12,169 |
1.00 |
0.97 |
| configure.yash |
no-host |
1,708 |
1,643 |
1,705 |
1,703 |
1,677 |
1.00 |
0.98 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.42 |
1.00 |
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,183 |
3,289 |
3,417 |
2,810 |
1.38 |
1.18 |
| bin-true |
no-host |
101,406 |
49,433 |
132,359 |
134,980 |
111,012 |
1.31 |
1.09 |
| configure.cpython |
no-host |
1,621,203 |
1,637,050 |
1,592,172 |
1,599,126 |
1,522,763 |
0.98 |
0.94 |
| configure.ocaml |
no-host |
299,240 |
281,056 |
305,596 |
307,679 |
300,928 |
1.02 |
1.01 |
| configure.tcc |
no-host |
5,233 |
4,201 |
5,622 |
5,704 |
5,154 |
1.07 |
0.98 |
| configure.util-linux |
no-host |
1,543,170 |
1,703,679 |
1,500,344 |
1,520,012 |
1,457,951 |
0.97 |
0.94 |
| configure.yash |
no-host |
173,164 |
159,497 |
177,080 |
176,866 |
173,148 |
1.02 |
1.00 |
| hello-world |
no-host |
152 |
84 |
390 |
400 |
180 |
2.57 |
1.18 |
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,896 |
3,896 |
0 |
716 |
1,916 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
801 |
1 |
2 |
3.5 |
8.7 |
151,881 |
10,750 |
2,964 |
14,775 |
72,390 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,483 |
1 |
66 |
14.8 |
34.6 |
1,750,743 |
35,378 |
28,935 |
93,071 |
869,707 |
787,965 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,498 |
3 |
66 |
21.6 |
39.6 |
2,705,279 |
37,450 |
66,323 |
119,739 |
1,291,802 |
1,293,738 |
32,527 |
42 |
132,646 |
1 |
| configure.ocaml |
no-host |
3,705 |
1 |
2 |
2.8 |
28.7 |
149,681 |
12,642 |
6,557 |
9,207 |
70,290 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
46 |
0 |
0 |
1.4 |
26.2 |
30,530 |
30,530 |
0 |
1,674 |
14,467 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,705 |
1 |
2 |
2.7 |
33.1 |
143,443 |
11,455 |
6,611 |
7,160 |
70,503 |
65,780 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
20 |
1 |
2 |
3.0 |
9.4 |
117,212 |
65,784 |
41,994 |
4,969 |
54,592 |
57,651 |
277 |
3 |
83,988 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.9 |
3,895 |
3,895 |
0 |
715 |
1,916 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
813 |
1 |
2 |
3.5 |
9.3 |
151,881 |
10,754 |
2,968 |
14,775 |
72,390 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,608 |
1 |
68 |
14.8 |
34.4 |
1,750,742 |
35,383 |
28,940 |
93,070 |
869,707 |
787,965 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,611 |
3 |
66 |
21.6 |
39.6 |
2,705,279 |
37,456 |
66,329 |
119,739 |
1,291,802 |
1,293,738 |
32,527 |
42 |
132,658 |
1 |
| configure.ocaml |
no-host |
3,717 |
1 |
2 |
2.8 |
28.5 |
149,681 |
12,647 |
6,562 |
9,207 |
70,290 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.2 |
30,530 |
30,530 |
0 |
1,674 |
14,467 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,703 |
1 |
2 |
2.7 |
33.1 |
143,443 |
11,459 |
6,615 |
7,160 |
70,503 |
65,780 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
22 |
1 |
2 |
3.0 |
9.8 |
117,212 |
65,788 |
41,998 |
4,969 |
54,592 |
57,651 |
277 |
3 |
83,996 |
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 |
9 |
7 |
4.8 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
2 |
7 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
20 |
9 |
12 |
9.4 |
osh-native |
| 31 |
no-host |
abuild-print-help |
22 |
13 |
10 |
9.8 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
18 |
11 |
8 |
6.4 |
osh-static |
| 1 |
no-host |
bin-true |
623 |
316 |
345 |
3.1 |
bash |
| 9 |
no-host |
bin-true |
443 |
280 |
168 |
1.4 |
dash |
| 17 |
no-host |
bin-true |
801 |
312 |
504 |
8.7 |
osh-native |
| 25 |
no-host |
bin-true |
813 |
301 |
530 |
9.3 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
663 |
312 |
369 |
5.4 |
osh-static |
| 2 |
no-host |
configure.cpython |
13,845 |
7,526 |
6,705 |
34.6 |
bash |
| 10 |
no-host |
configure.cpython |
13,980 |
7,667 |
6,718 |
34.7 |
dash |
| 18 |
no-host |
configure.cpython |
13,483 |
7,110 |
6,654 |
34.6 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,608 |
7,235 |
6,659 |
34.4 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
13,017 |
7,240 |
6,023 |
34.5 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,661 |
1,458 |
1,243 |
28.5 |
bash |
| 12 |
no-host |
configure.ocaml |
3,615 |
1,460 |
1,180 |
28.6 |
dash |
| 20 |
no-host |
configure.ocaml |
3,705 |
1,468 |
1,275 |
28.7 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,717 |
1,449 |
1,310 |
28.5 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,682 |
1,509 |
1,205 |
28.8 |
osh-static |
| 5 |
no-host |
configure.tcc |
46 |
20 |
26 |
26.0 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
23 |
18 |
26.1 |
dash |
| 21 |
no-host |
configure.tcc |
46 |
24 |
22 |
26.2 |
osh-native |
| 29 |
no-host |
configure.tcc |
47 |
24 |
24 |
26.2 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
44 |
22 |
22 |
26.2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,519 |
6,635 |
6,348 |
39.6 |
bash |
| 11 |
no-host |
configure.util-linux |
13,314 |
6,493 |
7,315 |
39.7 |
dash |
| 19 |
no-host |
configure.util-linux |
12,498 |
6,289 |
6,432 |
39.6 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,611 |
6,207 |
6,635 |
39.6 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,169 |
6,252 |
6,132 |
39.6 |
osh-static |
| 6 |
no-host |
configure.yash |
1,708 |
912 |
804 |
33.4 |
bash |
| 14 |
no-host |
configure.yash |
1,643 |
942 |
704 |
33.2 |
dash |
| 22 |
no-host |
configure.yash |
1,705 |
920 |
787 |
33.1 |
osh-native |
| 30 |
no-host |
configure.yash |
1,703 |
974 |
732 |
33.1 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,677 |
954 |
726 |
33.3 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.1 |
bash |
| 8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
3 |
1 |
2 |
6.6 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
2 |
1 |
6.9 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
1 |
1 |
0 |
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 |
1 |
bash |
| 15 |
no-host |
abuild-print-help |
1,183 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,289 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,417 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,810 |
0 |
0 |
0 |
8 |
0 |
38 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
101,406 |
0 |
0 |
0 |
8 |
0 |
1,999 |
67 |
bash |
| 9 |
no-host |
bin-true |
49,433 |
0 |
0 |
0 |
8 |
0 |
2,990 |
47 |
dash |
| 17 |
no-host |
bin-true |
132,359 |
0 |
0 |
0 |
16 |
0 |
1,998 |
77 |
osh-native |
| 25 |
no-host |
bin-true |
134,980 |
0 |
0 |
0 |
16 |
0 |
1,996 |
81 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
111,012 |
0 |
0 |
0 |
8 |
0 |
1,999 |
61 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,621,203 |
0 |
0 |
0 |
25,272 |
0 |
14,083 |
975 |
bash |
| 10 |
no-host |
configure.cpython |
1,637,050 |
0 |
0 |
0 |
25,272 |
0 |
14,120 |
1,054 |
dash |
| 18 |
no-host |
configure.cpython |
1,592,172 |
0 |
0 |
0 |
25,280 |
0 |
11,295 |
872 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,599,126 |
0 |
0 |
0 |
25,280 |
0 |
11,312 |
878 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,522,763 |
0 |
0 |
0 |
25,272 |
0 |
11,307 |
780 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,240 |
0 |
0 |
0 |
4,432 |
0 |
2,013 |
219 |
bash |
| 12 |
no-host |
configure.ocaml |
281,056 |
0 |
0 |
0 |
4,432 |
0 |
2,100 |
206 |
dash |
| 20 |
no-host |
configure.ocaml |
305,596 |
0 |
0 |
0 |
4,440 |
0 |
2,003 |
236 |
osh-native |
| 28 |
no-host |
configure.ocaml |
307,679 |
0 |
0 |
0 |
4,440 |
0 |
1,999 |
210 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,928 |
0 |
0 |
0 |
4,432 |
0 |
1,998 |
243 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,233 |
0 |
0 |
0 |
80 |
0 |
49 |
3 |
bash |
| 13 |
no-host |
configure.tcc |
4,201 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
5,622 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,704 |
0 |
0 |
0 |
96 |
0 |
45 |
1 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,154 |
0 |
0 |
0 |
88 |
0 |
45 |
3 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,543,170 |
0 |
0 |
232 |
35,944 |
0 |
18,966 |
1,055 |
bash |
| 11 |
no-host |
configure.util-linux |
1,703,679 |
2 |
0 |
0 |
35,936 |
0 |
17,065 |
1,213 |
dash |
| 19 |
no-host |
configure.util-linux |
1,500,344 |
2 |
0 |
0 |
35,952 |
0 |
16,218 |
945 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,520,012 |
1 |
0 |
0 |
35,944 |
0 |
16,228 |
832 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,457,951 |
2 |
0 |
0 |
35,936 |
0 |
16,135 |
917 |
osh-static |
| 6 |
no-host |
configure.yash |
173,164 |
0 |
0 |
0 |
3,616 |
0 |
878 |
106 |
bash |
| 14 |
no-host |
configure.yash |
159,497 |
0 |
0 |
0 |
3,616 |
0 |
1,003 |
99 |
dash |
| 22 |
no-host |
configure.yash |
177,080 |
0 |
0 |
0 |
3,624 |
0 |
855 |
104 |
osh-native |
| 30 |
no-host |
configure.yash |
176,866 |
0 |
0 |
0 |
3,624 |
0 |
857 |
86 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
173,148 |
0 |
0 |
0 |
3,616 |
0 |
859 |
95 |
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 |
390 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
| 24 |
no-host |
hello-world |
400 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
180 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host