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-souffle |
osh-static |
osh bash ratio |
static bash ratio |
abuild-print-help |
no-host |
15 |
9 |
21 |
20 |
18 |
1.34 |
1.18 |
bin-true |
no-host |
613 |
434 |
794 |
784 |
637 |
1.29 |
1.04 |
configure.cpython |
no-host |
13,893 |
13,942 |
13,101 |
13,119 |
12,895 |
0.94 |
0.93 |
configure.ocaml |
no-host |
3,678 |
3,703 |
3,708 |
3,722 |
3,720 |
1.01 |
1.01 |
configure.tcc |
no-host |
47 |
43 |
46 |
46 |
43 |
0.98 |
0.92 |
configure.util-linux |
no-host |
12,530 |
13,581 |
12,065 |
12,121 |
12,044 |
0.96 |
0.96 |
configure.yash |
no-host |
1,696 |
1,678 |
1,664 |
1,681 |
1,677 |
0.98 |
0.99 |
hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.30 |
0.91 |
Minor Page Faults
workload |
host name |
bash |
dash |
osh-native |
osh-souffle |
osh-static |
osh bash ratio |
static bash ratio |
abuild-print-help |
no-host |
2,388 |
1,194 |
3,289 |
3,204 |
2,712 |
1.38 |
1.14 |
bin-true |
no-host |
99,945 |
49,370 |
135,260 |
132,220 |
108,553 |
1.35 |
1.09 |
configure.cpython |
no-host |
1,618,815 |
1,637,872 |
1,486,027 |
1,472,279 |
1,417,293 |
0.92 |
0.88 |
configure.ocaml |
no-host |
299,081 |
280,667 |
309,519 |
308,642 |
300,127 |
1.03 |
1.00 |
configure.tcc |
no-host |
5,211 |
4,218 |
5,462 |
5,366 |
4,967 |
1.05 |
0.95 |
configure.util-linux |
no-host |
1,536,534 |
1,693,974 |
1,353,987 |
1,345,811 |
1,311,380 |
0.88 |
0.85 |
configure.yash |
no-host |
173,432 |
159,534 |
171,139 |
170,469 |
168,025 |
0.99 |
0.97 |
hello-world |
no-host |
149 |
81 |
386 |
383 |
184 |
2.59 |
1.23 |
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.9 |
3,845 |
3,845 |
0 |
709 |
1,886 |
1,250 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
794 |
1 |
2 |
2.6 |
8.5 |
156,823 |
15,445 |
2,932 |
8,768 |
77,355 |
70,700 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
13,101 |
1 |
67 |
23.8 |
34.5 |
1,807,490 |
42,329 |
29,105 |
80,210 |
906,425 |
820,855 |
25,789 |
63 |
50,000 |
0 |
configure.util-linux |
no-host |
12,065 |
3 |
63 |
27.1 |
39.9 |
2,730,808 |
37,546 |
66,625 |
105,146 |
1,312,788 |
1,312,874 |
32,539 |
42 |
133,250 |
1 |
configure.ocaml |
no-host |
3,708 |
1 |
2 |
2.7 |
28.8 |
150,156 |
12,492 |
6,535 |
7,774 |
71,007 |
71,375 |
1,693 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
46 |
0 |
0 |
1.4 |
26.2 |
30,817 |
30,817 |
0 |
1,560 |
14,752 |
14,505 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,664 |
1 |
2 |
2.9 |
33.2 |
140,416 |
8,106 |
6,740 |
6,341 |
68,787 |
65,288 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
3.0 |
10.0 |
117,373 |
65,835 |
42,018 |
4,938 |
54,787 |
57,648 |
277 |
3 |
84,036 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.6 |
3,844 |
3,844 |
0 |
708 |
1,886 |
1,250 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
784 |
1 |
2 |
2.6 |
8.3 |
156,823 |
15,440 |
2,927 |
8,768 |
77,355 |
70,700 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
13,119 |
1 |
65 |
23.8 |
34.6 |
1,807,489 |
42,323 |
29,099 |
80,209 |
906,425 |
820,855 |
25,789 |
63 |
50,000 |
0 |
configure.util-linux |
no-host |
12,121 |
3 |
65 |
27.1 |
39.5 |
2,730,808 |
37,532 |
66,618 |
105,146 |
1,312,788 |
1,312,874 |
32,539 |
42 |
133,236 |
1 |
configure.ocaml |
no-host |
3,722 |
1 |
2 |
2.7 |
28.7 |
150,156 |
12,486 |
6,529 |
7,774 |
71,007 |
71,375 |
1,693 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
46 |
0 |
0 |
1.4 |
26.2 |
30,817 |
30,817 |
0 |
1,560 |
14,752 |
14,505 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,681 |
1 |
2 |
2.9 |
33.4 |
140,416 |
8,095 |
6,729 |
6,341 |
68,787 |
65,288 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
20 |
1 |
2 |
3.0 |
9.3 |
117,373 |
65,830 |
42,013 |
4,938 |
54,787 |
57,648 |
277 |
3 |
84,026 |
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 |
15 |
7 |
9 |
4.7 |
bash |
15 |
no-host |
abuild-print-help |
9 |
5 |
4 |
3.9 |
dash |
23 |
no-host |
abuild-print-help |
21 |
12 |
10 |
10.0 |
osh-native |
31 |
no-host |
abuild-print-help |
20 |
9 |
12 |
9.3 |
osh-souffle |
39 |
no-host |
abuild-print-help |
18 |
10 |
9 |
6.8 |
osh-static |
1 |
no-host |
bin-true |
613 |
302 |
348 |
3.3 |
bash |
9 |
no-host |
bin-true |
434 |
275 |
164 |
1.6 |
dash |
17 |
no-host |
bin-true |
794 |
317 |
495 |
8.5 |
osh-native |
25 |
no-host |
bin-true |
784 |
318 |
481 |
8.3 |
osh-souffle |
33 |
no-host |
bin-true |
637 |
313 |
340 |
5.2 |
osh-static |
2 |
no-host |
configure.cpython |
13,893 |
7,562 |
6,703 |
34.6 |
bash |
10 |
no-host |
configure.cpython |
13,942 |
7,577 |
6,755 |
34.4 |
dash |
18 |
no-host |
configure.cpython |
13,101 |
6,948 |
6,411 |
34.5 |
osh-native |
26 |
no-host |
configure.cpython |
13,119 |
6,959 |
6,266 |
34.6 |
osh-souffle |
34 |
no-host |
configure.cpython |
12,895 |
7,071 |
6,039 |
34.6 |
osh-static |
4 |
no-host |
configure.ocaml |
3,678 |
1,444 |
1,271 |
28.7 |
bash |
12 |
no-host |
configure.ocaml |
3,703 |
1,471 |
1,256 |
28.7 |
dash |
20 |
no-host |
configure.ocaml |
3,708 |
1,480 |
1,266 |
28.8 |
osh-native |
28 |
no-host |
configure.ocaml |
3,722 |
1,481 |
1,277 |
28.7 |
osh-souffle |
36 |
no-host |
configure.ocaml |
3,720 |
1,501 |
1,248 |
28.8 |
osh-static |
5 |
no-host |
configure.tcc |
47 |
23 |
24 |
26.0 |
bash |
13 |
no-host |
configure.tcc |
43 |
20 |
23 |
26.0 |
dash |
21 |
no-host |
configure.tcc |
46 |
23 |
23 |
26.2 |
osh-native |
29 |
no-host |
configure.tcc |
46 |
30 |
17 |
26.2 |
osh-souffle |
37 |
no-host |
configure.tcc |
43 |
20 |
23 |
26.3 |
osh-static |
3 |
no-host |
configure.util-linux |
12,530 |
6,546 |
6,435 |
39.4 |
bash |
11 |
no-host |
configure.util-linux |
13,581 |
6,572 |
7,487 |
39.7 |
dash |
19 |
no-host |
configure.util-linux |
12,065 |
6,018 |
6,243 |
39.9 |
osh-native |
27 |
no-host |
configure.util-linux |
12,121 |
6,016 |
6,301 |
39.5 |
osh-souffle |
35 |
no-host |
configure.util-linux |
12,044 |
6,206 |
6,028 |
39.5 |
osh-static |
6 |
no-host |
configure.yash |
1,696 |
934 |
771 |
33.4 |
bash |
14 |
no-host |
configure.yash |
1,678 |
945 |
734 |
33.1 |
dash |
22 |
no-host |
configure.yash |
1,664 |
937 |
729 |
33.2 |
osh-native |
30 |
no-host |
configure.yash |
1,681 |
942 |
740 |
33.4 |
osh-souffle |
38 |
no-host |
configure.yash |
1,677 |
902 |
776 |
33.3 |
osh-static |
0 |
no-host |
hello-world |
1 |
0 |
1 |
3.0 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
3 |
0 |
3 |
6.9 |
osh-native |
24 |
no-host |
hello-world |
3 |
1 |
2 |
6.6 |
osh-souffle |
32 |
no-host |
hello-world |
1 |
1 |
0 |
3.7 |
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,388 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,194 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
23 |
no-host |
abuild-print-help |
3,289 |
0 |
0 |
0 |
16 |
0 |
37 |
0 |
osh-native |
31 |
no-host |
abuild-print-help |
3,204 |
0 |
0 |
0 |
16 |
0 |
37 |
1 |
osh-souffle |
39 |
no-host |
abuild-print-help |
2,712 |
0 |
0 |
0 |
8 |
0 |
37 |
0 |
osh-static |
1 |
no-host |
bin-true |
99,945 |
0 |
0 |
0 |
8 |
0 |
1,988 |
77 |
bash |
9 |
no-host |
bin-true |
49,370 |
0 |
0 |
0 |
8 |
0 |
2,976 |
66 |
dash |
17 |
no-host |
bin-true |
135,260 |
0 |
0 |
0 |
16 |
0 |
1,980 |
105 |
osh-native |
25 |
no-host |
bin-true |
132,220 |
0 |
0 |
0 |
16 |
0 |
1,974 |
105 |
osh-souffle |
33 |
no-host |
bin-true |
108,553 |
0 |
0 |
0 |
8 |
0 |
1,979 |
81 |
osh-static |
2 |
no-host |
configure.cpython |
1,618,815 |
0 |
0 |
0 |
25,272 |
0 |
14,041 |
1,172 |
bash |
10 |
no-host |
configure.cpython |
1,637,872 |
0 |
0 |
0 |
25,272 |
0 |
14,104 |
1,041 |
dash |
18 |
no-host |
configure.cpython |
1,486,027 |
0 |
0 |
0 |
25,280 |
0 |
9,723 |
835 |
osh-native |
26 |
no-host |
configure.cpython |
1,472,279 |
0 |
0 |
0 |
25,280 |
0 |
9,699 |
736 |
osh-souffle |
34 |
no-host |
configure.cpython |
1,417,293 |
0 |
0 |
0 |
25,272 |
0 |
9,714 |
839 |
osh-static |
4 |
no-host |
configure.ocaml |
299,081 |
0 |
0 |
0 |
4,432 |
0 |
2,006 |
184 |
bash |
12 |
no-host |
configure.ocaml |
280,667 |
0 |
0 |
0 |
4,432 |
0 |
2,105 |
175 |
dash |
20 |
no-host |
configure.ocaml |
309,519 |
0 |
0 |
0 |
4,440 |
0 |
1,986 |
224 |
osh-native |
28 |
no-host |
configure.ocaml |
308,642 |
0 |
0 |
0 |
4,440 |
0 |
1,984 |
212 |
osh-souffle |
36 |
no-host |
configure.ocaml |
300,127 |
0 |
0 |
0 |
4,432 |
0 |
1,988 |
195 |
osh-static |
5 |
no-host |
configure.tcc |
5,211 |
0 |
0 |
0 |
80 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
4,218 |
0 |
0 |
0 |
88 |
0 |
51 |
2 |
dash |
21 |
no-host |
configure.tcc |
5,462 |
0 |
0 |
0 |
96 |
0 |
41 |
3 |
osh-native |
29 |
no-host |
configure.tcc |
5,366 |
0 |
0 |
0 |
96 |
0 |
41 |
3 |
osh-souffle |
37 |
no-host |
configure.tcc |
4,967 |
0 |
0 |
0 |
88 |
0 |
41 |
2 |
osh-static |
3 |
no-host |
configure.util-linux |
1,536,534 |
1 |
0 |
0 |
35,944 |
0 |
18,921 |
1,121 |
bash |
11 |
no-host |
configure.util-linux |
1,693,974 |
2 |
0 |
0 |
35,936 |
0 |
17,025 |
1,250 |
dash |
19 |
no-host |
configure.util-linux |
1,353,987 |
2 |
0 |
0 |
35,952 |
0 |
15,243 |
892 |
osh-native |
27 |
no-host |
configure.util-linux |
1,345,811 |
2 |
0 |
0 |
35,944 |
0 |
15,164 |
944 |
osh-souffle |
35 |
no-host |
configure.util-linux |
1,311,380 |
0 |
0 |
0 |
35,936 |
0 |
15,248 |
853 |
osh-static |
6 |
no-host |
configure.yash |
173,432 |
0 |
0 |
0 |
3,616 |
0 |
874 |
100 |
bash |
14 |
no-host |
configure.yash |
159,534 |
0 |
0 |
0 |
3,624 |
0 |
1,000 |
98 |
dash |
22 |
no-host |
configure.yash |
171,139 |
0 |
0 |
0 |
3,632 |
0 |
763 |
95 |
osh-native |
30 |
no-host |
configure.yash |
170,469 |
0 |
0 |
0 |
3,624 |
0 |
761 |
104 |
osh-souffle |
38 |
no-host |
configure.yash |
168,025 |
0 |
0 |
0 |
3,616 |
0 |
764 |
100 |
osh-static |
0 |
no-host |
hello-world |
149 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
81 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
386 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
24 |
no-host |
hello-world |
383 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-souffle |
32 |
no-host |
hello-world |
184 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host