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.31 |
1.16 |
| bin-true |
no-host |
619 |
443 |
805 |
811 |
653 |
1.30 |
1.06 |
| configure.cpython |
no-host |
13,920 |
14,001 |
13,460 |
13,563 |
12,730 |
0.97 |
0.91 |
| configure.ocaml |
no-host |
3,694 |
3,602 |
3,695 |
3,748 |
3,615 |
1.00 |
0.98 |
| configure.tcc |
no-host |
46 |
41 |
46 |
47 |
43 |
1.01 |
0.93 |
| configure.util-linux |
no-host |
12,578 |
13,282 |
12,638 |
12,597 |
11,949 |
1.00 |
0.95 |
| configure.yash |
no-host |
1,706 |
1,657 |
1,699 |
1,723 |
1,645 |
1.00 |
0.96 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.29 |
1.05 |
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,395 |
1,171 |
3,365 |
3,446 |
2,808 |
1.41 |
1.17 |
| bin-true |
no-host |
101,466 |
49,363 |
134,579 |
136,564 |
111,376 |
1.33 |
1.10 |
| configure.cpython |
no-host |
1,620,884 |
1,634,827 |
1,582,621 |
1,620,097 |
1,521,849 |
0.98 |
0.94 |
| configure.ocaml |
no-host |
298,779 |
281,293 |
305,256 |
307,609 |
299,721 |
1.02 |
1.00 |
| configure.tcc |
no-host |
5,261 |
4,239 |
5,542 |
5,672 |
5,112 |
1.05 |
0.97 |
| configure.util-linux |
no-host |
1,543,461 |
1,692,433 |
1,502,803 |
1,506,285 |
1,450,410 |
0.97 |
0.94 |
| configure.yash |
no-host |
173,059 |
159,548 |
176,888 |
177,641 |
172,614 |
1.02 |
1.00 |
| hello-world |
no-host |
153 |
82 |
390 |
393 |
181 |
2.55 |
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 |
805 |
1 |
2 |
3.5 |
8.7 |
152,882 |
11,691 |
2,964 |
14,775 |
73,391 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,460 |
1 |
65 |
14.8 |
34.4 |
1,753,364 |
36,445 |
28,935 |
93,071 |
872,316 |
787,977 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,638 |
3 |
65 |
21.6 |
39.6 |
2,709,910 |
37,457 |
66,323 |
119,739 |
1,296,433 |
1,293,738 |
32,527 |
42 |
132,646 |
1 |
| configure.ocaml |
no-host |
3,695 |
1 |
2 |
2.8 |
28.6 |
149,932 |
12,652 |
6,557 |
9,207 |
70,540 |
70,185 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
46 |
0 |
0 |
1.4 |
26.1 |
30,574 |
30,574 |
0 |
1,674 |
14,510 |
14,390 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,699 |
1 |
2 |
2.7 |
33.4 |
143,736 |
11,764 |
6,618 |
7,160 |
70,796 |
65,780 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
20 |
1 |
2 |
3.0 |
9.6 |
117,251 |
65,784 |
41,994 |
4,969 |
54,631 |
57,651 |
277 |
3 |
83,988 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.8 |
3,895 |
3,895 |
0 |
715 |
1,916 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
811 |
1 |
2 |
3.5 |
9.0 |
152,882 |
11,695 |
2,968 |
14,775 |
73,391 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,563 |
1 |
64 |
14.9 |
34.4 |
1,753,363 |
36,450 |
28,940 |
93,070 |
872,316 |
787,977 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,597 |
3 |
64 |
21.6 |
39.7 |
2,709,910 |
37,463 |
66,329 |
119,739 |
1,296,433 |
1,293,738 |
32,527 |
42 |
132,658 |
1 |
| configure.ocaml |
no-host |
3,748 |
1 |
2 |
2.8 |
28.7 |
149,932 |
12,657 |
6,562 |
9,207 |
70,540 |
70,185 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.0 |
30,574 |
30,574 |
0 |
1,674 |
14,510 |
14,390 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,723 |
1 |
2 |
2.7 |
33.4 |
143,736 |
11,768 |
6,622 |
7,160 |
70,796 |
65,780 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
22 |
1 |
2 |
3.0 |
10.0 |
117,251 |
65,788 |
41,998 |
4,969 |
54,631 |
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 |
7 |
10 |
4.8 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
4 |
6 |
4.1 |
dash |
| 23 |
no-host |
abuild-print-help |
20 |
11 |
10 |
9.6 |
osh-native |
| 31 |
no-host |
abuild-print-help |
22 |
12 |
11 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
18 |
10 |
9 |
6.4 |
osh-static |
| 1 |
no-host |
bin-true |
619 |
313 |
345 |
3.3 |
bash |
| 9 |
no-host |
bin-true |
443 |
273 |
176 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
805 |
318 |
503 |
8.7 |
osh-native |
| 25 |
no-host |
bin-true |
811 |
315 |
511 |
9.0 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
653 |
329 |
341 |
5.1 |
osh-static |
| 2 |
no-host |
configure.cpython |
13,920 |
7,573 |
6,737 |
34.5 |
bash |
| 10 |
no-host |
configure.cpython |
14,001 |
7,756 |
6,652 |
34.7 |
dash |
| 18 |
no-host |
configure.cpython |
13,460 |
7,220 |
6,511 |
34.4 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,563 |
7,137 |
6,715 |
34.4 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
12,730 |
7,039 |
5,922 |
34.5 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,694 |
1,487 |
1,247 |
28.5 |
bash |
| 12 |
no-host |
configure.ocaml |
3,602 |
1,488 |
1,139 |
28.7 |
dash |
| 20 |
no-host |
configure.ocaml |
3,695 |
1,437 |
1,297 |
28.6 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,748 |
1,478 |
1,312 |
28.7 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,615 |
1,454 |
1,192 |
28.5 |
osh-static |
| 5 |
no-host |
configure.tcc |
46 |
25 |
22 |
26.2 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
23 |
18 |
26.2 |
dash |
| 21 |
no-host |
configure.tcc |
46 |
26 |
21 |
26.1 |
osh-native |
| 29 |
no-host |
configure.tcc |
47 |
26 |
21 |
26.0 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
43 |
21 |
23 |
26.0 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,578 |
6,526 |
6,528 |
39.6 |
bash |
| 11 |
no-host |
configure.util-linux |
13,282 |
6,533 |
7,246 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
12,638 |
6,310 |
6,555 |
39.6 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,597 |
6,258 |
6,561 |
39.7 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
11,949 |
6,134 |
6,029 |
39.7 |
osh-static |
| 6 |
no-host |
configure.yash |
1,706 |
913 |
801 |
33.4 |
bash |
| 14 |
no-host |
configure.yash |
1,657 |
957 |
701 |
33.2 |
dash |
| 22 |
no-host |
configure.yash |
1,699 |
967 |
735 |
33.4 |
osh-native |
| 30 |
no-host |
configure.yash |
1,723 |
923 |
802 |
33.4 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,645 |
916 |
733 |
33.3 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
1 |
0 |
3.3 |
bash |
| 8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
| 16 |
no-host |
hello-world |
3 |
1 |
2 |
6.6 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
2 |
1 |
6.8 |
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,395 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,171 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,365 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,446 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,808 |
0 |
0 |
0 |
8 |
0 |
38 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
101,466 |
0 |
0 |
0 |
8 |
0 |
1,997 |
68 |
bash |
| 9 |
no-host |
bin-true |
49,363 |
0 |
0 |
0 |
8 |
0 |
3,000 |
58 |
dash |
| 17 |
no-host |
bin-true |
134,579 |
0 |
0 |
0 |
16 |
0 |
1,999 |
91 |
osh-native |
| 25 |
no-host |
bin-true |
136,564 |
0 |
0 |
0 |
16 |
0 |
1,999 |
78 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
111,376 |
0 |
0 |
0 |
8 |
0 |
1,997 |
62 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,620,884 |
0 |
0 |
0 |
25,272 |
0 |
14,064 |
1,141 |
bash |
| 10 |
no-host |
configure.cpython |
1,634,827 |
0 |
0 |
0 |
25,272 |
0 |
14,090 |
1,000 |
dash |
| 18 |
no-host |
configure.cpython |
1,582,621 |
0 |
0 |
0 |
25,280 |
0 |
11,301 |
838 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,620,097 |
0 |
0 |
0 |
25,280 |
0 |
11,305 |
911 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,521,849 |
1 |
0 |
0 |
25,272 |
0 |
11,289 |
902 |
osh-static |
| 4 |
no-host |
configure.ocaml |
298,779 |
0 |
0 |
0 |
4,432 |
0 |
2,016 |
182 |
bash |
| 12 |
no-host |
configure.ocaml |
281,293 |
0 |
0 |
0 |
4,432 |
0 |
2,109 |
185 |
dash |
| 20 |
no-host |
configure.ocaml |
305,256 |
0 |
0 |
8 |
4,440 |
0 |
2,002 |
244 |
osh-native |
| 28 |
no-host |
configure.ocaml |
307,609 |
0 |
0 |
0 |
4,440 |
0 |
1,997 |
202 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
299,721 |
0 |
0 |
0 |
4,432 |
0 |
1,998 |
254 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,261 |
0 |
0 |
0 |
80 |
0 |
49 |
2 |
bash |
| 13 |
no-host |
configure.tcc |
4,239 |
0 |
0 |
0 |
88 |
0 |
52 |
3 |
dash |
| 21 |
no-host |
configure.tcc |
5,542 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,672 |
0 |
0 |
0 |
96 |
0 |
45 |
1 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,112 |
0 |
0 |
0 |
88 |
0 |
45 |
2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,543,461 |
1 |
0 |
0 |
35,944 |
0 |
18,998 |
1,016 |
bash |
| 11 |
no-host |
configure.util-linux |
1,692,433 |
1 |
0 |
0 |
35,936 |
0 |
17,087 |
1,145 |
dash |
| 19 |
no-host |
configure.util-linux |
1,502,803 |
2 |
0 |
0 |
35,952 |
0 |
16,154 |
896 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,506,285 |
0 |
0 |
0 |
35,944 |
0 |
16,212 |
958 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,450,410 |
1 |
0 |
0 |
35,936 |
0 |
16,189 |
903 |
osh-static |
| 6 |
no-host |
configure.yash |
173,059 |
0 |
0 |
0 |
3,616 |
0 |
879 |
111 |
bash |
| 14 |
no-host |
configure.yash |
159,548 |
0 |
0 |
0 |
3,616 |
0 |
1,002 |
177 |
dash |
| 22 |
no-host |
configure.yash |
176,888 |
0 |
0 |
0 |
3,624 |
0 |
855 |
90 |
osh-native |
| 30 |
no-host |
configure.yash |
177,641 |
0 |
0 |
0 |
3,624 |
0 |
858 |
100 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
172,614 |
0 |
0 |
0 |
3,616 |
0 |
856 |
85 |
osh-static |
| 0 |
no-host |
hello-world |
153 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
82 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
390 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 24 |
no-host |
hello-world |
393 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
181 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host