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 |
15 |
9 |
20 |
21 |
17 |
1.31 |
1.15 |
| bin-true |
no-host |
616 |
432 |
790 |
785 |
646 |
1.28 |
1.05 |
| configure.cpython |
no-host |
13,323 |
13,359 |
12,958 |
13,044 |
12,562 |
0.97 |
0.94 |
| configure.ocaml |
no-host |
3,562 |
3,510 |
3,605 |
3,604 |
3,571 |
1.01 |
1.00 |
| configure.tcc |
no-host |
45 |
40 |
47 |
46 |
42 |
1.04 |
0.93 |
| configure.util-linux |
no-host |
12,122 |
12,885 |
12,045 |
12,153 |
11,747 |
0.99 |
0.97 |
| configure.yash |
no-host |
1,633 |
1,586 |
1,643 |
1,638 |
1,609 |
1.01 |
0.99 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.46 |
1.07 |
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,383 |
1,168 |
3,275 |
3,406 |
2,808 |
1.37 |
1.18 |
| bin-true |
no-host |
100,474 |
49,365 |
131,381 |
129,954 |
110,007 |
1.31 |
1.09 |
| configure.cpython |
no-host |
1,628,779 |
1,638,867 |
1,591,169 |
1,607,945 |
1,522,893 |
0.98 |
0.93 |
| configure.ocaml |
no-host |
299,333 |
280,672 |
305,255 |
306,416 |
300,914 |
1.02 |
1.01 |
| configure.tcc |
no-host |
5,233 |
4,213 |
5,611 |
5,681 |
5,139 |
1.07 |
0.98 |
| configure.util-linux |
no-host |
1,536,372 |
1,703,512 |
1,496,627 |
1,522,121 |
1,457,817 |
0.97 |
0.95 |
| configure.yash |
no-host |
173,331 |
159,547 |
176,750 |
177,097 |
173,091 |
1.02 |
1.00 |
| hello-world |
no-host |
153 |
89 |
389 |
394 |
183 |
2.54 |
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 |
790 |
1 |
2 |
3.5 |
8.8 |
151,881 |
10,750 |
2,964 |
14,775 |
72,390 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
12,958 |
1 |
62 |
14.8 |
34.4 |
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,045 |
3 |
61 |
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,605 |
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 |
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,643 |
1 |
2 |
2.7 |
33.4 |
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.6 |
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 |
785 |
1 |
2 |
3.5 |
9.2 |
151,881 |
10,754 |
2,968 |
14,775 |
72,390 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,044 |
1 |
62 |
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,153 |
3 |
61 |
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,604 |
1 |
2 |
2.8 |
28.7 |
149,681 |
12,647 |
6,562 |
9,207 |
70,290 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
46 |
0 |
0 |
1.4 |
26.1 |
30,530 |
30,530 |
0 |
1,674 |
14,467 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,638 |
1 |
2 |
2.7 |
33.4 |
143,443 |
11,459 |
6,615 |
7,160 |
70,503 |
65,780 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
21 |
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 |
15 |
6 |
10 |
4.7 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
5 |
4 |
4.1 |
dash |
| 23 |
no-host |
abuild-print-help |
20 |
13 |
8 |
9.6 |
osh-native |
| 31 |
no-host |
abuild-print-help |
21 |
12 |
10 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
17 |
13 |
5 |
6.4 |
osh-static |
| 1 |
no-host |
bin-true |
616 |
316 |
336 |
3.1 |
bash |
| 9 |
no-host |
bin-true |
432 |
277 |
162 |
1.4 |
dash |
| 17 |
no-host |
bin-true |
790 |
306 |
497 |
8.8 |
osh-native |
| 25 |
no-host |
bin-true |
785 |
318 |
484 |
9.2 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
646 |
331 |
330 |
5.2 |
osh-static |
| 2 |
no-host |
configure.cpython |
13,323 |
7,445 |
6,257 |
34.4 |
bash |
| 10 |
no-host |
configure.cpython |
13,359 |
7,353 |
6,402 |
34.5 |
dash |
| 18 |
no-host |
configure.cpython |
12,958 |
6,937 |
6,295 |
34.4 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,044 |
6,959 |
6,368 |
34.6 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
12,562 |
6,975 |
5,773 |
34.7 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,562 |
1,410 |
1,191 |
28.7 |
bash |
| 12 |
no-host |
configure.ocaml |
3,510 |
1,362 |
1,172 |
28.7 |
dash |
| 20 |
no-host |
configure.ocaml |
3,605 |
1,435 |
1,209 |
28.7 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,604 |
1,473 |
1,171 |
28.7 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,571 |
1,435 |
1,167 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
45 |
21 |
25 |
26.3 |
bash |
| 13 |
no-host |
configure.tcc |
40 |
27 |
13 |
26.3 |
dash |
| 21 |
no-host |
configure.tcc |
47 |
19 |
28 |
26.2 |
osh-native |
| 29 |
no-host |
configure.tcc |
46 |
26 |
20 |
26.1 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
42 |
19 |
24 |
26.3 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,122 |
6,451 |
6,127 |
39.6 |
bash |
| 11 |
no-host |
configure.util-linux |
12,885 |
6,404 |
6,959 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
12,045 |
5,932 |
6,339 |
39.6 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,153 |
6,079 |
6,294 |
39.7 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
11,747 |
6,013 |
5,951 |
39.6 |
osh-static |
| 6 |
no-host |
configure.yash |
1,633 |
933 |
708 |
33.4 |
bash |
| 14 |
no-host |
configure.yash |
1,586 |
903 |
686 |
33.3 |
dash |
| 22 |
no-host |
configure.yash |
1,643 |
922 |
724 |
33.4 |
osh-native |
| 30 |
no-host |
configure.yash |
1,638 |
903 |
739 |
33.4 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,609 |
911 |
701 |
33.1 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.3 |
bash |
| 8 |
no-host |
hello-world |
1 |
0 |
1 |
1.7 |
dash |
| 16 |
no-host |
hello-world |
3 |
3 |
0 |
6.6 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
1 |
2 |
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,383 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,168 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,275 |
0 |
0 |
0 |
16 |
0 |
38 |
1 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,406 |
0 |
0 |
0 |
16 |
0 |
38 |
1 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,808 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
100,474 |
0 |
0 |
0 |
8 |
0 |
1,998 |
76 |
bash |
| 9 |
no-host |
bin-true |
49,365 |
0 |
0 |
0 |
8 |
0 |
2,995 |
35 |
dash |
| 17 |
no-host |
bin-true |
131,381 |
0 |
0 |
0 |
16 |
0 |
1,999 |
89 |
osh-native |
| 25 |
no-host |
bin-true |
129,954 |
0 |
0 |
0 |
16 |
0 |
1,999 |
67 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
110,007 |
0 |
0 |
0 |
8 |
0 |
1,998 |
61 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,628,779 |
0 |
0 |
0 |
25,272 |
0 |
14,069 |
1,019 |
bash |
| 10 |
no-host |
configure.cpython |
1,638,867 |
0 |
0 |
0 |
25,272 |
0 |
14,113 |
998 |
dash |
| 18 |
no-host |
configure.cpython |
1,591,169 |
0 |
0 |
0 |
25,280 |
0 |
11,302 |
855 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,607,945 |
0 |
0 |
0 |
25,280 |
0 |
11,315 |
825 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,522,893 |
1 |
0 |
0 |
25,272 |
0 |
11,310 |
835 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,333 |
0 |
0 |
0 |
4,432 |
0 |
2,013 |
211 |
bash |
| 12 |
no-host |
configure.ocaml |
280,672 |
0 |
0 |
0 |
4,432 |
0 |
2,111 |
199 |
dash |
| 20 |
no-host |
configure.ocaml |
305,255 |
0 |
0 |
0 |
4,440 |
0 |
2,004 |
221 |
osh-native |
| 28 |
no-host |
configure.ocaml |
306,416 |
0 |
0 |
0 |
4,440 |
0 |
2,000 |
185 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,914 |
0 |
0 |
0 |
4,432 |
0 |
2,005 |
203 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,233 |
0 |
0 |
0 |
80 |
0 |
49 |
2 |
bash |
| 13 |
no-host |
configure.tcc |
4,213 |
0 |
0 |
0 |
88 |
0 |
52 |
1 |
dash |
| 21 |
no-host |
configure.tcc |
5,611 |
0 |
0 |
0 |
96 |
0 |
45 |
4 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,681 |
0 |
0 |
0 |
96 |
0 |
45 |
4 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,139 |
0 |
0 |
0 |
88 |
0 |
45 |
2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,536,372 |
2 |
0 |
232 |
35,944 |
0 |
18,955 |
1,022 |
bash |
| 11 |
no-host |
configure.util-linux |
1,703,512 |
1 |
0 |
0 |
35,936 |
0 |
17,050 |
1,195 |
dash |
| 19 |
no-host |
configure.util-linux |
1,496,627 |
1 |
0 |
0 |
35,952 |
0 |
16,227 |
925 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,522,121 |
0 |
0 |
0 |
35,952 |
0 |
16,204 |
960 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,457,817 |
0 |
0 |
0 |
35,944 |
0 |
16,127 |
891 |
osh-static |
| 6 |
no-host |
configure.yash |
173,331 |
0 |
0 |
0 |
3,616 |
0 |
874 |
99 |
bash |
| 14 |
no-host |
configure.yash |
159,547 |
0 |
0 |
0 |
3,616 |
0 |
1,003 |
91 |
dash |
| 22 |
no-host |
configure.yash |
176,750 |
0 |
0 |
0 |
3,624 |
0 |
857 |
99 |
osh-native |
| 30 |
no-host |
configure.yash |
177,097 |
0 |
0 |
0 |
3,624 |
0 |
859 |
95 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
173,091 |
0 |
0 |
0 |
3,616 |
0 |
856 |
99 |
osh-static |
| 0 |
no-host |
hello-world |
153 |
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 |
389 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 24 |
no-host |
hello-world |
394 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
183 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host