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 |
9 |
462 |
22 |
21 |
24.18 |
1.16 |
bin-true |
no-host |
676 |
538 |
2,316 |
803 |
803 |
3.43 |
1.19 |
configure.cpython |
no-host |
14,901 |
14,868 |
28,543 |
15,045 |
15,299 |
1.92 |
1.01 |
configure.ocaml |
no-host |
3,760 |
3,694 |
4,611 |
3,778 |
3,789 |
1.23 |
1.00 |
configure.tcc |
no-host |
48 |
42 |
202 |
49 |
49 |
4.19 |
1.01 |
configure.util-linux |
no-host |
13,884 |
14,682 |
31,064 |
14,252 |
14,139 |
2.24 |
1.03 |
configure.yash |
no-host |
1,815 |
1,751 |
2,435 |
1,805 |
1,810 |
1.34 |
0.99 |
hello-world |
no-host |
2 |
1 |
56 |
3 |
3 |
36.81 |
1.84 |
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,546 |
1,099 |
23,721 |
3,199 |
3,076 |
9.32 |
1.26 |
bin-true |
no-host |
105,388 |
65,435 |
769,477 |
125,268 |
124,188 |
7.30 |
1.19 |
configure.cpython |
no-host |
2,216,643 |
2,239,785 |
6,197,649 |
2,222,254 |
2,206,173 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,397 |
390,990 |
646,498 |
412,952 |
412,332 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,545 |
5,476 |
24,014 |
6,980 |
6,925 |
3.67 |
1.07 |
configure.util-linux |
no-host |
2,103,493 |
2,268,466 |
5,386,157 |
1,998,566 |
1,988,435 |
2.56 |
0.95 |
configure.yash |
no-host |
256,046 |
243,068 |
388,159 |
258,421 |
257,752 |
1.52 |
1.01 |
hello-world |
no-host |
151 |
83 |
3,944 |
340 |
336 |
26.12 |
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.3 |
3,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
803 |
1 |
2 |
2.6 |
8.0 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,045 |
1 |
60 |
14.9 |
27.4 |
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,252 |
2 |
59 |
21.2 |
30.1 |
2,702,513 |
45,898 |
65,711 |
108,691 |
1,290,640 |
1,303,182 |
32,239 |
41 |
131,422 |
1 |
configure.ocaml |
no-host |
3,778 |
1 |
2 |
2.6 |
20.7 |
150,080 |
11,112 |
5,207 |
7,508 |
70,969 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.4 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,805 |
1 |
2 |
2.5 |
24.4 |
139,412 |
8,024 |
6,686 |
5,989 |
67,942 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
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 |
803 |
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,299 |
1 |
60 |
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,139 |
2 |
58 |
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,789 |
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.4 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,810 |
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 |
14 |
6 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
7 |
2 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
462 |
428 |
36 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
11 |
12 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
15 |
7 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
676 |
503 |
204 |
3.0 |
bash |
9 |
no-host |
bin-true |
538 |
417 |
131 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,316 |
1,537 |
1,037 |
18.2 |
osh-cpython |
25 |
no-host |
bin-true |
803 |
576 |
242 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
803 |
582 |
234 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,901 |
8,863 |
6,438 |
27.3 |
bash |
10 |
no-host |
configure.cpython |
14,868 |
9,079 |
6,211 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,543 |
17,355 |
13,028 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,045 |
8,786 |
6,527 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,299 |
8,870 |
6,545 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,760 |
1,577 |
1,223 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,694 |
1,521 |
1,195 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,611 |
2,172 |
1,651 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,778 |
1,595 |
1,223 |
20.7 |
osh-native |
36 |
no-host |
configure.ocaml |
3,789 |
1,658 |
1,163 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
28 |
21 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
42 |
32 |
10 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
202 |
147 |
59 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
36 |
13 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
29 |
20 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,884 |
8,652 |
5,708 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,682 |
9,101 |
6,073 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,064 |
20,551 |
11,591 |
30.0 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,252 |
8,564 |
5,890 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,139 |
8,479 |
5,861 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,815 |
1,048 |
766 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,751 |
986 |
766 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,435 |
1,513 |
962 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,805 |
1,049 |
756 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,810 |
1,079 |
735 |
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.4 |
dash |
16 |
no-host |
hello-world |
56 |
30 |
26 |
18.1 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.3 |
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,546 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,099 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,721 |
0 |
0 |
0 |
8 |
0 |
45 |
9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,199 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,076 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,388 |
0 |
0 |
0 |
8 |
0 |
1,987 |
73 |
bash |
9 |
no-host |
bin-true |
65,435 |
0 |
0 |
0 |
8 |
0 |
1,990 |
40 |
dash |
17 |
no-host |
bin-true |
769,477 |
0 |
0 |
0 |
8 |
0 |
1,989 |
175 |
osh-cpython |
25 |
no-host |
bin-true |
125,268 |
0 |
0 |
0 |
16 |
0 |
1,992 |
48 |
osh-native |
33 |
no-host |
bin-true |
124,188 |
0 |
0 |
0 |
16 |
0 |
1,987 |
104 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,216,643 |
1 |
0 |
0 |
32,928 |
0 |
14,530 |
1,313 |
bash |
10 |
no-host |
configure.cpython |
2,239,785 |
0 |
0 |
0 |
32,992 |
0 |
14,614 |
931 |
dash |
18 |
no-host |
configure.cpython |
6,197,649 |
0 |
0 |
0 |
27,512 |
0 |
13,199 |
1,227 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,222,254 |
0 |
0 |
0 |
27,520 |
0 |
13,206 |
968 |
osh-native |
34 |
no-host |
configure.cpython |
2,206,173 |
0 |
0 |
0 |
27,520 |
0 |
13,267 |
959 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,397 |
0 |
0 |
0 |
5,120 |
0 |
1,946 |
146 |
bash |
12 |
no-host |
configure.ocaml |
390,990 |
0 |
0 |
0 |
5,112 |
0 |
1,936 |
152 |
dash |
20 |
no-host |
configure.ocaml |
646,498 |
0 |
0 |
0 |
5,112 |
0 |
1,864 |
228 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,952 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
158 |
osh-native |
36 |
no-host |
configure.ocaml |
412,332 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
165 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,545 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,476 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,014 |
0 |
0 |
0 |
96 |
0 |
53 |
10 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,980 |
0 |
0 |
0 |
104 |
0 |
46 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,925 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,103,493 |
0 |
0 |
0 |
42,400 |
0 |
18,529 |
1,154 |
bash |
11 |
no-host |
configure.util-linux |
2,268,466 |
0 |
0 |
0 |
42,584 |
0 |
17,402 |
1,071 |
dash |
19 |
no-host |
configure.util-linux |
5,386,157 |
15 |
0 |
0 |
39,112 |
0 |
16,965 |
1,150 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,998,566 |
5 |
0 |
0 |
39,120 |
0 |
16,987 |
918 |
osh-native |
35 |
no-host |
configure.util-linux |
1,988,435 |
1 |
0 |
0 |
39,128 |
0 |
16,965 |
1,000 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,046 |
0 |
0 |
0 |
4,120 |
0 |
883 |
89 |
bash |
14 |
no-host |
configure.yash |
243,068 |
0 |
0 |
0 |
3,720 |
0 |
868 |
83 |
dash |
22 |
no-host |
configure.yash |
388,159 |
0 |
0 |
0 |
3,728 |
0 |
853 |
109 |
osh-cpython |
30 |
no-host |
configure.yash |
258,421 |
0 |
0 |
0 |
3,736 |
0 |
847 |
69 |
osh-native |
38 |
no-host |
configure.yash |
257,752 |
0 |
0 |
0 |
3,736 |
0 |
845 |
79 |
osh-native-souffle |
0 |
no-host |
hello-world |
151 |
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,944 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
340 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
336 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host