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.26 |
1.13 |
| bin-true |
no-host |
627 |
450 |
803 |
814 |
658 |
1.28 |
1.05 |
| configure.cpython |
no-host |
14,091 |
14,363 |
13,658 |
13,694 |
13,209 |
0.97 |
0.94 |
| configure.ocaml |
no-host |
3,728 |
3,646 |
3,746 |
3,749 |
3,712 |
1.00 |
1.00 |
| configure.tcc |
no-host |
46 |
42 |
47 |
48 |
44 |
1.02 |
0.95 |
| configure.util-linux |
no-host |
12,829 |
13,430 |
12,685 |
12,732 |
12,330 |
0.99 |
0.96 |
| configure.yash |
no-host |
1,757 |
1,672 |
1,714 |
1,727 |
1,702 |
0.98 |
0.97 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.43 |
1.02 |
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,425 |
1,172 |
3,324 |
3,444 |
2,799 |
1.37 |
1.15 |
| bin-true |
no-host |
103,462 |
49,367 |
133,542 |
135,591 |
111,411 |
1.29 |
1.08 |
| configure.cpython |
no-host |
1,621,276 |
1,646,522 |
1,578,249 |
1,596,738 |
1,523,237 |
0.97 |
0.94 |
| configure.ocaml |
no-host |
298,781 |
280,549 |
305,610 |
307,697 |
299,789 |
1.02 |
1.00 |
| configure.tcc |
no-host |
5,227 |
4,214 |
5,620 |
5,638 |
5,115 |
1.08 |
0.98 |
| configure.util-linux |
no-host |
1,541,944 |
1,699,370 |
1,502,653 |
1,512,998 |
1,450,731 |
0.97 |
0.94 |
| configure.yash |
no-host |
173,191 |
159,583 |
176,689 |
177,183 |
172,737 |
1.02 |
1.00 |
| hello-world |
no-host |
150 |
86 |
391 |
397 |
181 |
2.61 |
1.21 |
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 |
803 |
1 |
2 |
3.5 |
8.8 |
152,882 |
11,691 |
2,964 |
14,775 |
73,391 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,658 |
1 |
66 |
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,685 |
3 |
66 |
21.6 |
39.7 |
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,746 |
1 |
2 |
2.8 |
28.7 |
149,932 |
12,652 |
6,557 |
9,207 |
70,540 |
70,185 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.2 |
30,574 |
30,574 |
0 |
1,674 |
14,510 |
14,390 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,714 |
1 |
2 |
2.7 |
33.1 |
143,754 |
11,764 |
6,618 |
7,160 |
70,813 |
65,781 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
20 |
1 |
2 |
3.0 |
9.4 |
117,252 |
65,784 |
41,994 |
4,969 |
54,632 |
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 |
814 |
1 |
2 |
3.5 |
9.2 |
152,882 |
11,695 |
2,968 |
14,775 |
73,391 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,694 |
1 |
66 |
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,732 |
3 |
67 |
21.6 |
39.6 |
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,749 |
1 |
2 |
2.8 |
28.8 |
149,932 |
12,657 |
6,562 |
9,207 |
70,540 |
70,185 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
48 |
0 |
0 |
1.4 |
26.4 |
30,574 |
30,574 |
0 |
1,674 |
14,510 |
14,390 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,727 |
1 |
2 |
2.7 |
33.1 |
143,754 |
11,768 |
6,622 |
7,160 |
70,813 |
65,781 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
22 |
1 |
2 |
3.0 |
10.1 |
117,252 |
65,788 |
41,998 |
4,969 |
54,632 |
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 |
10 |
7 |
4.8 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
5 |
5 |
3.8 |
dash |
| 23 |
no-host |
abuild-print-help |
20 |
11 |
9 |
9.4 |
osh-native |
| 31 |
no-host |
abuild-print-help |
22 |
13 |
10 |
10.1 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
18 |
11 |
8 |
6.4 |
osh-static |
| 1 |
no-host |
bin-true |
627 |
322 |
346 |
3.1 |
bash |
| 9 |
no-host |
bin-true |
450 |
283 |
171 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
803 |
311 |
509 |
8.8 |
osh-native |
| 25 |
no-host |
bin-true |
814 |
312 |
519 |
9.2 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
658 |
320 |
356 |
5.4 |
osh-static |
| 2 |
no-host |
configure.cpython |
14,091 |
7,707 |
6,783 |
34.7 |
bash |
| 10 |
no-host |
configure.cpython |
14,363 |
7,873 |
6,902 |
34.7 |
dash |
| 18 |
no-host |
configure.cpython |
13,658 |
7,354 |
6,578 |
34.4 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,694 |
7,192 |
6,785 |
34.4 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
13,209 |
7,355 |
6,089 |
34.4 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,728 |
1,470 |
1,299 |
28.7 |
bash |
| 12 |
no-host |
configure.ocaml |
3,646 |
1,475 |
1,193 |
28.5 |
dash |
| 20 |
no-host |
configure.ocaml |
3,746 |
1,487 |
1,298 |
28.7 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,749 |
1,527 |
1,265 |
28.8 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,712 |
1,525 |
1,219 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
46 |
23 |
24 |
26.2 |
bash |
| 13 |
no-host |
configure.tcc |
42 |
27 |
15 |
26.2 |
dash |
| 21 |
no-host |
configure.tcc |
47 |
19 |
29 |
26.2 |
osh-native |
| 29 |
no-host |
configure.tcc |
48 |
25 |
24 |
26.4 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
44 |
26 |
19 |
26.1 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,829 |
6,781 |
6,526 |
39.7 |
bash |
| 11 |
no-host |
configure.util-linux |
13,430 |
6,617 |
7,304 |
39.5 |
dash |
| 19 |
no-host |
configure.util-linux |
12,685 |
6,276 |
6,634 |
39.7 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,732 |
6,306 |
6,655 |
39.6 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,330 |
6,287 |
6,262 |
39.6 |
osh-static |
| 6 |
no-host |
configure.yash |
1,757 |
982 |
782 |
33.3 |
bash |
| 14 |
no-host |
configure.yash |
1,672 |
949 |
725 |
33.4 |
dash |
| 22 |
no-host |
configure.yash |
1,714 |
948 |
769 |
33.1 |
osh-native |
| 30 |
no-host |
configure.yash |
1,727 |
978 |
752 |
33.1 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,702 |
961 |
742 |
33.3 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
1 |
0 |
3.1 |
bash |
| 8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
3 |
1 |
2 |
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.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,425 |
0 |
0 |
0 |
8 |
0 |
41 |
1 |
bash |
| 15 |
no-host |
abuild-print-help |
1,172 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,324 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,444 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,799 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
103,462 |
0 |
0 |
0 |
8 |
0 |
1,995 |
52 |
bash |
| 9 |
no-host |
bin-true |
49,367 |
0 |
0 |
0 |
8 |
0 |
2,997 |
53 |
dash |
| 17 |
no-host |
bin-true |
133,542 |
0 |
0 |
0 |
16 |
0 |
1,997 |
91 |
osh-native |
| 25 |
no-host |
bin-true |
135,591 |
0 |
0 |
0 |
16 |
0 |
1,999 |
72 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
111,411 |
0 |
0 |
0 |
8 |
0 |
2,001 |
54 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,621,276 |
0 |
0 |
0 |
25,272 |
0 |
14,087 |
1,128 |
bash |
| 10 |
no-host |
configure.cpython |
1,646,522 |
0 |
0 |
0 |
25,272 |
0 |
14,140 |
1,026 |
dash |
| 18 |
no-host |
configure.cpython |
1,578,249 |
0 |
0 |
0 |
25,280 |
0 |
11,292 |
790 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,596,738 |
0 |
0 |
0 |
25,280 |
0 |
11,310 |
846 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,523,237 |
0 |
0 |
0 |
25,272 |
0 |
11,283 |
886 |
osh-static |
| 4 |
no-host |
configure.ocaml |
298,781 |
0 |
0 |
0 |
4,432 |
0 |
2,018 |
196 |
bash |
| 12 |
no-host |
configure.ocaml |
280,549 |
0 |
0 |
0 |
4,432 |
0 |
2,102 |
206 |
dash |
| 20 |
no-host |
configure.ocaml |
305,610 |
0 |
0 |
8 |
4,440 |
0 |
1,997 |
237 |
osh-native |
| 28 |
no-host |
configure.ocaml |
307,697 |
0 |
0 |
0 |
4,440 |
0 |
2,000 |
203 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
299,789 |
0 |
0 |
0 |
4,432 |
0 |
1,997 |
247 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,227 |
0 |
0 |
0 |
80 |
0 |
49 |
2 |
bash |
| 13 |
no-host |
configure.tcc |
4,214 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
5,620 |
0 |
0 |
0 |
96 |
0 |
45 |
4 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,638 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,115 |
0 |
0 |
0 |
88 |
0 |
45 |
2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,541,944 |
0 |
0 |
0 |
35,944 |
0 |
18,966 |
1,063 |
bash |
| 11 |
no-host |
configure.util-linux |
1,699,370 |
1 |
0 |
0 |
35,944 |
0 |
17,118 |
1,238 |
dash |
| 19 |
no-host |
configure.util-linux |
1,502,653 |
0 |
0 |
0 |
35,960 |
0 |
16,175 |
884 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,512,998 |
0 |
0 |
0 |
35,952 |
0 |
16,140 |
958 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,450,731 |
2 |
0 |
0 |
35,944 |
0 |
16,126 |
959 |
osh-static |
| 6 |
no-host |
configure.yash |
173,191 |
0 |
0 |
0 |
3,616 |
0 |
880 |
105 |
bash |
| 14 |
no-host |
configure.yash |
159,583 |
0 |
0 |
0 |
3,616 |
0 |
1,000 |
120 |
dash |
| 22 |
no-host |
configure.yash |
176,689 |
0 |
0 |
0 |
3,632 |
0 |
857 |
97 |
osh-native |
| 30 |
no-host |
configure.yash |
177,183 |
0 |
0 |
0 |
3,624 |
0 |
858 |
98 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
172,737 |
0 |
0 |
0 |
3,616 |
0 |
856 |
106 |
osh-static |
| 0 |
no-host |
hello-world |
150 |
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 |
391 |
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 |
181 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host