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 |
463 |
23 |
21 |
23.81 |
1.16 |
bin-true |
no-host |
680 |
541 |
2,302 |
813 |
831 |
3.38 |
1.20 |
configure.cpython |
no-host |
15,122 |
15,184 |
29,168 |
15,404 |
15,546 |
1.93 |
1.02 |
configure.ocaml |
no-host |
3,844 |
3,753 |
4,675 |
3,831 |
3,865 |
1.22 |
1.00 |
configure.tcc |
no-host |
48 |
42 |
205 |
50 |
49 |
4.27 |
1.04 |
configure.util-linux |
no-host |
14,083 |
14,959 |
31,589 |
14,490 |
14,486 |
2.24 |
1.03 |
configure.yash |
no-host |
1,841 |
1,810 |
2,482 |
1,850 |
1,841 |
1.35 |
1.00 |
hello-world |
no-host |
2 |
1 |
57 |
3 |
3 |
37.03 |
1.86 |
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,558 |
1,085 |
23,693 |
3,179 |
3,092 |
9.26 |
1.24 |
bin-true |
no-host |
106,342 |
65,491 |
769,046 |
125,285 |
127,210 |
7.23 |
1.18 |
configure.cpython |
no-host |
2,217,948 |
2,242,484 |
6,206,023 |
2,217,218 |
2,203,814 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,357 |
391,049 |
646,058 |
413,232 |
412,981 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,560 |
5,496 |
24,047 |
6,969 |
6,892 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,103,155 |
2,260,023 |
5,354,306 |
1,998,064 |
1,989,001 |
2.55 |
0.95 |
configure.yash |
no-host |
256,327 |
244,638 |
387,865 |
257,084 |
258,060 |
1.51 |
1.00 |
hello-world |
no-host |
149 |
82 |
3,945 |
339 |
333 |
26.48 |
2.28 |
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.2 |
3,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
813 |
1 |
2 |
2.6 |
8.3 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,404 |
2 |
66 |
14.9 |
27.0 |
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,490 |
3 |
64 |
21.2 |
30.4 |
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,831 |
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,850 |
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 |
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.9 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
831 |
1 |
2 |
2.6 |
7.6 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,546 |
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,486 |
3 |
62 |
21.2 |
30.0 |
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,865 |
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.1 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,841 |
1 |
2 |
2.5 |
24.4 |
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 |
5 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
9 |
0 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
463 |
405 |
61 |
22.4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
14 |
9 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
13 |
9 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
680 |
513 |
197 |
2.8 |
bash |
9 |
no-host |
bin-true |
541 |
415 |
136 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,302 |
1,417 |
1,146 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
813 |
567 |
261 |
8.3 |
osh-native |
33 |
no-host |
bin-true |
831 |
571 |
272 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,122 |
9,007 |
6,514 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,184 |
9,048 |
6,564 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,168 |
17,619 |
13,428 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,404 |
9,172 |
6,502 |
27.0 |
osh-native |
34 |
no-host |
configure.cpython |
15,546 |
9,066 |
6,616 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,844 |
1,685 |
1,197 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,753 |
1,618 |
1,155 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,675 |
2,239 |
1,648 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,831 |
1,710 |
1,158 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,865 |
1,564 |
1,337 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
28 |
20 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
42 |
25 |
18 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
205 |
143 |
65 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
34 |
16 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
29 |
20 |
19.1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,083 |
8,927 |
5,629 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,959 |
9,215 |
6,237 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,589 |
20,974 |
11,698 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,490 |
8,639 |
6,060 |
30.4 |
osh-native |
35 |
no-host |
configure.util-linux |
14,486 |
8,713 |
5,957 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,841 |
1,088 |
759 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,810 |
1,051 |
762 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,482 |
1,497 |
1,027 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,850 |
1,112 |
742 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,841 |
1,022 |
823 |
24.4 |
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 |
57 |
45 |
12 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.2 |
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,558 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,085 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,693 |
0 |
0 |
0 |
8 |
0 |
45 |
11 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,179 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,092 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,342 |
0 |
0 |
0 |
8 |
0 |
1,990 |
66 |
bash |
9 |
no-host |
bin-true |
65,491 |
0 |
0 |
0 |
8 |
0 |
1,984 |
34 |
dash |
17 |
no-host |
bin-true |
769,046 |
0 |
0 |
0 |
8 |
0 |
1,996 |
138 |
osh-cpython |
25 |
no-host |
bin-true |
125,285 |
0 |
0 |
0 |
16 |
0 |
1,991 |
212 |
osh-native |
33 |
no-host |
bin-true |
127,210 |
0 |
0 |
0 |
16 |
0 |
1,991 |
221 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,217,948 |
0 |
0 |
0 |
32,928 |
0 |
14,472 |
1,034 |
bash |
10 |
no-host |
configure.cpython |
2,242,484 |
0 |
0 |
0 |
32,992 |
0 |
14,644 |
962 |
dash |
18 |
no-host |
configure.cpython |
6,206,023 |
1 |
0 |
0 |
27,512 |
0 |
13,158 |
1,190 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,217,218 |
0 |
0 |
0 |
27,520 |
0 |
13,166 |
975 |
osh-native |
34 |
no-host |
configure.cpython |
2,203,814 |
0 |
0 |
0 |
27,520 |
0 |
13,182 |
958 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,357 |
0 |
0 |
0 |
5,120 |
0 |
1,954 |
158 |
bash |
12 |
no-host |
configure.ocaml |
391,049 |
0 |
0 |
0 |
5,112 |
0 |
1,906 |
160 |
dash |
20 |
no-host |
configure.ocaml |
646,058 |
0 |
0 |
0 |
5,112 |
0 |
1,862 |
180 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,232 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
164 |
osh-native |
36 |
no-host |
configure.ocaml |
412,981 |
0 |
0 |
0 |
5,120 |
0 |
1,924 |
154 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,560 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,496 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,047 |
0 |
0 |
0 |
96 |
0 |
53 |
12 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,969 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,892 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,103,155 |
0 |
0 |
0 |
42,400 |
0 |
18,524 |
976 |
bash |
11 |
no-host |
configure.util-linux |
2,260,023 |
2 |
0 |
0 |
42,584 |
0 |
17,457 |
1,041 |
dash |
19 |
no-host |
configure.util-linux |
5,354,306 |
18 |
0 |
0 |
39,120 |
0 |
16,971 |
1,151 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,998,064 |
0 |
0 |
0 |
39,128 |
0 |
17,070 |
1,066 |
osh-native |
35 |
no-host |
configure.util-linux |
1,989,001 |
3 |
0 |
0 |
39,136 |
0 |
16,929 |
901 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,327 |
0 |
0 |
0 |
4,120 |
0 |
870 |
70 |
bash |
14 |
no-host |
configure.yash |
244,638 |
0 |
0 |
0 |
3,720 |
0 |
871 |
75 |
dash |
22 |
no-host |
configure.yash |
387,865 |
0 |
0 |
0 |
3,728 |
0 |
849 |
87 |
osh-cpython |
30 |
no-host |
configure.yash |
257,084 |
0 |
0 |
0 |
3,736 |
0 |
850 |
70 |
osh-native |
38 |
no-host |
configure.yash |
258,060 |
0 |
0 |
0 |
3,736 |
0 |
852 |
88 |
osh-native-souffle |
0 |
no-host |
hello-world |
149 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
82 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,945 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
339 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
333 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host