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 |
19 |
1.28 |
1.19 |
| bin-true |
no-host |
617 |
448 |
806 |
803 |
654 |
1.31 |
1.06 |
| configure.cpython |
no-host |
13,687 |
13,832 |
13,391 |
13,390 |
12,853 |
0.98 |
0.94 |
| configure.ocaml |
no-host |
3,632 |
3,594 |
3,682 |
3,688 |
3,642 |
1.01 |
1.00 |
| configure.tcc |
no-host |
46 |
41 |
46 |
47 |
43 |
1.02 |
0.94 |
| configure.util-linux |
no-host |
12,409 |
13,266 |
12,416 |
12,510 |
12,031 |
1.00 |
0.97 |
| configure.yash |
no-host |
1,677 |
1,630 |
1,683 |
1,687 |
1,667 |
1.00 |
0.99 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.49 |
1.07 |
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,379 |
1,163 |
3,295 |
3,425 |
2,860 |
1.39 |
1.20 |
| bin-true |
no-host |
101,466 |
49,432 |
134,006 |
132,297 |
112,713 |
1.32 |
1.11 |
| configure.cpython |
no-host |
1,616,958 |
1,642,992 |
1,579,558 |
1,590,759 |
1,525,658 |
0.98 |
0.94 |
| configure.ocaml |
no-host |
299,023 |
280,970 |
306,346 |
307,073 |
300,095 |
1.02 |
1.00 |
| configure.tcc |
no-host |
5,210 |
4,207 |
5,610 |
5,679 |
5,126 |
1.08 |
0.98 |
| configure.util-linux |
no-host |
1,537,770 |
1,704,505 |
1,498,927 |
1,513,378 |
1,452,048 |
0.97 |
0.94 |
| configure.yash |
no-host |
173,217 |
159,578 |
176,831 |
176,881 |
172,972 |
1.02 |
1.00 |
| hello-world |
no-host |
150 |
85 |
392 |
399 |
182 |
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,907 |
3,907 |
0 |
722 |
1,921 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
806 |
1 |
2 |
3.5 |
8.8 |
151,892 |
10,755 |
2,969 |
14,781 |
72,395 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,391 |
1 |
66 |
14.8 |
34.7 |
1,750,754 |
35,383 |
28,940 |
93,077 |
869,712 |
787,965 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,416 |
3 |
64 |
21.6 |
39.7 |
2,705,290 |
37,455 |
66,328 |
119,745 |
1,291,807 |
1,293,738 |
32,527 |
42 |
132,656 |
1 |
| configure.ocaml |
no-host |
3,682 |
1 |
2 |
2.8 |
28.7 |
149,692 |
12,647 |
6,562 |
9,213 |
70,295 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
46 |
0 |
0 |
1.4 |
26.2 |
30,541 |
30,541 |
0 |
1,680 |
14,472 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,683 |
1 |
2 |
2.7 |
33.4 |
143,454 |
11,460 |
6,616 |
7,166 |
70,508 |
65,780 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
20 |
1 |
2 |
3.0 |
9.4 |
117,223 |
65,789 |
41,999 |
4,975 |
54,597 |
57,651 |
277 |
3 |
83,998 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.9 |
3,906 |
3,906 |
0 |
721 |
1,921 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
803 |
1 |
2 |
3.5 |
9.2 |
151,892 |
10,759 |
2,973 |
14,781 |
72,395 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,390 |
1 |
68 |
14.8 |
34.5 |
1,750,753 |
35,388 |
28,945 |
93,076 |
869,712 |
787,965 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,510 |
3 |
66 |
21.6 |
39.7 |
2,705,290 |
37,461 |
66,334 |
119,745 |
1,291,807 |
1,293,738 |
32,527 |
42 |
132,668 |
1 |
| configure.ocaml |
no-host |
3,688 |
1 |
2 |
2.8 |
28.7 |
149,692 |
12,652 |
6,567 |
9,213 |
70,295 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.1 |
30,541 |
30,541 |
0 |
1,680 |
14,472 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,687 |
1 |
2 |
2.7 |
33.3 |
143,454 |
11,464 |
6,620 |
7,166 |
70,508 |
65,780 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
22 |
1 |
2 |
3.0 |
10.0 |
117,223 |
65,793 |
42,003 |
4,975 |
54,597 |
57,651 |
277 |
3 |
84,006 |
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 |
7 |
3 |
4.1 |
dash |
| 23 |
no-host |
abuild-print-help |
20 |
14 |
7 |
9.4 |
osh-native |
| 31 |
no-host |
abuild-print-help |
22 |
10 |
12 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
19 |
13 |
6 |
6.4 |
osh-static |
| 1 |
no-host |
bin-true |
617 |
306 |
349 |
3.3 |
bash |
| 9 |
no-host |
bin-true |
448 |
273 |
181 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
806 |
315 |
508 |
8.8 |
osh-native |
| 25 |
no-host |
bin-true |
803 |
308 |
512 |
9.2 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
654 |
309 |
362 |
5.4 |
osh-static |
| 2 |
no-host |
configure.cpython |
13,687 |
7,511 |
6,554 |
34.5 |
bash |
| 10 |
no-host |
configure.cpython |
13,832 |
7,487 |
6,738 |
34.5 |
dash |
| 18 |
no-host |
configure.cpython |
13,391 |
7,142 |
6,515 |
34.7 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,390 |
7,214 |
6,456 |
34.5 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
12,853 |
7,142 |
5,951 |
34.5 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,632 |
1,439 |
1,233 |
28.7 |
bash |
| 12 |
no-host |
configure.ocaml |
3,594 |
1,450 |
1,168 |
28.8 |
dash |
| 20 |
no-host |
configure.ocaml |
3,682 |
1,424 |
1,297 |
28.7 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,688 |
1,431 |
1,296 |
28.7 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,642 |
1,463 |
1,210 |
28.8 |
osh-static |
| 5 |
no-host |
configure.tcc |
46 |
22 |
24 |
26.2 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
23 |
19 |
26.2 |
dash |
| 21 |
no-host |
configure.tcc |
46 |
26 |
21 |
26.2 |
osh-native |
| 29 |
no-host |
configure.tcc |
47 |
20 |
28 |
26.1 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
43 |
27 |
17 |
26.3 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,409 |
6,502 |
6,357 |
39.6 |
bash |
| 11 |
no-host |
configure.util-linux |
13,266 |
6,461 |
7,294 |
39.5 |
dash |
| 19 |
no-host |
configure.util-linux |
12,416 |
6,091 |
6,536 |
39.7 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,510 |
6,240 |
6,494 |
39.7 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,031 |
6,114 |
6,134 |
39.6 |
osh-static |
| 6 |
no-host |
configure.yash |
1,677 |
950 |
736 |
33.4 |
bash |
| 14 |
no-host |
configure.yash |
1,630 |
933 |
699 |
33.4 |
dash |
| 22 |
no-host |
configure.yash |
1,683 |
919 |
767 |
33.4 |
osh-native |
| 30 |
no-host |
configure.yash |
1,687 |
942 |
747 |
33.3 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,667 |
923 |
747 |
33.4 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
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 |
2 |
1 |
6.9 |
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,379 |
0 |
0 |
0 |
8 |
0 |
41 |
1 |
bash |
| 15 |
no-host |
abuild-print-help |
1,163 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,295 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,425 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,860 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
101,466 |
0 |
0 |
0 |
8 |
0 |
1,996 |
61 |
bash |
| 9 |
no-host |
bin-true |
49,432 |
0 |
0 |
0 |
8 |
0 |
2,997 |
54 |
dash |
| 17 |
no-host |
bin-true |
134,006 |
0 |
0 |
0 |
16 |
0 |
2,000 |
56 |
osh-native |
| 25 |
no-host |
bin-true |
132,297 |
0 |
0 |
0 |
16 |
0 |
1,999 |
75 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
112,713 |
0 |
0 |
0 |
8 |
0 |
1,999 |
62 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,616,958 |
0 |
0 |
0 |
25,272 |
0 |
14,077 |
1,038 |
bash |
| 10 |
no-host |
configure.cpython |
1,642,992 |
0 |
0 |
0 |
25,272 |
0 |
14,098 |
991 |
dash |
| 18 |
no-host |
configure.cpython |
1,579,558 |
0 |
0 |
0 |
25,280 |
0 |
11,301 |
817 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,590,759 |
0 |
0 |
0 |
25,280 |
0 |
11,310 |
985 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,525,658 |
0 |
0 |
0 |
25,272 |
0 |
11,310 |
849 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,023 |
0 |
0 |
0 |
4,432 |
0 |
2,019 |
191 |
bash |
| 12 |
no-host |
configure.ocaml |
280,970 |
0 |
0 |
0 |
4,432 |
0 |
2,107 |
208 |
dash |
| 20 |
no-host |
configure.ocaml |
306,346 |
0 |
0 |
0 |
4,440 |
0 |
2,004 |
228 |
osh-native |
| 28 |
no-host |
configure.ocaml |
307,073 |
0 |
0 |
0 |
4,440 |
0 |
2,002 |
201 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,095 |
0 |
0 |
0 |
4,432 |
0 |
2,000 |
219 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,210 |
0 |
0 |
0 |
80 |
0 |
49 |
3 |
bash |
| 13 |
no-host |
configure.tcc |
4,207 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
5,610 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,679 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,126 |
0 |
0 |
0 |
88 |
0 |
45 |
1 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,537,770 |
1 |
0 |
232 |
35,944 |
0 |
18,964 |
1,041 |
bash |
| 11 |
no-host |
configure.util-linux |
1,704,505 |
1 |
0 |
0 |
35,936 |
0 |
17,077 |
1,276 |
dash |
| 19 |
no-host |
configure.util-linux |
1,498,927 |
2 |
0 |
0 |
35,952 |
0 |
16,139 |
907 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,513,378 |
1 |
0 |
0 |
35,944 |
0 |
16,193 |
894 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,452,048 |
2 |
0 |
0 |
35,936 |
0 |
16,151 |
873 |
osh-static |
| 6 |
no-host |
configure.yash |
173,217 |
0 |
0 |
0 |
3,616 |
0 |
878 |
109 |
bash |
| 14 |
no-host |
configure.yash |
159,578 |
0 |
0 |
0 |
3,616 |
0 |
1,003 |
100 |
dash |
| 22 |
no-host |
configure.yash |
176,831 |
0 |
0 |
0 |
3,624 |
0 |
857 |
91 |
osh-native |
| 30 |
no-host |
configure.yash |
176,881 |
0 |
0 |
0 |
3,632 |
0 |
859 |
102 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
172,972 |
0 |
0 |
0 |
3,624 |
0 |
856 |
91 |
osh-static |
| 0 |
no-host |
hello-world |
150 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
85 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
392 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
| 24 |
no-host |
hello-world |
399 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
182 |
0 |
0 |
0 |
8 |
0 |
1 |
1 |
osh-static |
Shell and Host