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.29 |
1.15 |
| bin-true |
no-host |
635 |
449 |
813 |
802 |
664 |
1.28 |
1.05 |
| configure.cpython |
no-host |
14,210 |
14,196 |
13,348 |
13,501 |
13,054 |
0.94 |
0.92 |
| configure.ocaml |
no-host |
3,769 |
3,697 |
3,661 |
3,755 |
3,597 |
0.97 |
0.95 |
| configure.tcc |
no-host |
47 |
41 |
47 |
47 |
42 |
1.00 |
0.91 |
| configure.util-linux |
no-host |
13,062 |
13,429 |
12,473 |
12,797 |
11,882 |
0.95 |
0.91 |
| configure.yash |
no-host |
1,762 |
1,662 |
1,679 |
1,717 |
1,634 |
0.95 |
0.93 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.05 |
0.88 |
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,383 |
1,158 |
3,322 |
3,374 |
2,815 |
1.39 |
1.18 |
| bin-true |
no-host |
102,471 |
49,468 |
136,378 |
131,988 |
111,014 |
1.33 |
1.08 |
| configure.cpython |
no-host |
1,626,535 |
1,640,233 |
1,586,637 |
1,597,760 |
1,522,014 |
0.98 |
0.94 |
| configure.ocaml |
no-host |
299,225 |
281,159 |
306,507 |
306,339 |
300,799 |
1.02 |
1.01 |
| configure.tcc |
no-host |
5,226 |
4,212 |
5,573 |
5,651 |
5,119 |
1.07 |
0.98 |
| configure.util-linux |
no-host |
1,536,330 |
1,706,124 |
1,503,155 |
1,520,041 |
1,458,217 |
0.98 |
0.95 |
| configure.yash |
no-host |
173,419 |
159,561 |
176,365 |
176,912 |
173,103 |
1.02 |
1.00 |
| hello-world |
no-host |
155 |
83 |
391 |
400 |
181 |
2.52 |
1.17 |
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 |
813 |
1 |
2 |
3.5 |
8.7 |
151,881 |
10,750 |
2,964 |
14,775 |
72,390 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,348 |
2 |
68 |
14.8 |
34.4 |
1,750,743 |
35,378 |
28,935 |
93,071 |
869,707 |
787,965 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,473 |
3 |
67 |
21.6 |
39.6 |
2,705,279 |
37,450 |
66,323 |
119,739 |
1,291,802 |
1,293,738 |
32,527 |
42 |
132,646 |
1 |
| configure.ocaml |
no-host |
3,661 |
1 |
2 |
2.8 |
28.7 |
149,681 |
12,642 |
6,557 |
9,207 |
70,290 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.3 |
30,530 |
30,530 |
0 |
1,674 |
14,467 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,679 |
1 |
2 |
2.7 |
33.4 |
143,443 |
11,455 |
6,611 |
7,160 |
70,503 |
65,780 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
20 |
1 |
2 |
3.0 |
9.6 |
117,212 |
65,784 |
41,994 |
4,969 |
54,592 |
57,651 |
277 |
3 |
83,988 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
7.2 |
3,895 |
3,895 |
0 |
715 |
1,916 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
802 |
1 |
2 |
3.5 |
9.2 |
151,881 |
10,754 |
2,968 |
14,775 |
72,390 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,501 |
1 |
66 |
14.8 |
34.6 |
1,750,742 |
35,383 |
28,940 |
93,070 |
869,707 |
787,965 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,797 |
3 |
67 |
21.6 |
39.5 |
2,705,279 |
37,456 |
66,329 |
119,739 |
1,291,802 |
1,293,738 |
32,527 |
42 |
132,658 |
1 |
| configure.ocaml |
no-host |
3,755 |
1 |
2 |
2.8 |
28.7 |
149,681 |
12,647 |
6,562 |
9,207 |
70,290 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.0 |
30,530 |
30,530 |
0 |
1,674 |
14,467 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,717 |
1 |
2 |
2.7 |
33.3 |
143,443 |
11,459 |
6,615 |
7,160 |
70,503 |
65,780 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
22 |
1 |
2 |
3.0 |
10.0 |
117,212 |
65,788 |
41,998 |
4,969 |
54,592 |
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 |
11 |
6 |
4.7 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
5 |
4 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
20 |
10 |
11 |
9.6 |
osh-native |
| 31 |
no-host |
abuild-print-help |
22 |
12 |
10 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
18 |
9 |
10 |
6.4 |
osh-static |
| 1 |
no-host |
bin-true |
635 |
314 |
358 |
3.1 |
bash |
| 9 |
no-host |
bin-true |
449 |
277 |
177 |
1.7 |
dash |
| 17 |
no-host |
bin-true |
813 |
305 |
523 |
8.7 |
osh-native |
| 25 |
no-host |
bin-true |
802 |
311 |
506 |
9.2 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
664 |
324 |
356 |
5.4 |
osh-static |
| 2 |
no-host |
configure.cpython |
14,210 |
7,897 |
6,709 |
34.5 |
bash |
| 10 |
no-host |
configure.cpython |
14,196 |
7,770 |
6,816 |
34.4 |
dash |
| 18 |
no-host |
configure.cpython |
13,348 |
7,081 |
6,538 |
34.4 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,501 |
7,146 |
6,625 |
34.6 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
13,054 |
7,179 |
6,071 |
34.5 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,769 |
1,504 |
1,305 |
28.7 |
bash |
| 12 |
no-host |
configure.ocaml |
3,697 |
1,460 |
1,258 |
28.7 |
dash |
| 20 |
no-host |
configure.ocaml |
3,661 |
1,467 |
1,233 |
28.7 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,755 |
1,510 |
1,287 |
28.7 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,597 |
1,439 |
1,189 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
47 |
22 |
25 |
26.4 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
21 |
21 |
26.1 |
dash |
| 21 |
no-host |
configure.tcc |
47 |
25 |
22 |
26.3 |
osh-native |
| 29 |
no-host |
configure.tcc |
47 |
25 |
23 |
26.0 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
42 |
25 |
17 |
26.1 |
osh-static |
| 3 |
no-host |
configure.util-linux |
13,062 |
6,851 |
6,685 |
39.7 |
bash |
| 11 |
no-host |
configure.util-linux |
13,429 |
6,558 |
7,366 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
12,473 |
6,160 |
6,539 |
39.6 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,797 |
6,334 |
6,691 |
39.5 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
11,882 |
6,073 |
6,023 |
39.7 |
osh-static |
| 6 |
no-host |
configure.yash |
1,762 |
968 |
801 |
33.4 |
bash |
| 14 |
no-host |
configure.yash |
1,662 |
911 |
753 |
33.4 |
dash |
| 22 |
no-host |
configure.yash |
1,679 |
917 |
765 |
33.4 |
osh-native |
| 30 |
no-host |
configure.yash |
1,717 |
990 |
729 |
33.3 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,634 |
911 |
726 |
33.4 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.3 |
bash |
| 8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
| 16 |
no-host |
hello-world |
3 |
1 |
2 |
6.6 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
0 |
3 |
7.2 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
1 |
0 |
1 |
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,383 |
0 |
0 |
0 |
8 |
0 |
41 |
1 |
bash |
| 15 |
no-host |
abuild-print-help |
1,158 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,322 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,374 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,815 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
102,471 |
0 |
0 |
0 |
8 |
0 |
1,999 |
70 |
bash |
| 9 |
no-host |
bin-true |
49,468 |
0 |
0 |
0 |
8 |
0 |
2,989 |
60 |
dash |
| 17 |
no-host |
bin-true |
136,378 |
0 |
0 |
0 |
16 |
0 |
1,999 |
93 |
osh-native |
| 25 |
no-host |
bin-true |
131,988 |
0 |
0 |
0 |
16 |
0 |
1,996 |
84 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
111,014 |
0 |
0 |
0 |
8 |
0 |
1,994 |
82 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,626,535 |
0 |
0 |
0 |
25,272 |
0 |
14,057 |
1,033 |
bash |
| 10 |
no-host |
configure.cpython |
1,640,233 |
0 |
0 |
0 |
25,272 |
0 |
14,130 |
1,003 |
dash |
| 18 |
no-host |
configure.cpython |
1,586,637 |
0 |
0 |
0 |
25,280 |
0 |
11,295 |
892 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,597,760 |
0 |
0 |
0 |
25,280 |
0 |
11,320 |
851 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,522,014 |
1 |
0 |
0 |
25,272 |
0 |
11,297 |
831 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,225 |
0 |
0 |
0 |
4,432 |
0 |
2,016 |
198 |
bash |
| 12 |
no-host |
configure.ocaml |
281,159 |
0 |
0 |
0 |
4,432 |
0 |
2,109 |
200 |
dash |
| 20 |
no-host |
configure.ocaml |
306,507 |
0 |
0 |
0 |
4,440 |
0 |
2,002 |
218 |
osh-native |
| 28 |
no-host |
configure.ocaml |
306,339 |
0 |
0 |
0 |
4,440 |
0 |
2,002 |
204 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,799 |
0 |
0 |
0 |
4,432 |
0 |
2,001 |
205 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,226 |
0 |
0 |
0 |
80 |
0 |
49 |
1 |
bash |
| 13 |
no-host |
configure.tcc |
4,212 |
0 |
0 |
0 |
88 |
0 |
52 |
4 |
dash |
| 21 |
no-host |
configure.tcc |
5,573 |
0 |
0 |
0 |
96 |
0 |
45 |
4 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,651 |
0 |
0 |
0 |
96 |
0 |
45 |
4 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,119 |
0 |
0 |
0 |
88 |
0 |
45 |
2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,536,330 |
0 |
0 |
232 |
35,944 |
0 |
18,988 |
1,156 |
bash |
| 11 |
no-host |
configure.util-linux |
1,706,124 |
0 |
0 |
0 |
35,936 |
0 |
17,076 |
1,185 |
dash |
| 19 |
no-host |
configure.util-linux |
1,503,155 |
0 |
0 |
0 |
35,952 |
0 |
16,160 |
921 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,520,041 |
3 |
0 |
0 |
35,944 |
0 |
16,214 |
930 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,458,217 |
3 |
0 |
0 |
35,936 |
0 |
16,221 |
954 |
osh-static |
| 6 |
no-host |
configure.yash |
173,419 |
0 |
0 |
0 |
3,616 |
0 |
879 |
91 |
bash |
| 14 |
no-host |
configure.yash |
159,561 |
0 |
0 |
0 |
3,616 |
0 |
1,003 |
95 |
dash |
| 22 |
no-host |
configure.yash |
176,365 |
0 |
0 |
0 |
3,624 |
0 |
856 |
103 |
osh-native |
| 30 |
no-host |
configure.yash |
176,912 |
0 |
0 |
0 |
3,624 |
0 |
858 |
104 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
173,103 |
0 |
0 |
0 |
3,616 |
0 |
857 |
100 |
osh-static |
| 0 |
no-host |
hello-world |
155 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
83 |
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 |
400 |
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