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 |
465 |
23 |
21 |
24.27 |
1.17 |
bin-true |
no-host |
673 |
543 |
2,299 |
820 |
809 |
3.41 |
1.22 |
configure.cpython |
no-host |
15,160 |
15,134 |
29,028 |
15,412 |
15,450 |
1.91 |
1.02 |
configure.ocaml |
no-host |
3,835 |
3,740 |
4,668 |
3,838 |
3,826 |
1.22 |
1.00 |
configure.tcc |
no-host |
47 |
42 |
203 |
50 |
49 |
4.27 |
1.04 |
configure.util-linux |
no-host |
14,028 |
14,966 |
31,734 |
14,535 |
14,350 |
2.26 |
1.04 |
configure.yash |
no-host |
1,823 |
1,784 |
2,490 |
1,832 |
1,833 |
1.37 |
1.01 |
hello-world |
no-host |
2 |
1 |
57 |
3 |
3 |
37.90 |
1.88 |
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,550 |
1,133 |
23,848 |
3,193 |
3,076 |
9.35 |
1.25 |
bin-true |
no-host |
104,319 |
66,466 |
769,584 |
127,238 |
124,296 |
7.38 |
1.22 |
configure.cpython |
no-host |
2,226,059 |
2,247,163 |
6,244,529 |
2,214,550 |
2,208,533 |
2.81 |
0.99 |
configure.ocaml |
no-host |
410,436 |
391,408 |
648,173 |
412,928 |
412,997 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,564 |
5,492 |
24,116 |
6,923 |
6,939 |
3.67 |
1.05 |
configure.util-linux |
no-host |
2,102,666 |
2,261,085 |
5,402,763 |
1,995,993 |
1,989,099 |
2.57 |
0.95 |
configure.yash |
no-host |
256,883 |
244,006 |
388,162 |
257,609 |
258,546 |
1.51 |
1.00 |
hello-world |
no-host |
150 |
79 |
3,942 |
345 |
335 |
26.28 |
2.30 |
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,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
820 |
1 |
2 |
2.6 |
8.1 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,412 |
1 |
64 |
14.9 |
27.3 |
1,771,747 |
49,125 |
28,512 |
85,415 |
878,115 |
808,217 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,535 |
3 |
63 |
21.2 |
30.3 |
2,702,513 |
53,766 |
65,691 |
108,691 |
1,290,640 |
1,303,182 |
32,239 |
41 |
131,382 |
1 |
configure.ocaml |
no-host |
3,838 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,112 |
5,207 |
7,508 |
70,969 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,832 |
1 |
2 |
2.5 |
24.2 |
139,412 |
8,024 |
6,686 |
5,989 |
67,942 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
8.9 |
116,292 |
64,403 |
42,613 |
4,532 |
54,436 |
57,324 |
277 |
3 |
85,226 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.8 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
809 |
1 |
2 |
2.6 |
7.7 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,450 |
1 |
63 |
14.9 |
27.4 |
1,771,746 |
44,577 |
28,450 |
85,416 |
878,115 |
808,215 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,350 |
3 |
60 |
21.2 |
30.3 |
2,702,513 |
53,693 |
65,649 |
108,693 |
1,290,640 |
1,303,180 |
32,239 |
41 |
131,298 |
1 |
configure.ocaml |
no-host |
3,826 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,050 |
5,145 |
7,510 |
70,969 |
71,601 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,833 |
1 |
2 |
2.5 |
24.2 |
139,412 |
7,962 |
6,624 |
5,991 |
67,942 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,291 |
64,341 |
42,551 |
4,533 |
54,436 |
57,322 |
277 |
3 |
85,102 |
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 |
7 |
3 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
465 |
424 |
45 |
22.8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
16 |
7 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
13 |
8 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
673 |
492 |
212 |
3.0 |
bash |
9 |
no-host |
bin-true |
543 |
414 |
139 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,299 |
1,454 |
1,107 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
820 |
572 |
253 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
809 |
580 |
244 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,160 |
9,187 |
6,375 |
27.1 |
bash |
10 |
no-host |
configure.cpython |
15,134 |
9,086 |
6,475 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
29,028 |
17,766 |
13,149 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,412 |
9,104 |
6,578 |
27.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,450 |
8,931 |
6,617 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,835 |
1,601 |
1,275 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,740 |
1,628 |
1,130 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,668 |
2,276 |
1,606 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,838 |
1,716 |
1,161 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,826 |
1,582 |
1,283 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
35 |
13 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
42 |
29 |
13 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
203 |
167 |
39 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
35 |
15 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
23 |
27 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,028 |
8,934 |
5,573 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,966 |
9,018 |
6,441 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,734 |
21,455 |
11,381 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,535 |
8,711 |
6,019 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,350 |
8,580 |
5,977 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,823 |
1,038 |
794 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,784 |
1,086 |
701 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,490 |
1,583 |
949 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,832 |
1,090 |
746 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,833 |
1,046 |
790 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.3 |
dash |
16 |
no-host |
hello-world |
57 |
41 |
16 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
5.8 |
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,550 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,133 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,848 |
0 |
0 |
0 |
8 |
0 |
45 |
12 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,193 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,076 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,319 |
0 |
0 |
0 |
8 |
0 |
1,992 |
80 |
bash |
9 |
no-host |
bin-true |
66,466 |
0 |
0 |
0 |
8 |
0 |
1,990 |
61 |
dash |
17 |
no-host |
bin-true |
769,584 |
0 |
0 |
0 |
8 |
0 |
2,001 |
101 |
osh-cpython |
25 |
no-host |
bin-true |
127,238 |
0 |
0 |
0 |
16 |
0 |
1,990 |
86 |
osh-native |
33 |
no-host |
bin-true |
124,296 |
0 |
0 |
0 |
16 |
0 |
1,988 |
49 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,226,059 |
0 |
0 |
0 |
32,928 |
0 |
14,529 |
1,088 |
bash |
10 |
no-host |
configure.cpython |
2,247,163 |
0 |
0 |
0 |
32,992 |
0 |
14,619 |
1,091 |
dash |
18 |
no-host |
configure.cpython |
6,244,529 |
0 |
0 |
0 |
27,512 |
0 |
13,240 |
1,175 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,214,550 |
0 |
0 |
0 |
27,520 |
0 |
13,159 |
1,028 |
osh-native |
34 |
no-host |
configure.cpython |
2,208,533 |
0 |
0 |
0 |
27,520 |
0 |
13,258 |
1,048 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,436 |
0 |
0 |
0 |
5,120 |
0 |
1,952 |
155 |
bash |
12 |
no-host |
configure.ocaml |
391,408 |
0 |
0 |
0 |
5,112 |
0 |
1,888 |
159 |
dash |
20 |
no-host |
configure.ocaml |
648,173 |
0 |
0 |
0 |
5,112 |
0 |
1,855 |
164 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,928 |
0 |
0 |
0 |
5,120 |
0 |
1,933 |
149 |
osh-native |
36 |
no-host |
configure.ocaml |
412,997 |
0 |
0 |
0 |
5,120 |
0 |
1,935 |
146 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,564 |
0 |
0 |
0 |
104 |
0 |
48 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,492 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
24,116 |
0 |
0 |
0 |
96 |
0 |
53 |
7 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,923 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,939 |
0 |
0 |
0 |
104 |
0 |
46 |
0 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,102,666 |
1 |
0 |
0 |
42,400 |
0 |
18,522 |
1,024 |
bash |
11 |
no-host |
configure.util-linux |
2,261,085 |
0 |
0 |
0 |
42,592 |
0 |
17,377 |
1,157 |
dash |
19 |
no-host |
configure.util-linux |
5,402,763 |
8 |
0 |
0 |
39,112 |
0 |
16,947 |
1,328 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,995,993 |
0 |
0 |
0 |
39,120 |
0 |
16,932 |
937 |
osh-native |
35 |
no-host |
configure.util-linux |
1,989,099 |
0 |
0 |
0 |
39,136 |
0 |
17,026 |
996 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,883 |
0 |
0 |
0 |
4,120 |
0 |
870 |
68 |
bash |
14 |
no-host |
configure.yash |
244,006 |
0 |
0 |
0 |
3,720 |
0 |
868 |
98 |
dash |
22 |
no-host |
configure.yash |
388,162 |
0 |
0 |
0 |
3,728 |
0 |
854 |
101 |
osh-cpython |
30 |
no-host |
configure.yash |
257,609 |
0 |
0 |
0 |
3,736 |
0 |
851 |
75 |
osh-native |
38 |
no-host |
configure.yash |
258,546 |
0 |
0 |
0 |
3,736 |
0 |
850 |
69 |
osh-native-souffle |
0 |
no-host |
hello-world |
150 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
79 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,942 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
335 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host