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-cpython |
osh-native |
osh-native-souffle |
py bash ratio |
native bash ratio |
abuild-print-help |
no-host |
19 |
10 |
466 |
23 |
22 |
23.91 |
1.17 |
bin-true |
no-host |
686 |
552 |
2,345 |
836 |
821 |
3.42 |
1.22 |
configure.cpython |
no-host |
15,582 |
15,495 |
30,406 |
15,674 |
15,970 |
1.95 |
1.01 |
configure.ocaml |
no-host |
3,967 |
3,887 |
4,786 |
3,890 |
3,955 |
1.21 |
0.98 |
configure.tcc |
no-host |
49 |
44 |
205 |
48 |
50 |
4.15 |
0.98 |
configure.util-linux |
no-host |
14,628 |
15,354 |
32,583 |
14,753 |
14,698 |
2.23 |
1.01 |
configure.yash |
no-host |
1,887 |
1,873 |
2,507 |
1,852 |
1,894 |
1.33 |
0.98 |
hello-world |
no-host |
2 |
1 |
63 |
3 |
3 |
38.54 |
1.80 |
Minor Page Faults
workload |
host name |
bash |
dash |
osh-cpython |
osh-native |
osh-native-souffle |
py bash ratio |
native bash ratio |
abuild-print-help |
no-host |
2,517 |
1,111 |
23,491 |
3,213 |
3,120 |
9.33 |
1.28 |
bin-true |
no-host |
105,295 |
66,487 |
765,470 |
128,211 |
126,239 |
7.27 |
1.22 |
configure.cpython |
no-host |
2,217,737 |
2,250,535 |
6,214,389 |
2,224,094 |
2,215,886 |
2.80 |
1.00 |
configure.ocaml |
no-host |
409,407 |
391,597 |
645,855 |
412,965 |
412,483 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,524 |
5,462 |
23,956 |
6,970 |
6,889 |
3.67 |
1.07 |
configure.util-linux |
no-host |
2,101,619 |
2,261,819 |
5,344,593 |
1,999,993 |
1,987,578 |
2.54 |
0.95 |
configure.yash |
no-host |
256,158 |
244,939 |
386,772 |
257,589 |
258,105 |
1.51 |
1.01 |
hello-world |
no-host |
153 |
83 |
3,957 |
344 |
338 |
25.86 |
2.25 |
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.2 |
6.4 |
3,793 |
3,793 |
0 |
694 |
1,865 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
836 |
1 |
2 |
2.6 |
8.0 |
153,757 |
12,333 |
2,898 |
8,743 |
76,329 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,674 |
1 |
66 |
14.9 |
27.4 |
1,771,804 |
49,616 |
28,523 |
85,427 |
878,138 |
808,239 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,753 |
3 |
65 |
21.2 |
30.1 |
2,702,550 |
53,777 |
65,702 |
108,699 |
1,290,655 |
1,303,196 |
32,241 |
41 |
131,404 |
1 |
configure.ocaml |
no-host |
3,890 |
1 |
2 |
2.6 |
20.3 |
150,091 |
11,123 |
5,218 |
7,508 |
70,976 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.4 |
30,597 |
30,597 |
0 |
1,518 |
14,648 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,852 |
1 |
3 |
2.5 |
24.4 |
139,423 |
8,035 |
6,697 |
5,989 |
67,949 |
65,485 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
9.2 |
116,303 |
64,414 |
42,624 |
4,532 |
54,443 |
57,328 |
277 |
3 |
85,248 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,792 |
3,792 |
0 |
695 |
1,865 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
821 |
1 |
2 |
2.6 |
7.6 |
153,756 |
12,122 |
2,836 |
8,744 |
76,329 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,970 |
1 |
65 |
14.9 |
27.3 |
1,771,803 |
49,074 |
28,461 |
85,428 |
878,138 |
808,237 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,698 |
3 |
64 |
21.2 |
30.0 |
2,702,550 |
53,704 |
65,640 |
108,701 |
1,290,655 |
1,303,194 |
32,241 |
41 |
131,280 |
1 |
configure.ocaml |
no-host |
3,955 |
1 |
2 |
2.6 |
20.6 |
150,091 |
11,061 |
5,156 |
7,510 |
70,976 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.3 |
30,597 |
30,597 |
0 |
1,520 |
14,648 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,894 |
1 |
2 |
2.5 |
24.4 |
139,423 |
7,973 |
6,635 |
5,991 |
67,949 |
65,483 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
8.7 |
116,302 |
64,352 |
42,562 |
4,533 |
54,443 |
57,326 |
277 |
3 |
85,124 |
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 |
19 |
18 |
2 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
6 |
4 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
466 |
416 |
53 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
18 |
5 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
22 |
10 |
12 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
686 |
513 |
206 |
3.0 |
bash |
9 |
no-host |
bin-true |
552 |
430 |
130 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,345 |
1,459 |
1,157 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
836 |
594 |
257 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
821 |
573 |
259 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,582 |
9,361 |
6,629 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,495 |
9,367 |
6,559 |
28.4 |
dash |
18 |
no-host |
configure.cpython |
30,406 |
18,166 |
14,228 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,674 |
9,133 |
6,815 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,970 |
9,276 |
6,776 |
27.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,967 |
1,721 |
1,281 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,887 |
1,587 |
1,320 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,786 |
2,308 |
1,693 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,890 |
1,658 |
1,272 |
20.3 |
osh-native |
36 |
no-host |
configure.ocaml |
3,955 |
1,701 |
1,285 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
30 |
20 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
44 |
32 |
12 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
205 |
138 |
70 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
31 |
18 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
50 |
35 |
15 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,628 |
9,227 |
5,886 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
15,354 |
9,482 |
6,370 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
32,583 |
21,824 |
11,884 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,753 |
8,710 |
6,233 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,698 |
8,862 |
6,026 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,887 |
1,073 |
823 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,873 |
1,004 |
871 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,507 |
1,532 |
1,018 |
24.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,852 |
1,040 |
814 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,894 |
1,127 |
771 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
63 |
43 |
19 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
5.9 |
osh-native-souffle |
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,517 |
0 |
0 |
0 |
16 |
0 |
40 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,111 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,491 |
0 |
0 |
0 |
8 |
0 |
45 |
10 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,213 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,120 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,295 |
0 |
0 |
0 |
8 |
0 |
1,988 |
67 |
bash |
9 |
no-host |
bin-true |
66,487 |
0 |
0 |
0 |
8 |
0 |
1,985 |
69 |
dash |
17 |
no-host |
bin-true |
765,470 |
0 |
0 |
0 |
8 |
0 |
2,001 |
233 |
osh-cpython |
25 |
no-host |
bin-true |
128,211 |
0 |
0 |
0 |
16 |
0 |
1,989 |
57 |
osh-native |
33 |
no-host |
bin-true |
126,239 |
0 |
0 |
0 |
16 |
0 |
1,989 |
68 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,217,737 |
0 |
0 |
0 |
32,928 |
0 |
14,477 |
1,083 |
bash |
10 |
no-host |
configure.cpython |
2,250,535 |
0 |
0 |
0 |
32,992 |
0 |
14,645 |
1,052 |
dash |
18 |
no-host |
configure.cpython |
6,214,389 |
0 |
0 |
0 |
27,512 |
0 |
13,192 |
1,164 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,224,094 |
0 |
0 |
0 |
27,520 |
0 |
13,305 |
962 |
osh-native |
34 |
no-host |
configure.cpython |
2,215,886 |
0 |
0 |
0 |
27,520 |
0 |
13,253 |
988 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
409,407 |
0 |
0 |
0 |
5,120 |
0 |
1,961 |
151 |
bash |
12 |
no-host |
configure.ocaml |
391,597 |
0 |
0 |
0 |
5,112 |
0 |
1,909 |
148 |
dash |
20 |
no-host |
configure.ocaml |
645,855 |
0 |
0 |
0 |
5,112 |
0 |
1,863 |
164 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,965 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
181 |
osh-native |
36 |
no-host |
configure.ocaml |
412,483 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
173 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,524 |
0 |
0 |
0 |
104 |
0 |
49 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,462 |
0 |
0 |
0 |
96 |
0 |
47 |
6 |
dash |
21 |
no-host |
configure.tcc |
23,956 |
0 |
0 |
0 |
96 |
0 |
53 |
10 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,970 |
0 |
0 |
0 |
104 |
0 |
46 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,889 |
0 |
0 |
0 |
104 |
0 |
47 |
5 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,101,619 |
0 |
0 |
0 |
42,400 |
0 |
18,605 |
1,041 |
bash |
11 |
no-host |
configure.util-linux |
2,261,819 |
0 |
0 |
0 |
42,584 |
0 |
17,483 |
1,026 |
dash |
19 |
no-host |
configure.util-linux |
5,344,593 |
3 |
0 |
0 |
39,120 |
0 |
16,986 |
1,257 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,999,993 |
0 |
0 |
0 |
39,128 |
0 |
16,955 |
918 |
osh-native |
35 |
no-host |
configure.util-linux |
1,987,578 |
1 |
0 |
0 |
39,136 |
0 |
16,985 |
909 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,158 |
0 |
0 |
0 |
4,120 |
0 |
868 |
86 |
bash |
14 |
no-host |
configure.yash |
244,939 |
0 |
0 |
0 |
3,720 |
0 |
868 |
86 |
dash |
22 |
no-host |
configure.yash |
386,772 |
0 |
0 |
0 |
3,728 |
0 |
854 |
89 |
osh-cpython |
30 |
no-host |
configure.yash |
257,589 |
0 |
0 |
0 |
3,736 |
0 |
851 |
93 |
osh-native |
38 |
no-host |
configure.yash |
258,105 |
0 |
0 |
0 |
3,736 |
0 |
846 |
94 |
osh-native-souffle |
0 |
no-host |
hello-world |
153 |
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 |
3,957 |
0 |
0 |
0 |
8 |
0 |
7 |
7 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
338 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host