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 |
21 |
18 |
1.31 |
1.17 |
| bin-true |
no-host |
636 |
451 |
812 |
809 |
653 |
1.28 |
1.03 |
| configure.cpython |
no-host |
13,882 |
13,841 |
13,495 |
13,617 |
13,039 |
0.97 |
0.94 |
| configure.ocaml |
no-host |
3,677 |
3,600 |
3,736 |
3,720 |
3,670 |
1.02 |
1.00 |
| configure.tcc |
no-host |
45 |
41 |
47 |
47 |
43 |
1.04 |
0.96 |
| configure.util-linux |
no-host |
12,587 |
13,249 |
12,608 |
12,637 |
12,194 |
1.00 |
0.97 |
| configure.yash |
no-host |
1,692 |
1,632 |
1,713 |
1,700 |
1,672 |
1.01 |
0.99 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.33 |
0.98 |
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,399 |
1,157 |
3,311 |
3,387 |
2,817 |
1.38 |
1.17 |
| bin-true |
no-host |
101,502 |
49,377 |
135,301 |
134,047 |
110,295 |
1.33 |
1.09 |
| configure.cpython |
no-host |
1,630,607 |
1,645,125 |
1,590,742 |
1,596,618 |
1,514,537 |
0.98 |
0.93 |
| configure.ocaml |
no-host |
298,750 |
280,901 |
306,968 |
307,444 |
299,935 |
1.03 |
1.00 |
| configure.tcc |
no-host |
5,250 |
4,212 |
5,601 |
5,658 |
5,112 |
1.07 |
0.97 |
| configure.util-linux |
no-host |
1,537,836 |
1,696,693 |
1,503,342 |
1,518,374 |
1,472,104 |
0.98 |
0.96 |
| configure.yash |
no-host |
173,216 |
159,563 |
176,900 |
177,407 |
172,745 |
1.02 |
1.00 |
| hello-world |
no-host |
152 |
86 |
394 |
400 |
183 |
2.59 |
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,920 |
3,920 |
0 |
726 |
1,923 |
1,271 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
812 |
1 |
2 |
3.5 |
8.9 |
151,905 |
10,764 |
2,978 |
14,785 |
72,397 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,495 |
1 |
67 |
14.8 |
34.5 |
1,750,907 |
35,429 |
28,954 |
93,081 |
869,789 |
788,037 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,608 |
3 |
67 |
21.6 |
39.7 |
2,705,473 |
37,501 |
66,342 |
119,749 |
1,291,899 |
1,293,825 |
32,527 |
42 |
132,684 |
1 |
| configure.ocaml |
no-host |
3,736 |
1 |
2 |
2.8 |
28.7 |
149,720 |
12,656 |
6,571 |
9,217 |
70,302 |
70,201 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.3 |
30,556 |
30,556 |
0 |
1,684 |
14,475 |
14,397 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,713 |
1 |
2 |
2.7 |
33.4 |
143,538 |
11,666 |
6,632 |
7,172 |
70,560 |
65,806 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
20 |
1 |
2 |
3.0 |
9.4 |
117,263 |
65,801 |
42,008 |
4,981 |
54,612 |
57,670 |
277 |
3 |
84,016 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
7.2 |
3,919 |
3,919 |
0 |
725 |
1,923 |
1,271 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
809 |
1 |
2 |
3.5 |
9.2 |
151,905 |
10,768 |
2,982 |
14,785 |
72,397 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,617 |
1 |
66 |
14.9 |
34.6 |
1,750,906 |
36,488 |
28,959 |
93,080 |
869,789 |
788,037 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,637 |
3 |
65 |
21.6 |
39.7 |
2,705,473 |
37,507 |
66,348 |
119,749 |
1,291,899 |
1,293,825 |
32,527 |
42 |
132,696 |
1 |
| configure.ocaml |
no-host |
3,720 |
1 |
2 |
2.8 |
28.7 |
149,720 |
12,661 |
6,576 |
9,217 |
70,302 |
70,201 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.2 |
30,556 |
30,556 |
0 |
1,684 |
14,475 |
14,397 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,700 |
1 |
2 |
2.7 |
33.3 |
143,538 |
11,670 |
6,636 |
7,172 |
70,560 |
65,806 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
21 |
1 |
2 |
3.0 |
10.0 |
117,263 |
65,805 |
42,012 |
4,981 |
54,612 |
57,670 |
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 |
16 |
9 |
7 |
4.8 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
3 |
6 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
20 |
12 |
9 |
9.4 |
osh-native |
| 31 |
no-host |
abuild-print-help |
21 |
9 |
13 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
18 |
7 |
12 |
6.3 |
osh-static |
| 1 |
no-host |
bin-true |
636 |
311 |
365 |
3.3 |
bash |
| 9 |
no-host |
bin-true |
451 |
287 |
167 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
812 |
302 |
527 |
8.9 |
osh-native |
| 25 |
no-host |
bin-true |
809 |
315 |
511 |
9.2 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
653 |
314 |
355 |
5.4 |
osh-static |
| 2 |
no-host |
configure.cpython |
13,882 |
7,630 |
6,649 |
34.7 |
bash |
| 10 |
no-host |
configure.cpython |
13,841 |
7,677 |
6,571 |
34.8 |
dash |
| 18 |
no-host |
configure.cpython |
13,495 |
7,230 |
6,542 |
34.5 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,617 |
7,326 |
6,572 |
34.6 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
13,039 |
7,148 |
6,135 |
34.5 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,677 |
1,505 |
1,212 |
28.6 |
bash |
| 12 |
no-host |
configure.ocaml |
3,600 |
1,476 |
1,149 |
28.6 |
dash |
| 20 |
no-host |
configure.ocaml |
3,736 |
1,497 |
1,280 |
28.7 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,720 |
1,463 |
1,298 |
28.7 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,670 |
1,495 |
1,207 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
45 |
29 |
17 |
26.1 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
29 |
12 |
26.4 |
dash |
| 21 |
no-host |
configure.tcc |
47 |
28 |
19 |
26.3 |
osh-native |
| 29 |
no-host |
configure.tcc |
47 |
22 |
25 |
26.2 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
43 |
21 |
23 |
26.0 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,587 |
6,649 |
6,411 |
39.7 |
bash |
| 11 |
no-host |
configure.util-linux |
13,249 |
6,435 |
7,309 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
12,608 |
6,245 |
6,592 |
39.7 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,637 |
6,298 |
6,567 |
39.7 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,194 |
6,123 |
6,286 |
39.6 |
osh-static |
| 6 |
no-host |
configure.yash |
1,692 |
938 |
761 |
33.3 |
bash |
| 14 |
no-host |
configure.yash |
1,632 |
912 |
723 |
33.4 |
dash |
| 22 |
no-host |
configure.yash |
1,713 |
935 |
780 |
33.4 |
osh-native |
| 30 |
no-host |
configure.yash |
1,700 |
979 |
722 |
33.3 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,672 |
937 |
737 |
33.4 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
1 |
0 |
3.1 |
bash |
| 8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
| 16 |
no-host |
hello-world |
3 |
2 |
1 |
6.6 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
0 |
3 |
7.2 |
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,399 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,157 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,311 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,387 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,817 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
101,502 |
0 |
0 |
0 |
8 |
0 |
1,997 |
58 |
bash |
| 9 |
no-host |
bin-true |
49,377 |
0 |
0 |
0 |
8 |
0 |
2,995 |
54 |
dash |
| 17 |
no-host |
bin-true |
135,301 |
0 |
0 |
0 |
16 |
0 |
2,000 |
83 |
osh-native |
| 25 |
no-host |
bin-true |
134,047 |
0 |
0 |
0 |
16 |
0 |
1,999 |
74 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
110,295 |
0 |
0 |
0 |
8 |
0 |
1,999 |
76 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,630,607 |
0 |
0 |
0 |
25,272 |
0 |
14,083 |
1,014 |
bash |
| 10 |
no-host |
configure.cpython |
1,645,125 |
0 |
0 |
0 |
25,272 |
0 |
14,120 |
1,005 |
dash |
| 18 |
no-host |
configure.cpython |
1,590,742 |
0 |
0 |
0 |
25,280 |
0 |
11,295 |
951 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,596,618 |
0 |
0 |
0 |
25,280 |
0 |
11,287 |
838 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,514,537 |
0 |
0 |
0 |
25,272 |
0 |
11,311 |
812 |
osh-static |
| 4 |
no-host |
configure.ocaml |
298,750 |
0 |
0 |
0 |
4,432 |
0 |
2,017 |
192 |
bash |
| 12 |
no-host |
configure.ocaml |
280,901 |
0 |
0 |
0 |
4,432 |
0 |
2,096 |
190 |
dash |
| 20 |
no-host |
configure.ocaml |
306,968 |
0 |
0 |
0 |
4,440 |
0 |
1,998 |
218 |
osh-native |
| 28 |
no-host |
configure.ocaml |
307,444 |
0 |
0 |
0 |
4,440 |
0 |
1,999 |
204 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
299,935 |
0 |
0 |
0 |
4,432 |
0 |
2,003 |
239 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,250 |
0 |
0 |
0 |
80 |
0 |
49 |
3 |
bash |
| 13 |
no-host |
configure.tcc |
4,212 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
5,601 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,658 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,112 |
0 |
0 |
0 |
88 |
0 |
45 |
1 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,537,836 |
0 |
0 |
0 |
35,936 |
0 |
19,002 |
1,077 |
bash |
| 11 |
no-host |
configure.util-linux |
1,696,693 |
1 |
0 |
0 |
35,936 |
0 |
17,108 |
1,153 |
dash |
| 19 |
no-host |
configure.util-linux |
1,503,342 |
0 |
0 |
0 |
35,952 |
0 |
16,199 |
910 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,518,374 |
2 |
0 |
0 |
35,944 |
0 |
16,143 |
941 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,472,104 |
1 |
0 |
0 |
35,936 |
0 |
16,197 |
927 |
osh-static |
| 6 |
no-host |
configure.yash |
173,216 |
0 |
0 |
0 |
3,616 |
0 |
878 |
97 |
bash |
| 14 |
no-host |
configure.yash |
159,563 |
0 |
0 |
0 |
3,616 |
0 |
998 |
96 |
dash |
| 22 |
no-host |
configure.yash |
176,900 |
0 |
0 |
0 |
3,632 |
0 |
857 |
95 |
osh-native |
| 30 |
no-host |
configure.yash |
177,407 |
0 |
0 |
0 |
3,624 |
0 |
859 |
105 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
172,745 |
0 |
0 |
0 |
3,616 |
0 |
856 |
105 |
osh-static |
| 0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
86 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
394 |
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 |
183 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host