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 |
21 |
21 |
19 |
1.35 |
1.21 |
| bin-true |
no-host |
625 |
444 |
809 |
805 |
650 |
1.30 |
1.04 |
| configure.cpython |
no-host |
14,104 |
14,182 |
13,769 |
13,931 |
12,903 |
0.98 |
0.91 |
| configure.ocaml |
no-host |
3,722 |
3,652 |
3,779 |
3,711 |
3,723 |
1.02 |
1.00 |
| configure.tcc |
no-host |
46 |
42 |
48 |
47 |
44 |
1.05 |
0.96 |
| configure.util-linux |
no-host |
12,798 |
13,435 |
12,632 |
12,968 |
12,335 |
0.99 |
0.96 |
| configure.yash |
no-host |
1,736 |
1,653 |
1,739 |
1,685 |
1,672 |
1.00 |
0.96 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.32 |
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,381 |
1,179 |
3,300 |
3,419 |
2,833 |
1.39 |
1.19 |
| bin-true |
no-host |
102,502 |
49,417 |
133,240 |
132,084 |
112,109 |
1.30 |
1.09 |
| configure.cpython |
no-host |
1,619,011 |
1,635,783 |
1,588,330 |
1,598,246 |
1,518,869 |
0.98 |
0.94 |
| configure.ocaml |
no-host |
299,144 |
280,508 |
306,335 |
307,596 |
300,077 |
1.02 |
1.00 |
| configure.tcc |
no-host |
5,241 |
4,190 |
5,581 |
5,672 |
5,117 |
1.06 |
0.98 |
| configure.util-linux |
no-host |
1,533,336 |
1,694,520 |
1,505,615 |
1,519,476 |
1,479,832 |
0.98 |
0.97 |
| configure.yash |
no-host |
173,314 |
159,511 |
177,174 |
176,810 |
172,818 |
1.02 |
1.00 |
| hello-world |
no-host |
150 |
84 |
397 |
401 |
184 |
2.65 |
1.23 |
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.7 |
3,920 |
3,920 |
0 |
726 |
1,923 |
1,271 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
809 |
1 |
2 |
3.5 |
8.8 |
151,905 |
10,764 |
2,978 |
14,785 |
72,397 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,769 |
1 |
67 |
14.8 |
34.4 |
1,750,832 |
35,399 |
28,954 |
93,081 |
869,764 |
787,987 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,632 |
3 |
65 |
21.6 |
39.5 |
2,705,398 |
37,471 |
66,342 |
119,749 |
1,291,874 |
1,293,775 |
32,527 |
42 |
132,684 |
1 |
| configure.ocaml |
no-host |
3,779 |
1 |
2 |
2.8 |
28.8 |
149,705 |
12,656 |
6,571 |
9,217 |
70,297 |
70,191 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
48 |
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,739 |
1 |
2 |
2.7 |
33.4 |
143,481 |
11,508 |
6,625 |
7,171 |
70,527 |
65,783 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
21 |
1 |
2 |
3.0 |
9.6 |
117,239 |
65,801 |
42,008 |
4,980 |
54,601 |
57,658 |
277 |
3 |
84,016 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
7.1 |
3,919 |
3,919 |
0 |
725 |
1,923 |
1,271 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
805 |
1 |
2 |
3.5 |
9.0 |
151,905 |
10,768 |
2,982 |
14,785 |
72,397 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,931 |
1 |
68 |
14.9 |
34.4 |
1,750,831 |
36,458 |
28,959 |
93,080 |
869,764 |
787,987 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,968 |
3 |
67 |
21.6 |
39.8 |
2,705,398 |
37,477 |
66,348 |
119,749 |
1,291,874 |
1,293,775 |
32,527 |
42 |
132,696 |
1 |
| configure.ocaml |
no-host |
3,711 |
1 |
2 |
2.8 |
28.5 |
149,705 |
12,661 |
6,576 |
9,217 |
70,297 |
70,191 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.0 |
30,556 |
30,556 |
0 |
1,684 |
14,475 |
14,397 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,685 |
1 |
2 |
2.7 |
33.4 |
143,481 |
11,512 |
6,629 |
7,171 |
70,527 |
65,783 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
21 |
1 |
2 |
3.0 |
10.0 |
117,239 |
65,805 |
42,012 |
4,980 |
54,601 |
57,658 |
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 |
15 |
8 |
8 |
4.8 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
3 |
7 |
3.8 |
dash |
| 23 |
no-host |
abuild-print-help |
21 |
9 |
12 |
9.6 |
osh-native |
| 31 |
no-host |
abuild-print-help |
21 |
12 |
10 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
19 |
10 |
9 |
6.3 |
osh-static |
| 1 |
no-host |
bin-true |
625 |
312 |
350 |
3.3 |
bash |
| 9 |
no-host |
bin-true |
444 |
277 |
171 |
1.4 |
dash |
| 17 |
no-host |
bin-true |
809 |
303 |
523 |
8.8 |
osh-native |
| 25 |
no-host |
bin-true |
805 |
315 |
504 |
9.0 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
650 |
321 |
344 |
5.4 |
osh-static |
| 2 |
no-host |
configure.cpython |
14,104 |
7,786 |
6,712 |
34.4 |
bash |
| 10 |
no-host |
configure.cpython |
14,182 |
7,844 |
6,738 |
34.6 |
dash |
| 18 |
no-host |
configure.cpython |
13,769 |
7,349 |
6,690 |
34.4 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,931 |
7,381 |
6,723 |
34.4 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
12,903 |
7,116 |
6,015 |
34.6 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,722 |
1,486 |
1,276 |
28.7 |
bash |
| 12 |
no-host |
configure.ocaml |
3,652 |
1,472 |
1,204 |
28.6 |
dash |
| 20 |
no-host |
configure.ocaml |
3,779 |
1,522 |
1,296 |
28.8 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,711 |
1,498 |
1,254 |
28.5 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,723 |
1,511 |
1,242 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
46 |
25 |
22 |
26.3 |
bash |
| 13 |
no-host |
configure.tcc |
42 |
26 |
16 |
26.1 |
dash |
| 21 |
no-host |
configure.tcc |
48 |
22 |
26 |
26.2 |
osh-native |
| 29 |
no-host |
configure.tcc |
47 |
27 |
20 |
26.0 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
44 |
24 |
20 |
26.3 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,798 |
6,766 |
6,495 |
39.6 |
bash |
| 11 |
no-host |
configure.util-linux |
13,435 |
6,560 |
7,364 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
12,632 |
6,279 |
6,572 |
39.5 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,968 |
6,366 |
6,817 |
39.8 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,335 |
6,307 |
6,247 |
39.7 |
osh-static |
| 6 |
no-host |
configure.yash |
1,736 |
989 |
753 |
33.1 |
bash |
| 14 |
no-host |
configure.yash |
1,653 |
941 |
712 |
33.2 |
dash |
| 22 |
no-host |
configure.yash |
1,739 |
958 |
783 |
33.4 |
osh-native |
| 30 |
no-host |
configure.yash |
1,685 |
961 |
726 |
33.4 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,672 |
955 |
720 |
33.3 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.1 |
bash |
| 8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
| 16 |
no-host |
hello-world |
3 |
1 |
2 |
6.7 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
1 |
2 |
7.1 |
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,381 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,179 |
0 |
0 |
0 |
8 |
0 |
40 |
1 |
dash |
| 23 |
no-host |
abuild-print-help |
3,300 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,419 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,833 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
102,502 |
0 |
0 |
0 |
8 |
0 |
2,001 |
60 |
bash |
| 9 |
no-host |
bin-true |
49,417 |
0 |
0 |
0 |
8 |
0 |
2,998 |
73 |
dash |
| 17 |
no-host |
bin-true |
133,240 |
0 |
0 |
0 |
16 |
0 |
1,996 |
85 |
osh-native |
| 25 |
no-host |
bin-true |
132,084 |
0 |
0 |
0 |
16 |
0 |
2,001 |
76 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
112,109 |
0 |
0 |
0 |
8 |
0 |
2,000 |
69 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,619,011 |
0 |
0 |
0 |
25,272 |
0 |
14,089 |
977 |
bash |
| 10 |
no-host |
configure.cpython |
1,635,783 |
0 |
0 |
0 |
25,272 |
0 |
14,121 |
1,060 |
dash |
| 18 |
no-host |
configure.cpython |
1,588,330 |
0 |
0 |
0 |
25,280 |
0 |
11,298 |
841 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,598,246 |
0 |
0 |
0 |
25,280 |
0 |
11,294 |
795 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,518,869 |
1 |
0 |
0 |
25,272 |
0 |
11,315 |
812 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,144 |
0 |
0 |
0 |
4,432 |
0 |
2,017 |
175 |
bash |
| 12 |
no-host |
configure.ocaml |
280,508 |
0 |
0 |
0 |
4,432 |
0 |
2,109 |
194 |
dash |
| 20 |
no-host |
configure.ocaml |
306,335 |
0 |
0 |
0 |
4,440 |
0 |
2,001 |
258 |
osh-native |
| 28 |
no-host |
configure.ocaml |
307,596 |
0 |
0 |
0 |
4,440 |
0 |
1,997 |
203 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,077 |
0 |
0 |
0 |
4,432 |
0 |
2,002 |
221 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,241 |
0 |
0 |
0 |
80 |
0 |
49 |
3 |
bash |
| 13 |
no-host |
configure.tcc |
4,190 |
0 |
0 |
0 |
88 |
0 |
51 |
3 |
dash |
| 21 |
no-host |
configure.tcc |
5,581 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,672 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,117 |
0 |
0 |
0 |
88 |
0 |
45 |
2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,533,336 |
2 |
0 |
0 |
35,936 |
0 |
18,977 |
1,018 |
bash |
| 11 |
no-host |
configure.util-linux |
1,694,520 |
1 |
0 |
0 |
35,936 |
0 |
17,160 |
1,236 |
dash |
| 19 |
no-host |
configure.util-linux |
1,505,615 |
0 |
0 |
0 |
35,952 |
0 |
16,123 |
840 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,519,476 |
1 |
0 |
8 |
35,944 |
0 |
16,173 |
953 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,479,832 |
4 |
0 |
0 |
35,944 |
0 |
16,172 |
879 |
osh-static |
| 6 |
no-host |
configure.yash |
173,314 |
0 |
0 |
0 |
3,616 |
0 |
884 |
99 |
bash |
| 14 |
no-host |
configure.yash |
159,511 |
0 |
0 |
0 |
3,616 |
0 |
1,002 |
99 |
dash |
| 22 |
no-host |
configure.yash |
177,174 |
0 |
0 |
0 |
3,624 |
0 |
859 |
99 |
osh-native |
| 30 |
no-host |
configure.yash |
176,810 |
0 |
0 |
0 |
3,624 |
0 |
859 |
97 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
172,818 |
0 |
0 |
0 |
3,616 |
0 |
856 |
96 |
osh-static |
| 0 |
no-host |
hello-world |
150 |
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 |
397 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 24 |
no-host |
hello-world |
401 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
184 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host