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 |
21 |
22 |
18 |
1.32 |
1.14 |
| bin-true |
no-host |
625 |
446 |
829 |
817 |
658 |
1.33 |
1.05 |
| configure.cpython |
no-host |
14,101 |
14,164 |
13,955 |
14,000 |
13,297 |
0.99 |
0.94 |
| configure.ocaml |
no-host |
3,732 |
3,697 |
3,817 |
3,785 |
3,743 |
1.02 |
1.00 |
| configure.tcc |
no-host |
47 |
41 |
48 |
49 |
43 |
1.03 |
0.93 |
| configure.util-linux |
no-host |
12,809 |
13,709 |
12,958 |
12,957 |
12,467 |
1.01 |
0.97 |
| configure.yash |
no-host |
1,737 |
1,691 |
1,762 |
1,737 |
1,713 |
1.01 |
0.99 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.30 |
0.97 |
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,352 |
1,157 |
3,319 |
3,393 |
2,803 |
1.41 |
1.19 |
| bin-true |
no-host |
100,477 |
49,383 |
134,369 |
132,939 |
111,036 |
1.34 |
1.11 |
| configure.cpython |
no-host |
1,615,138 |
1,629,989 |
1,597,304 |
1,607,704 |
1,522,053 |
0.99 |
0.94 |
| configure.ocaml |
no-host |
299,460 |
281,449 |
306,147 |
306,857 |
300,801 |
1.02 |
1.00 |
| configure.tcc |
no-host |
5,237 |
4,210 |
5,629 |
5,716 |
5,150 |
1.07 |
0.98 |
| configure.util-linux |
no-host |
1,540,536 |
1,705,490 |
1,496,014 |
1,520,959 |
1,457,225 |
0.97 |
0.95 |
| configure.yash |
no-host |
173,309 |
159,608 |
176,419 |
176,671 |
173,069 |
1.02 |
1.00 |
| hello-world |
no-host |
154 |
86 |
393 |
398 |
182 |
2.55 |
1.18 |
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 |
829 |
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,955 |
1 |
71 |
14.8 |
34.5 |
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,958 |
3 |
71 |
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,817 |
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 |
48 |
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,762 |
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 |
21 |
1 |
2 |
3.0 |
9.3 |
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 |
6.9 |
3,895 |
3,895 |
0 |
715 |
1,916 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
817 |
1 |
2 |
3.5 |
9.3 |
151,881 |
10,754 |
2,968 |
14,775 |
72,390 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,000 |
1 |
68 |
14.8 |
34.5 |
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,957 |
3 |
68 |
21.6 |
39.9 |
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,785 |
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 |
49 |
0 |
0 |
1.4 |
26.2 |
30,530 |
30,530 |
0 |
1,674 |
14,467 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,737 |
1 |
2 |
2.7 |
33.1 |
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 |
9.8 |
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 |
9 |
7 |
4.7 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
5 |
4 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
21 |
12 |
9 |
9.3 |
osh-native |
| 31 |
no-host |
abuild-print-help |
22 |
10 |
12 |
9.8 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
18 |
11 |
8 |
6.4 |
osh-static |
| 1 |
no-host |
bin-true |
625 |
319 |
342 |
3.1 |
bash |
| 9 |
no-host |
bin-true |
446 |
276 |
175 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
829 |
308 |
537 |
8.7 |
osh-native |
| 25 |
no-host |
bin-true |
817 |
314 |
518 |
9.3 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
658 |
314 |
360 |
5.2 |
osh-static |
| 2 |
no-host |
configure.cpython |
14,101 |
7,712 |
6,776 |
34.7 |
bash |
| 10 |
no-host |
configure.cpython |
14,164 |
7,709 |
6,849 |
34.5 |
dash |
| 18 |
no-host |
configure.cpython |
13,955 |
7,374 |
6,868 |
34.5 |
osh-native |
| 26 |
no-host |
configure.cpython |
14,000 |
7,322 |
6,956 |
34.5 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
13,297 |
7,326 |
6,213 |
34.6 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,732 |
1,514 |
1,259 |
28.8 |
bash |
| 12 |
no-host |
configure.ocaml |
3,697 |
1,513 |
1,209 |
28.8 |
dash |
| 20 |
no-host |
configure.ocaml |
3,817 |
1,518 |
1,339 |
28.7 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,785 |
1,529 |
1,296 |
28.7 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,743 |
1,538 |
1,237 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
47 |
25 |
22 |
26.2 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
27 |
15 |
26.2 |
dash |
| 21 |
no-host |
configure.tcc |
48 |
19 |
30 |
26.0 |
osh-native |
| 29 |
no-host |
configure.tcc |
49 |
22 |
27 |
26.2 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
43 |
22 |
22 |
26.4 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,809 |
6,718 |
6,568 |
39.6 |
bash |
| 11 |
no-host |
configure.util-linux |
13,709 |
6,711 |
7,498 |
39.7 |
dash |
| 19 |
no-host |
configure.util-linux |
12,958 |
6,390 |
6,794 |
39.6 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,957 |
6,405 |
6,781 |
39.9 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,467 |
6,272 |
6,410 |
39.6 |
osh-static |
| 6 |
no-host |
configure.yash |
1,737 |
970 |
775 |
33.1 |
bash |
| 14 |
no-host |
configure.yash |
1,691 |
938 |
753 |
33.3 |
dash |
| 22 |
no-host |
configure.yash |
1,762 |
975 |
789 |
33.4 |
osh-native |
| 30 |
no-host |
configure.yash |
1,737 |
974 |
766 |
33.1 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,713 |
949 |
767 |
33.4 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.3 |
bash |
| 8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
3 |
2 |
1 |
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,352 |
0 |
0 |
0 |
8 |
0 |
41 |
2 |
bash |
| 15 |
no-host |
abuild-print-help |
1,157 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,319 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,393 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,803 |
0 |
0 |
0 |
8 |
0 |
38 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
100,477 |
0 |
0 |
0 |
8 |
0 |
2,000 |
62 |
bash |
| 9 |
no-host |
bin-true |
49,383 |
0 |
0 |
0 |
8 |
0 |
2,992 |
64 |
dash |
| 17 |
no-host |
bin-true |
134,369 |
0 |
0 |
0 |
16 |
0 |
2,000 |
93 |
osh-native |
| 25 |
no-host |
bin-true |
132,939 |
0 |
0 |
0 |
16 |
0 |
1,999 |
70 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
111,036 |
0 |
0 |
0 |
8 |
0 |
2,000 |
84 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,615,138 |
0 |
0 |
0 |
25,272 |
0 |
14,068 |
1,104 |
bash |
| 10 |
no-host |
configure.cpython |
1,629,989 |
0 |
0 |
0 |
25,272 |
0 |
14,119 |
986 |
dash |
| 18 |
no-host |
configure.cpython |
1,597,304 |
0 |
0 |
0 |
25,280 |
0 |
11,293 |
835 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,607,704 |
0 |
0 |
0 |
25,288 |
0 |
11,307 |
878 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,522,053 |
0 |
0 |
0 |
25,272 |
0 |
11,299 |
863 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,460 |
0 |
0 |
0 |
4,432 |
0 |
2,013 |
188 |
bash |
| 12 |
no-host |
configure.ocaml |
281,449 |
0 |
0 |
0 |
4,432 |
0 |
2,113 |
231 |
dash |
| 20 |
no-host |
configure.ocaml |
306,147 |
0 |
0 |
0 |
4,440 |
0 |
1,993 |
228 |
osh-native |
| 28 |
no-host |
configure.ocaml |
306,857 |
0 |
0 |
0 |
4,440 |
0 |
1,999 |
186 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,801 |
0 |
0 |
0 |
4,432 |
0 |
2,000 |
209 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,237 |
0 |
0 |
0 |
80 |
0 |
49 |
2 |
bash |
| 13 |
no-host |
configure.tcc |
4,210 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
5,629 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,716 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,150 |
0 |
0 |
0 |
88 |
0 |
45 |
3 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,540,536 |
1 |
0 |
232 |
35,944 |
0 |
18,959 |
1,078 |
bash |
| 11 |
no-host |
configure.util-linux |
1,705,490 |
1 |
0 |
0 |
35,936 |
0 |
17,111 |
1,224 |
dash |
| 19 |
no-host |
configure.util-linux |
1,496,014 |
1 |
0 |
0 |
35,952 |
0 |
16,189 |
936 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,520,959 |
0 |
0 |
0 |
35,944 |
0 |
16,193 |
925 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,457,225 |
3 |
0 |
0 |
35,936 |
0 |
16,206 |
929 |
osh-static |
| 6 |
no-host |
configure.yash |
173,309 |
0 |
0 |
0 |
3,616 |
0 |
878 |
107 |
bash |
| 14 |
no-host |
configure.yash |
159,608 |
0 |
0 |
0 |
3,624 |
0 |
1,001 |
102 |
dash |
| 22 |
no-host |
configure.yash |
176,419 |
0 |
0 |
0 |
3,624 |
0 |
857 |
105 |
osh-native |
| 30 |
no-host |
configure.yash |
176,671 |
0 |
0 |
0 |
3,624 |
0 |
859 |
98 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
173,069 |
0 |
0 |
0 |
3,616 |
0 |
854 |
103 |
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 |
393 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 24 |
no-host |
hello-world |
398 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
182 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host