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 |
20 |
10 |
462 |
22 |
22 |
23.60 |
1.14 |
bin-true |
no-host |
677 |
547 |
2,355 |
821 |
816 |
3.48 |
1.21 |
configure.cpython |
no-host |
15,078 |
15,337 |
29,773 |
15,864 |
15,527 |
1.97 |
1.05 |
configure.ocaml |
no-host |
3,795 |
3,847 |
4,779 |
3,835 |
3,951 |
1.26 |
1.01 |
configure.tcc |
no-host |
48 |
43 |
205 |
49 |
50 |
4.31 |
1.03 |
configure.util-linux |
no-host |
14,169 |
15,221 |
31,501 |
14,779 |
14,825 |
2.22 |
1.04 |
configure.yash |
no-host |
1,823 |
1,847 |
2,541 |
1,855 |
1,903 |
1.39 |
1.02 |
hello-world |
no-host |
2 |
1 |
59 |
3 |
3 |
38.43 |
1.85 |
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,532 |
1,109 |
23,615 |
3,175 |
3,121 |
9.33 |
1.25 |
bin-true |
no-host |
105,364 |
65,462 |
779,077 |
126,176 |
126,202 |
7.39 |
1.20 |
configure.cpython |
no-host |
2,222,953 |
2,240,997 |
6,223,271 |
2,217,050 |
2,212,840 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,509 |
391,034 |
646,538 |
413,298 |
412,099 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,587 |
5,486 |
24,003 |
6,981 |
6,915 |
3.64 |
1.06 |
configure.util-linux |
no-host |
2,095,331 |
2,261,754 |
5,361,667 |
2,000,289 |
1,990,147 |
2.56 |
0.95 |
configure.yash |
no-host |
256,531 |
244,580 |
387,467 |
257,439 |
257,211 |
1.51 |
1.00 |
hello-world |
no-host |
153 |
78 |
3,984 |
343 |
334 |
26.04 |
2.24 |
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,790 |
3,790 |
0 |
694 |
1,862 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
821 |
1 |
2 |
2.6 |
8.0 |
153,754 |
12,330 |
2,895 |
8,743 |
76,326 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,864 |
1 |
66 |
14.9 |
27.3 |
1,771,755 |
49,613 |
28,520 |
85,415 |
878,119 |
808,221 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,779 |
3 |
64 |
21.2 |
30.1 |
2,702,521 |
53,774 |
65,699 |
108,691 |
1,290,644 |
1,303,186 |
32,239 |
41 |
131,398 |
1 |
configure.ocaml |
no-host |
3,835 |
1 |
2 |
2.6 |
20.4 |
150,088 |
11,120 |
5,215 |
7,508 |
70,973 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.4 |
30,594 |
30,594 |
0 |
1,518 |
14,645 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,855 |
1 |
2 |
2.5 |
24.2 |
139,420 |
8,032 |
6,694 |
5,989 |
67,946 |
65,485 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,300 |
64,411 |
42,621 |
4,532 |
54,440 |
57,328 |
277 |
3 |
85,242 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,789 |
3,789 |
0 |
695 |
1,862 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
816 |
1 |
2 |
2.6 |
7.7 |
153,753 |
12,119 |
2,833 |
8,744 |
76,326 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,527 |
1 |
64 |
14.9 |
27.4 |
1,771,754 |
49,071 |
28,458 |
85,416 |
878,119 |
808,219 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,825 |
3 |
66 |
21.2 |
30.3 |
2,702,521 |
53,701 |
65,637 |
108,693 |
1,290,644 |
1,303,184 |
32,239 |
41 |
131,274 |
1 |
configure.ocaml |
no-host |
3,951 |
1 |
2 |
2.6 |
20.4 |
150,088 |
11,058 |
5,153 |
7,510 |
70,973 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.3 |
30,594 |
30,594 |
0 |
1,520 |
14,645 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,903 |
1 |
2 |
2.5 |
24.2 |
139,420 |
7,970 |
6,632 |
5,991 |
67,946 |
65,483 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
8.7 |
116,299 |
64,349 |
42,559 |
4,533 |
54,440 |
57,326 |
277 |
3 |
85,118 |
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 |
20 |
18 |
2 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
8 |
2 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
462 |
422 |
43 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
15 |
8 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
22 |
15 |
7 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
677 |
500 |
211 |
3.0 |
bash |
9 |
no-host |
bin-true |
547 |
416 |
141 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,355 |
1,462 |
1,161 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
821 |
571 |
263 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
816 |
585 |
245 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,078 |
9,085 |
6,404 |
27.1 |
bash |
10 |
no-host |
configure.cpython |
15,337 |
9,070 |
6,695 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
29,773 |
18,373 |
13,371 |
27.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,864 |
9,195 |
6,932 |
27.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,527 |
9,074 |
6,526 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,795 |
1,653 |
1,183 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,847 |
1,592 |
1,274 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,779 |
2,279 |
1,718 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,835 |
1,689 |
1,186 |
20.4 |
osh-native |
36 |
no-host |
configure.ocaml |
3,951 |
1,684 |
1,305 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
33 |
15 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
43 |
33 |
11 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
205 |
134 |
74 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
31 |
18 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
50 |
34 |
16 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,169 |
8,806 |
5,833 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
15,221 |
9,386 |
6,333 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,501 |
21,029 |
11,572 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,779 |
8,950 |
6,026 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,825 |
8,923 |
6,102 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,823 |
1,033 |
797 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,847 |
1,106 |
745 |
25.4 |
dash |
22 |
no-host |
configure.yash |
2,541 |
1,509 |
1,077 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,855 |
1,158 |
701 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,903 |
1,082 |
825 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.3 |
dash |
16 |
no-host |
hello-world |
59 |
28 |
31 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
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,532 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,109 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,615 |
0 |
0 |
0 |
8 |
0 |
45 |
10 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,175 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,121 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,364 |
0 |
0 |
0 |
8 |
0 |
1,989 |
61 |
bash |
9 |
no-host |
bin-true |
65,462 |
0 |
0 |
0 |
8 |
0 |
1,990 |
33 |
dash |
17 |
no-host |
bin-true |
779,077 |
0 |
0 |
0 |
8 |
0 |
1,995 |
254 |
osh-cpython |
25 |
no-host |
bin-true |
126,176 |
0 |
0 |
0 |
16 |
0 |
1,988 |
50 |
osh-native |
33 |
no-host |
bin-true |
126,202 |
0 |
0 |
0 |
16 |
0 |
1,997 |
78 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,222,953 |
0 |
0 |
0 |
32,928 |
0 |
14,451 |
1,035 |
bash |
10 |
no-host |
configure.cpython |
2,240,997 |
0 |
0 |
0 |
32,992 |
0 |
14,597 |
1,039 |
dash |
18 |
no-host |
configure.cpython |
6,223,271 |
0 |
0 |
0 |
27,512 |
0 |
13,250 |
1,273 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,217,050 |
1 |
0 |
0 |
27,520 |
0 |
13,269 |
967 |
osh-native |
34 |
no-host |
configure.cpython |
2,212,840 |
0 |
0 |
0 |
27,520 |
0 |
13,317 |
1,002 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,509 |
0 |
0 |
0 |
5,120 |
0 |
1,944 |
168 |
bash |
12 |
no-host |
configure.ocaml |
391,034 |
0 |
0 |
0 |
5,112 |
0 |
1,870 |
156 |
dash |
20 |
no-host |
configure.ocaml |
646,538 |
0 |
0 |
0 |
5,112 |
0 |
1,855 |
159 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,298 |
0 |
0 |
0 |
5,120 |
0 |
1,924 |
186 |
osh-native |
36 |
no-host |
configure.ocaml |
412,099 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
140 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,587 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,486 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,003 |
0 |
0 |
0 |
96 |
0 |
52 |
7 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,981 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,915 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,095,331 |
0 |
0 |
0 |
42,400 |
0 |
18,550 |
1,080 |
bash |
11 |
no-host |
configure.util-linux |
2,261,754 |
0 |
0 |
0 |
42,584 |
0 |
17,468 |
1,002 |
dash |
19 |
no-host |
configure.util-linux |
5,361,667 |
14 |
0 |
0 |
39,112 |
0 |
16,973 |
1,141 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,000,289 |
0 |
0 |
0 |
39,120 |
0 |
16,953 |
983 |
osh-native |
35 |
no-host |
configure.util-linux |
1,990,147 |
1 |
0 |
0 |
39,136 |
0 |
16,979 |
1,025 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,531 |
0 |
0 |
0 |
4,120 |
0 |
870 |
69 |
bash |
14 |
no-host |
configure.yash |
244,580 |
0 |
0 |
0 |
3,720 |
0 |
870 |
63 |
dash |
22 |
no-host |
configure.yash |
387,467 |
0 |
0 |
0 |
3,728 |
0 |
853 |
108 |
osh-cpython |
30 |
no-host |
configure.yash |
257,439 |
0 |
0 |
0 |
3,736 |
0 |
850 |
73 |
osh-native |
38 |
no-host |
configure.yash |
257,211 |
0 |
0 |
0 |
3,736 |
0 |
848 |
77 |
osh-native-souffle |
0 |
no-host |
hello-world |
153 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
78 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,984 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
343 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
334 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host