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.27 |
1.16 |
| bin-true |
no-host |
626 |
442 |
801 |
801 |
647 |
1.28 |
1.03 |
| configure.cpython |
no-host |
14,035 |
13,574 |
13,107 |
13,220 |
12,650 |
0.93 |
0.90 |
| configure.ocaml |
no-host |
3,615 |
3,541 |
3,633 |
3,647 |
3,602 |
1.00 |
1.00 |
| configure.tcc |
no-host |
46 |
40 |
46 |
46 |
43 |
1.00 |
0.94 |
| configure.util-linux |
no-host |
12,592 |
13,049 |
12,227 |
12,299 |
11,893 |
0.97 |
0.94 |
| configure.yash |
no-host |
1,678 |
1,597 |
1,657 |
1,659 |
1,658 |
0.99 |
0.99 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.33 |
1.01 |
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,187 |
3,303 |
3,430 |
2,831 |
1.38 |
1.18 |
| bin-true |
no-host |
101,459 |
49,346 |
133,262 |
132,979 |
111,022 |
1.31 |
1.09 |
| configure.cpython |
no-host |
1,627,903 |
1,635,508 |
1,589,732 |
1,606,166 |
1,516,136 |
0.98 |
0.93 |
| configure.ocaml |
no-host |
298,813 |
280,983 |
305,426 |
307,446 |
300,063 |
1.02 |
1.00 |
| configure.tcc |
no-host |
5,259 |
4,204 |
5,543 |
5,696 |
5,133 |
1.05 |
0.98 |
| configure.util-linux |
no-host |
1,525,994 |
1,699,101 |
1,510,107 |
1,522,784 |
1,481,265 |
0.99 |
0.97 |
| configure.yash |
no-host |
173,299 |
159,522 |
177,080 |
176,767 |
172,760 |
1.02 |
1.00 |
| hello-world |
no-host |
154 |
86 |
394 |
397 |
183 |
2.56 |
1.19 |
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,919 |
3,919 |
0 |
726 |
1,922 |
1,271 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
801 |
1 |
2 |
3.5 |
8.8 |
151,904 |
10,764 |
2,978 |
14,785 |
72,396 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,107 |
1 |
60 |
14.8 |
34.6 |
1,750,831 |
35,399 |
28,954 |
93,081 |
869,763 |
787,987 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,227 |
3 |
59 |
21.6 |
39.7 |
2,705,397 |
37,471 |
66,342 |
119,749 |
1,291,873 |
1,293,775 |
32,527 |
42 |
132,684 |
1 |
| configure.ocaml |
no-host |
3,633 |
1 |
2 |
2.8 |
28.7 |
149,704 |
12,656 |
6,571 |
9,217 |
70,296 |
70,191 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
46 |
0 |
0 |
1.4 |
26.3 |
30,555 |
30,555 |
0 |
1,684 |
14,474 |
14,397 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,657 |
1 |
2 |
2.7 |
33.4 |
143,480 |
11,508 |
6,625 |
7,171 |
70,526 |
65,783 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
20 |
1 |
2 |
3.0 |
9.6 |
117,238 |
65,801 |
42,008 |
4,980 |
54,600 |
57,658 |
277 |
3 |
84,016 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.9 |
3,918 |
3,918 |
0 |
725 |
1,922 |
1,271 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
801 |
1 |
2 |
3.5 |
9.2 |
151,904 |
10,768 |
2,982 |
14,785 |
72,396 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,220 |
2 |
64 |
14.9 |
34.5 |
1,750,830 |
36,458 |
28,959 |
93,080 |
869,763 |
787,987 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,299 |
3 |
63 |
21.6 |
39.6 |
2,705,397 |
37,477 |
66,348 |
119,749 |
1,291,873 |
1,293,775 |
32,527 |
42 |
132,696 |
1 |
| configure.ocaml |
no-host |
3,647 |
1 |
2 |
2.8 |
28.8 |
149,704 |
12,661 |
6,576 |
9,217 |
70,296 |
70,191 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
46 |
0 |
0 |
1.4 |
26.0 |
30,555 |
30,555 |
0 |
1,684 |
14,474 |
14,397 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,659 |
1 |
2 |
2.7 |
33.4 |
143,480 |
11,512 |
6,629 |
7,171 |
70,526 |
65,783 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
21 |
1 |
2 |
3.0 |
10.0 |
117,238 |
65,805 |
42,012 |
4,980 |
54,600 |
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 |
16 |
9 |
8 |
4.7 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.8 |
dash |
| 23 |
no-host |
abuild-print-help |
20 |
9 |
11 |
9.6 |
osh-native |
| 31 |
no-host |
abuild-print-help |
21 |
11 |
11 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
18 |
14 |
5 |
6.3 |
osh-static |
| 1 |
no-host |
bin-true |
626 |
322 |
343 |
3.1 |
bash |
| 9 |
no-host |
bin-true |
442 |
275 |
175 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
801 |
304 |
513 |
8.8 |
osh-native |
| 25 |
no-host |
bin-true |
801 |
316 |
500 |
9.2 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
647 |
320 |
343 |
5.2 |
osh-static |
| 2 |
no-host |
configure.cpython |
14,035 |
7,671 |
6,758 |
34.6 |
bash |
| 10 |
no-host |
configure.cpython |
13,574 |
7,455 |
6,515 |
34.7 |
dash |
| 18 |
no-host |
configure.cpython |
13,107 |
7,046 |
6,333 |
34.6 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,220 |
7,078 |
6,427 |
34.5 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
12,650 |
6,966 |
5,918 |
34.4 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,615 |
1,483 |
1,171 |
28.8 |
bash |
| 12 |
no-host |
configure.ocaml |
3,541 |
1,420 |
1,144 |
28.6 |
dash |
| 20 |
no-host |
configure.ocaml |
3,633 |
1,460 |
1,211 |
28.7 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,647 |
1,451 |
1,238 |
28.8 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,602 |
1,446 |
1,187 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
46 |
25 |
21 |
26.2 |
bash |
| 13 |
no-host |
configure.tcc |
40 |
22 |
19 |
26.1 |
dash |
| 21 |
no-host |
configure.tcc |
46 |
29 |
17 |
26.3 |
osh-native |
| 29 |
no-host |
configure.tcc |
46 |
23 |
24 |
26.0 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
43 |
25 |
19 |
26.3 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,592 |
6,601 |
6,463 |
39.7 |
bash |
| 11 |
no-host |
configure.util-linux |
13,049 |
6,380 |
7,162 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
12,227 |
6,027 |
6,421 |
39.7 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,299 |
6,152 |
6,370 |
39.6 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
11,893 |
6,071 |
6,046 |
39.5 |
osh-static |
| 6 |
no-host |
configure.yash |
1,678 |
951 |
737 |
33.4 |
bash |
| 14 |
no-host |
configure.yash |
1,597 |
880 |
720 |
33.2 |
dash |
| 22 |
no-host |
configure.yash |
1,657 |
926 |
735 |
33.4 |
osh-native |
| 30 |
no-host |
configure.yash |
1,659 |
942 |
720 |
33.4 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,658 |
935 |
726 |
33.1 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
1 |
0 |
3.3 |
bash |
| 8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
| 16 |
no-host |
hello-world |
3 |
0 |
3 |
6.6 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
0 |
3 |
6.9 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
1 |
1 |
0 |
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,187 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,303 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,430 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,831 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
101,459 |
0 |
0 |
0 |
8 |
0 |
1,999 |
54 |
bash |
| 9 |
no-host |
bin-true |
49,346 |
0 |
0 |
0 |
8 |
0 |
2,998 |
48 |
dash |
| 17 |
no-host |
bin-true |
133,262 |
0 |
0 |
0 |
16 |
0 |
1,994 |
74 |
osh-native |
| 25 |
no-host |
bin-true |
132,979 |
0 |
0 |
0 |
16 |
0 |
1,999 |
80 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
111,022 |
0 |
0 |
0 |
8 |
0 |
1,999 |
66 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,627,903 |
0 |
0 |
0 |
25,272 |
0 |
14,075 |
1,051 |
bash |
| 10 |
no-host |
configure.cpython |
1,635,508 |
0 |
0 |
0 |
25,272 |
0 |
14,118 |
1,028 |
dash |
| 18 |
no-host |
configure.cpython |
1,589,732 |
0 |
0 |
0 |
25,280 |
0 |
11,291 |
861 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,606,166 |
0 |
0 |
0 |
25,280 |
0 |
11,300 |
1,020 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,516,136 |
0 |
0 |
0 |
25,272 |
0 |
11,300 |
829 |
osh-static |
| 4 |
no-host |
configure.ocaml |
298,813 |
0 |
0 |
0 |
4,432 |
0 |
2,023 |
205 |
bash |
| 12 |
no-host |
configure.ocaml |
280,983 |
0 |
0 |
0 |
4,432 |
0 |
2,113 |
203 |
dash |
| 20 |
no-host |
configure.ocaml |
305,426 |
0 |
0 |
0 |
4,440 |
0 |
1,994 |
207 |
osh-native |
| 28 |
no-host |
configure.ocaml |
307,446 |
0 |
0 |
0 |
4,440 |
0 |
2,001 |
203 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,063 |
0 |
0 |
0 |
4,432 |
0 |
2,001 |
215 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,259 |
0 |
0 |
0 |
80 |
0 |
49 |
1 |
bash |
| 13 |
no-host |
configure.tcc |
4,204 |
0 |
0 |
0 |
88 |
0 |
52 |
0 |
dash |
| 21 |
no-host |
configure.tcc |
5,543 |
0 |
0 |
0 |
96 |
0 |
44 |
3 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,696 |
0 |
0 |
0 |
96 |
0 |
45 |
1 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,133 |
0 |
0 |
0 |
88 |
0 |
45 |
2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,525,994 |
0 |
0 |
0 |
35,936 |
0 |
18,986 |
1,036 |
bash |
| 11 |
no-host |
configure.util-linux |
1,699,101 |
0 |
0 |
0 |
35,936 |
0 |
17,106 |
1,210 |
dash |
| 19 |
no-host |
configure.util-linux |
1,510,107 |
1 |
0 |
0 |
35,952 |
0 |
16,204 |
908 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,522,784 |
0 |
0 |
0 |
35,952 |
0 |
16,200 |
898 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,481,265 |
1 |
0 |
0 |
35,936 |
0 |
16,137 |
944 |
osh-static |
| 6 |
no-host |
configure.yash |
173,299 |
0 |
0 |
0 |
3,616 |
0 |
878 |
94 |
bash |
| 14 |
no-host |
configure.yash |
159,522 |
0 |
0 |
0 |
3,616 |
0 |
1,002 |
97 |
dash |
| 22 |
no-host |
configure.yash |
177,080 |
0 |
0 |
0 |
3,624 |
0 |
858 |
92 |
osh-native |
| 30 |
no-host |
configure.yash |
176,767 |
0 |
0 |
0 |
3,624 |
0 |
859 |
94 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
172,760 |
0 |
0 |
0 |
3,624 |
0 |
854 |
105 |
osh-static |
| 0 |
no-host |
hello-world |
154 |
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 |
397 |
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