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 |
13 |
7 |
18 |
19 |
16 |
1.37 |
1.23 |
| bin-true |
no-host |
434 |
300 |
596 |
607 |
497 |
1.37 |
1.14 |
| configure.cpython |
no-host |
11,619 |
11,659 |
11,508 |
11,783 |
11,204 |
0.99 |
0.96 |
| configure.ocaml |
no-host |
3,277 |
3,253 |
3,378 |
3,345 |
3,298 |
1.03 |
1.01 |
| configure.tcc |
no-host |
37 |
34 |
39 |
39 |
37 |
1.05 |
0.98 |
| configure.util-linux |
no-host |
10,282 |
10,718 |
10,464 |
10,841 |
10,348 |
1.02 |
1.01 |
| configure.yash |
no-host |
1,429 |
1,415 |
1,489 |
1,444 |
1,389 |
1.04 |
0.97 |
| hello-world |
no-host |
1 |
1 |
2 |
3 |
1 |
2.50 |
1.17 |
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,398 |
1,175 |
3,335 |
3,419 |
2,861 |
1.39 |
1.19 |
| bin-true |
no-host |
102,879 |
49,849 |
133,472 |
134,771 |
112,149 |
1.30 |
1.09 |
| configure.cpython |
no-host |
1,631,699 |
1,642,137 |
1,582,074 |
1,609,481 |
1,526,982 |
0.97 |
0.94 |
| configure.ocaml |
no-host |
299,996 |
281,463 |
307,118 |
308,213 |
300,982 |
1.02 |
1.00 |
| configure.tcc |
no-host |
5,249 |
4,238 |
5,599 |
5,666 |
5,138 |
1.07 |
0.98 |
| configure.util-linux |
no-host |
1,543,734 |
1,704,586 |
1,502,579 |
1,526,059 |
1,480,707 |
0.97 |
0.96 |
| configure.yash |
no-host |
174,039 |
159,857 |
177,514 |
177,614 |
173,452 |
1.02 |
1.00 |
| hello-world |
no-host |
154 |
85 |
395 |
401 |
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 |
2 |
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 |
596 |
1 |
2 |
3.5 |
8.7 |
151,892 |
10,755 |
2,969 |
14,781 |
72,395 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
11,508 |
1 |
61 |
14.8 |
34.4 |
1,750,789 |
35,388 |
28,945 |
93,077 |
869,747 |
787,965 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
10,464 |
3 |
64 |
21.6 |
39.7 |
2,705,325 |
37,460 |
66,333 |
119,745 |
1,291,842 |
1,293,738 |
32,527 |
42 |
132,666 |
1 |
| configure.ocaml |
no-host |
3,378 |
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 |
39 |
0 |
0 |
1.4 |
26.4 |
30,541 |
30,541 |
0 |
1,680 |
14,472 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,489 |
1 |
2 |
2.7 |
33.4 |
143,454 |
11,460 |
6,616 |
7,164 |
70,518 |
65,772 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
18 |
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 |
7.1 |
3,906 |
3,906 |
0 |
721 |
1,921 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
607 |
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 |
11,783 |
1 |
63 |
14.8 |
34.4 |
1,750,788 |
35,393 |
28,950 |
93,076 |
869,747 |
787,965 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
10,841 |
3 |
66 |
21.6 |
39.6 |
2,705,325 |
37,466 |
66,339 |
119,745 |
1,291,842 |
1,293,738 |
32,527 |
42 |
132,678 |
1 |
| configure.ocaml |
no-host |
3,345 |
1 |
2 |
2.8 |
28.8 |
149,692 |
12,652 |
6,567 |
9,213 |
70,295 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
39 |
0 |
0 |
1.4 |
26.3 |
30,541 |
30,541 |
0 |
1,680 |
14,472 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,444 |
1 |
2 |
2.7 |
33.4 |
143,454 |
11,464 |
6,620 |
7,164 |
70,518 |
65,772 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
19 |
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 |
13 |
7 |
7 |
4.8 |
bash |
| 15 |
no-host |
abuild-print-help |
7 |
6 |
2 |
4.1 |
dash |
| 23 |
no-host |
abuild-print-help |
18 |
9 |
9 |
9.4 |
osh-native |
| 31 |
no-host |
abuild-print-help |
19 |
12 |
8 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
16 |
13 |
3 |
6.4 |
osh-static |
| 1 |
no-host |
bin-true |
434 |
270 |
194 |
3.1 |
bash |
| 9 |
no-host |
bin-true |
300 |
223 |
76 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
596 |
308 |
299 |
8.7 |
osh-native |
| 25 |
no-host |
bin-true |
607 |
314 |
300 |
9.2 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
497 |
289 |
220 |
5.4 |
osh-static |
| 2 |
no-host |
configure.cpython |
11,619 |
7,582 |
4,302 |
34.6 |
bash |
| 10 |
no-host |
configure.cpython |
11,659 |
7,624 |
4,313 |
34.8 |
dash |
| 18 |
no-host |
configure.cpython |
11,508 |
7,229 |
4,456 |
34.4 |
osh-native |
| 26 |
no-host |
configure.cpython |
11,783 |
7,347 |
4,612 |
34.4 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
11,204 |
7,232 |
4,132 |
34.7 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,277 |
1,504 |
796 |
28.8 |
bash |
| 12 |
no-host |
configure.ocaml |
3,253 |
1,484 |
771 |
28.8 |
dash |
| 20 |
no-host |
configure.ocaml |
3,378 |
1,550 |
846 |
28.7 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,345 |
1,499 |
866 |
28.8 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,298 |
1,478 |
833 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
37 |
26 |
12 |
26.3 |
bash |
| 13 |
no-host |
configure.tcc |
34 |
22 |
12 |
26.2 |
dash |
| 21 |
no-host |
configure.tcc |
39 |
25 |
15 |
26.4 |
osh-native |
| 29 |
no-host |
configure.tcc |
39 |
26 |
13 |
26.3 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
37 |
23 |
13 |
26.3 |
osh-static |
| 3 |
no-host |
configure.util-linux |
10,282 |
6,578 |
4,041 |
39.7 |
bash |
| 11 |
no-host |
configure.util-linux |
10,718 |
6,538 |
4,546 |
39.9 |
dash |
| 19 |
no-host |
configure.util-linux |
10,464 |
6,275 |
4,330 |
39.7 |
osh-native |
| 27 |
no-host |
configure.util-linux |
10,841 |
6,335 |
4,645 |
39.6 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
10,348 |
6,295 |
4,172 |
39.9 |
osh-static |
| 6 |
no-host |
configure.yash |
1,429 |
928 |
502 |
33.5 |
bash |
| 14 |
no-host |
configure.yash |
1,415 |
921 |
487 |
33.1 |
dash |
| 22 |
no-host |
configure.yash |
1,489 |
950 |
532 |
33.4 |
osh-native |
| 30 |
no-host |
configure.yash |
1,444 |
949 |
492 |
33.4 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,389 |
910 |
475 |
33.5 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.4 |
bash |
| 8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
2 |
1 |
2 |
6.6 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
1 |
1 |
7.1 |
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,398 |
0 |
0 |
0 |
8 |
0 |
41 |
2 |
bash |
| 15 |
no-host |
abuild-print-help |
1,175 |
0 |
0 |
0 |
8 |
0 |
39 |
2 |
dash |
| 23 |
no-host |
abuild-print-help |
3,335 |
0 |
0 |
0 |
16 |
0 |
38 |
1 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,419 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,861 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
osh-static |
| 1 |
no-host |
bin-true |
102,879 |
0 |
0 |
0 |
8 |
0 |
1,995 |
47 |
bash |
| 9 |
no-host |
bin-true |
49,849 |
0 |
0 |
0 |
8 |
0 |
2,999 |
44 |
dash |
| 17 |
no-host |
bin-true |
133,472 |
0 |
0 |
0 |
16 |
0 |
2,000 |
73 |
osh-native |
| 25 |
no-host |
bin-true |
134,771 |
0 |
0 |
0 |
16 |
0 |
1,998 |
60 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
112,149 |
0 |
0 |
0 |
8 |
0 |
1,997 |
70 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,631,699 |
0 |
0 |
0 |
25,272 |
0 |
14,031 |
925 |
bash |
| 10 |
no-host |
configure.cpython |
1,642,137 |
1 |
0 |
0 |
25,272 |
0 |
14,095 |
935 |
dash |
| 18 |
no-host |
configure.cpython |
1,582,074 |
0 |
0 |
0 |
25,280 |
0 |
11,322 |
811 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,609,481 |
0 |
0 |
0 |
25,280 |
0 |
11,296 |
821 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,526,982 |
0 |
0 |
0 |
25,272 |
0 |
11,318 |
848 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,996 |
0 |
0 |
0 |
4,432 |
0 |
2,022 |
184 |
bash |
| 12 |
no-host |
configure.ocaml |
281,463 |
0 |
0 |
0 |
4,432 |
0 |
2,112 |
168 |
dash |
| 20 |
no-host |
configure.ocaml |
307,118 |
0 |
0 |
0 |
4,440 |
0 |
2,003 |
199 |
osh-native |
| 28 |
no-host |
configure.ocaml |
308,213 |
0 |
0 |
0 |
4,440 |
0 |
2,004 |
166 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,982 |
0 |
0 |
0 |
4,432 |
0 |
2,007 |
181 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,249 |
0 |
0 |
0 |
80 |
0 |
49 |
1 |
bash |
| 13 |
no-host |
configure.tcc |
4,238 |
0 |
0 |
0 |
88 |
0 |
51 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
5,599 |
0 |
0 |
0 |
96 |
0 |
44 |
2 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,666 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,138 |
0 |
0 |
0 |
88 |
0 |
45 |
2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,543,734 |
2 |
0 |
0 |
35,944 |
0 |
18,842 |
926 |
bash |
| 11 |
no-host |
configure.util-linux |
1,704,586 |
1 |
0 |
336 |
35,936 |
0 |
16,937 |
1,141 |
dash |
| 19 |
no-host |
configure.util-linux |
1,502,579 |
2 |
0 |
0 |
35,960 |
0 |
16,176 |
853 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,526,059 |
1 |
0 |
0 |
35,944 |
0 |
16,195 |
942 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,480,707 |
2 |
0 |
0 |
35,936 |
0 |
16,192 |
810 |
osh-static |
| 6 |
no-host |
configure.yash |
174,039 |
0 |
0 |
0 |
3,616 |
0 |
878 |
97 |
bash |
| 14 |
no-host |
configure.yash |
159,857 |
0 |
0 |
0 |
3,616 |
0 |
1,002 |
80 |
dash |
| 22 |
no-host |
configure.yash |
177,514 |
0 |
0 |
0 |
3,624 |
0 |
857 |
78 |
osh-native |
| 30 |
no-host |
configure.yash |
177,614 |
0 |
0 |
0 |
3,624 |
0 |
858 |
82 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
173,452 |
0 |
0 |
0 |
3,616 |
0 |
861 |
97 |
osh-static |
| 0 |
no-host |
hello-world |
154 |
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 |
395 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
| 24 |
no-host |
hello-world |
401 |
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