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.30 |
1.16 |
| bin-true |
no-host |
625 |
457 |
826 |
815 |
663 |
1.32 |
1.06 |
| configure.cpython |
no-host |
14,176 |
14,296 |
13,978 |
14,043 |
13,373 |
0.99 |
0.94 |
| configure.ocaml |
no-host |
3,720 |
3,707 |
3,799 |
3,793 |
3,772 |
1.02 |
1.01 |
| configure.tcc |
no-host |
48 |
42 |
49 |
48 |
44 |
1.03 |
0.92 |
| configure.util-linux |
no-host |
12,923 |
13,728 |
12,876 |
12,977 |
12,522 |
1.00 |
0.97 |
| configure.yash |
no-host |
1,744 |
1,695 |
1,766 |
1,758 |
1,719 |
1.01 |
0.99 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.29 |
0.97 |
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,386 |
1,175 |
3,329 |
3,395 |
2,807 |
1.40 |
1.18 |
| bin-true |
no-host |
101,444 |
49,368 |
135,357 |
132,991 |
110,060 |
1.33 |
1.08 |
| configure.cpython |
no-host |
1,625,565 |
1,638,985 |
1,590,096 |
1,606,404 |
1,522,331 |
0.98 |
0.94 |
| configure.ocaml |
no-host |
298,411 |
280,875 |
306,102 |
306,030 |
300,911 |
1.03 |
1.01 |
| configure.tcc |
no-host |
5,266 |
4,216 |
5,631 |
5,678 |
5,132 |
1.07 |
0.97 |
| configure.util-linux |
no-host |
1,538,429 |
1,702,592 |
1,505,589 |
1,510,775 |
1,456,863 |
0.98 |
0.95 |
| configure.yash |
no-host |
173,223 |
159,602 |
176,561 |
177,291 |
172,993 |
1.02 |
1.00 |
| hello-world |
no-host |
152 |
87 |
388 |
398 |
182 |
2.55 |
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.6 |
3,896 |
3,896 |
0 |
716 |
1,916 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
826 |
1 |
2 |
3.5 |
8.9 |
151,881 |
10,750 |
2,964 |
14,775 |
72,390 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,978 |
1 |
69 |
14.8 |
34.5 |
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,876 |
3 |
69 |
21.6 |
39.7 |
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,799 |
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 |
49 |
0 |
0 |
1.4 |
26.0 |
30,530 |
30,530 |
0 |
1,674 |
14,467 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,766 |
1 |
2 |
2.7 |
33.3 |
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 |
7.1 |
3,895 |
3,895 |
0 |
715 |
1,916 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
815 |
1 |
2 |
3.5 |
9.0 |
151,881 |
10,754 |
2,968 |
14,775 |
72,390 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,043 |
1 |
68 |
14.8 |
34.6 |
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,977 |
3 |
70 |
21.6 |
39.7 |
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,793 |
1 |
2 |
2.8 |
28.6 |
149,681 |
12,647 |
6,562 |
9,207 |
70,290 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
48 |
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,758 |
1 |
2 |
2.7 |
33.3 |
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 |
10.0 |
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 |
10 |
6 |
4.8 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
5 |
4 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
20 |
13 |
8 |
9.4 |
osh-native |
| 31 |
no-host |
abuild-print-help |
22 |
11 |
12 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
18 |
10 |
9 |
6.4 |
osh-static |
| 1 |
no-host |
bin-true |
625 |
309 |
354 |
3.3 |
bash |
| 9 |
no-host |
bin-true |
457 |
290 |
170 |
1.4 |
dash |
| 17 |
no-host |
bin-true |
826 |
307 |
532 |
8.9 |
osh-native |
| 25 |
no-host |
bin-true |
815 |
327 |
503 |
9.0 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
663 |
324 |
354 |
5.2 |
osh-static |
| 2 |
no-host |
configure.cpython |
14,176 |
7,748 |
6,818 |
34.4 |
bash |
| 10 |
no-host |
configure.cpython |
14,296 |
7,866 |
6,839 |
34.5 |
dash |
| 18 |
no-host |
configure.cpython |
13,978 |
7,420 |
6,842 |
34.5 |
osh-native |
| 26 |
no-host |
configure.cpython |
14,043 |
7,373 |
6,950 |
34.6 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
13,373 |
7,317 |
6,297 |
34.5 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,720 |
1,536 |
1,224 |
28.7 |
bash |
| 12 |
no-host |
configure.ocaml |
3,707 |
1,472 |
1,261 |
28.6 |
dash |
| 20 |
no-host |
configure.ocaml |
3,799 |
1,554 |
1,285 |
28.7 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,793 |
1,517 |
1,317 |
28.6 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,772 |
1,525 |
1,277 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
48 |
25 |
23 |
26.2 |
bash |
| 13 |
no-host |
configure.tcc |
42 |
24 |
18 |
26.0 |
dash |
| 21 |
no-host |
configure.tcc |
49 |
28 |
22 |
26.0 |
osh-native |
| 29 |
no-host |
configure.tcc |
48 |
24 |
25 |
26.2 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
44 |
27 |
18 |
26.1 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,923 |
6,635 |
6,756 |
39.6 |
bash |
| 11 |
no-host |
configure.util-linux |
13,728 |
6,735 |
7,482 |
39.7 |
dash |
| 19 |
no-host |
configure.util-linux |
12,876 |
6,285 |
6,818 |
39.7 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,977 |
6,420 |
6,776 |
39.7 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,522 |
6,360 |
6,382 |
39.6 |
osh-static |
| 6 |
no-host |
configure.yash |
1,744 |
969 |
782 |
33.4 |
bash |
| 14 |
no-host |
configure.yash |
1,695 |
938 |
758 |
33.1 |
dash |
| 22 |
no-host |
configure.yash |
1,766 |
955 |
814 |
33.3 |
osh-native |
| 30 |
no-host |
configure.yash |
1,758 |
967 |
794 |
33.3 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,719 |
981 |
739 |
33.3 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.3 |
bash |
| 8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
3 |
1 |
2 |
6.6 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
2 |
1 |
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,386 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,175 |
0 |
0 |
0 |
8 |
0 |
38 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,329 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,395 |
0 |
0 |
0 |
16 |
0 |
38 |
1 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,807 |
0 |
0 |
0 |
8 |
0 |
38 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
101,444 |
0 |
0 |
0 |
8 |
0 |
1,997 |
71 |
bash |
| 9 |
no-host |
bin-true |
49,368 |
0 |
0 |
0 |
8 |
0 |
2,991 |
64 |
dash |
| 17 |
no-host |
bin-true |
135,357 |
0 |
0 |
0 |
16 |
0 |
1,992 |
97 |
osh-native |
| 25 |
no-host |
bin-true |
132,991 |
0 |
0 |
0 |
16 |
0 |
1,997 |
99 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
110,060 |
0 |
0 |
0 |
8 |
0 |
1,998 |
100 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,625,565 |
0 |
0 |
0 |
25,272 |
0 |
14,062 |
1,078 |
bash |
| 10 |
no-host |
configure.cpython |
1,638,985 |
0 |
0 |
0 |
25,272 |
0 |
14,124 |
1,024 |
dash |
| 18 |
no-host |
configure.cpython |
1,590,096 |
1 |
0 |
0 |
25,280 |
0 |
11,296 |
834 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,606,404 |
0 |
0 |
0 |
25,280 |
0 |
11,306 |
832 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,522,331 |
0 |
0 |
0 |
25,272 |
0 |
11,304 |
838 |
osh-static |
| 4 |
no-host |
configure.ocaml |
298,411 |
0 |
0 |
0 |
4,432 |
0 |
2,020 |
184 |
bash |
| 12 |
no-host |
configure.ocaml |
280,875 |
0 |
0 |
0 |
4,432 |
0 |
2,098 |
195 |
dash |
| 20 |
no-host |
configure.ocaml |
306,102 |
0 |
0 |
0 |
4,440 |
0 |
1,999 |
232 |
osh-native |
| 28 |
no-host |
configure.ocaml |
306,030 |
0 |
0 |
0 |
4,440 |
0 |
1,998 |
208 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,911 |
0 |
0 |
0 |
4,432 |
0 |
1,996 |
211 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,266 |
0 |
0 |
0 |
80 |
0 |
49 |
2 |
bash |
| 13 |
no-host |
configure.tcc |
4,216 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
5,631 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,678 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,132 |
0 |
0 |
0 |
88 |
0 |
45 |
1 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,538,429 |
2 |
0 |
232 |
35,944 |
0 |
19,054 |
1,053 |
bash |
| 11 |
no-host |
configure.util-linux |
1,702,592 |
4 |
0 |
0 |
35,936 |
0 |
17,123 |
1,262 |
dash |
| 19 |
no-host |
configure.util-linux |
1,505,589 |
0 |
0 |
0 |
35,952 |
0 |
16,128 |
914 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,510,775 |
0 |
0 |
0 |
35,944 |
0 |
16,221 |
950 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,456,863 |
2 |
0 |
0 |
35,936 |
0 |
16,210 |
933 |
osh-static |
| 6 |
no-host |
configure.yash |
173,223 |
0 |
0 |
0 |
3,616 |
0 |
877 |
105 |
bash |
| 14 |
no-host |
configure.yash |
159,602 |
0 |
0 |
0 |
3,616 |
0 |
1,002 |
98 |
dash |
| 22 |
no-host |
configure.yash |
176,561 |
0 |
0 |
0 |
3,632 |
0 |
859 |
95 |
osh-native |
| 30 |
no-host |
configure.yash |
177,291 |
0 |
0 |
0 |
3,624 |
0 |
859 |
91 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
172,993 |
0 |
0 |
0 |
3,624 |
0 |
858 |
103 |
osh-static |
| 0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
87 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
388 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 24 |
no-host |
hello-world |
398 |
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