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 |
467 |
22 |
21 |
24.29 |
1.14 |
bin-true |
no-host |
687 |
553 |
2,273 |
813 |
814 |
3.31 |
1.18 |
configure.cpython |
no-host |
15,275 |
15,168 |
29,424 |
15,476 |
15,485 |
1.93 |
1.01 |
configure.ocaml |
no-host |
3,825 |
3,751 |
4,703 |
3,911 |
3,838 |
1.23 |
1.02 |
configure.tcc |
no-host |
48 |
42 |
203 |
50 |
49 |
4.25 |
1.04 |
configure.util-linux |
no-host |
14,117 |
14,992 |
31,776 |
14,572 |
14,425 |
2.25 |
1.03 |
configure.yash |
no-host |
1,833 |
1,771 |
2,520 |
1,842 |
1,838 |
1.37 |
1.00 |
hello-world |
no-host |
2 |
1 |
58 |
3 |
3 |
37.37 |
1.93 |
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,528 |
1,097 |
23,662 |
3,191 |
3,122 |
9.36 |
1.26 |
bin-true |
no-host |
107,347 |
66,395 |
768,734 |
125,221 |
126,343 |
7.16 |
1.17 |
configure.cpython |
no-host |
2,219,473 |
2,244,367 |
6,216,313 |
2,214,850 |
2,205,759 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,337 |
391,037 |
645,629 |
413,582 |
412,992 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,554 |
5,490 |
24,057 |
6,945 |
6,922 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,104,844 |
2,264,652 |
5,369,448 |
1,990,639 |
1,993,266 |
2.55 |
0.95 |
configure.yash |
no-host |
256,668 |
244,962 |
388,734 |
256,811 |
258,505 |
1.51 |
1.00 |
hello-world |
no-host |
151 |
81 |
3,938 |
345 |
337 |
26.08 |
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.4 |
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.1 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,476 |
1 |
64 |
14.9 |
27.5 |
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,572 |
3 |
64 |
21.2 |
30.1 |
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,911 |
1 |
2 |
2.6 |
20.4 |
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,842 |
1 |
2 |
2.5 |
24.5 |
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.2 |
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 |
814 |
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,485 |
1 |
64 |
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,425 |
3 |
63 |
21.2 |
30.1 |
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,838 |
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,838 |
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.8 |
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 |
11 |
9 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
467 |
427 |
42 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
22 |
0 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
15 |
6 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
687 |
508 |
211 |
3.0 |
bash |
9 |
no-host |
bin-true |
553 |
430 |
134 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,273 |
1,444 |
1,087 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
813 |
572 |
253 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
814 |
576 |
254 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,275 |
9,305 |
6,358 |
27.5 |
bash |
10 |
no-host |
configure.cpython |
15,168 |
9,191 |
6,392 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
29,424 |
17,418 |
13,888 |
27.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,476 |
9,166 |
6,570 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,485 |
9,028 |
6,588 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,825 |
1,585 |
1,281 |
20.4 |
bash |
12 |
no-host |
configure.ocaml |
3,751 |
1,686 |
1,084 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,703 |
2,260 |
1,656 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,911 |
1,683 |
1,256 |
20.4 |
osh-native |
36 |
no-host |
configure.ocaml |
3,838 |
1,674 |
1,199 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
27 |
22 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
42 |
33 |
9 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
203 |
147 |
60 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
31 |
19 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
30 |
19 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,117 |
8,789 |
5,800 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,992 |
8,978 |
6,506 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,776 |
21,251 |
11,597 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,572 |
8,792 |
5,978 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,425 |
8,782 |
5,834 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,833 |
1,049 |
793 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,771 |
986 |
787 |
24.5 |
dash |
22 |
no-host |
configure.yash |
2,520 |
1,595 |
968 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,842 |
1,085 |
761 |
24.5 |
osh-native |
38 |
no-host |
configure.yash |
1,838 |
1,062 |
779 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
58 |
24 |
34 |
18.1 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,528 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,097 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,662 |
0 |
0 |
0 |
8 |
0 |
45 |
5 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,191 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,122 |
0 |
0 |
0 |
16 |
0 |
38 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,347 |
0 |
0 |
0 |
8 |
0 |
1,989 |
111 |
bash |
9 |
no-host |
bin-true |
66,395 |
0 |
0 |
0 |
8 |
0 |
1,987 |
67 |
dash |
17 |
no-host |
bin-true |
768,734 |
0 |
0 |
0 |
8 |
0 |
1,995 |
104 |
osh-cpython |
25 |
no-host |
bin-true |
125,221 |
0 |
0 |
0 |
16 |
0 |
1,994 |
55 |
osh-native |
33 |
no-host |
bin-true |
126,343 |
0 |
0 |
0 |
16 |
0 |
1,999 |
149 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,219,473 |
0 |
0 |
0 |
32,928 |
0 |
14,546 |
1,085 |
bash |
10 |
no-host |
configure.cpython |
2,244,367 |
1 |
0 |
0 |
32,992 |
0 |
14,617 |
1,089 |
dash |
18 |
no-host |
configure.cpython |
6,216,313 |
2 |
0 |
0 |
27,512 |
0 |
13,240 |
1,312 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,214,850 |
0 |
0 |
0 |
27,520 |
0 |
13,282 |
1,031 |
osh-native |
34 |
no-host |
configure.cpython |
2,205,759 |
1 |
0 |
0 |
27,520 |
0 |
13,231 |
947 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,337 |
0 |
0 |
0 |
5,120 |
0 |
1,946 |
157 |
bash |
12 |
no-host |
configure.ocaml |
391,037 |
0 |
0 |
0 |
5,112 |
0 |
1,937 |
147 |
dash |
20 |
no-host |
configure.ocaml |
645,629 |
0 |
0 |
0 |
5,112 |
0 |
1,859 |
188 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,582 |
0 |
0 |
0 |
5,120 |
0 |
1,934 |
151 |
osh-native |
36 |
no-host |
configure.ocaml |
412,992 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
169 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,554 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,490 |
0 |
0 |
0 |
96 |
0 |
47 |
6 |
dash |
21 |
no-host |
configure.tcc |
24,057 |
0 |
0 |
0 |
96 |
0 |
53 |
11 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,945 |
0 |
0 |
0 |
104 |
0 |
47 |
5 |
osh-native |
37 |
no-host |
configure.tcc |
6,922 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,104,844 |
1 |
0 |
0 |
42,400 |
0 |
18,615 |
959 |
bash |
11 |
no-host |
configure.util-linux |
2,264,652 |
0 |
0 |
0 |
42,584 |
0 |
17,399 |
1,056 |
dash |
19 |
no-host |
configure.util-linux |
5,369,448 |
8 |
0 |
0 |
39,136 |
0 |
17,027 |
1,210 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,990,639 |
2 |
0 |
0 |
39,120 |
0 |
16,977 |
932 |
osh-native |
35 |
no-host |
configure.util-linux |
1,993,266 |
0 |
0 |
0 |
39,136 |
0 |
16,963 |
962 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,668 |
0 |
0 |
0 |
4,120 |
0 |
869 |
89 |
bash |
14 |
no-host |
configure.yash |
244,962 |
0 |
0 |
0 |
3,720 |
0 |
867 |
76 |
dash |
22 |
no-host |
configure.yash |
388,734 |
0 |
0 |
0 |
3,728 |
0 |
855 |
94 |
osh-cpython |
30 |
no-host |
configure.yash |
256,811 |
0 |
0 |
0 |
3,736 |
0 |
848 |
83 |
osh-native |
38 |
no-host |
configure.yash |
258,505 |
0 |
0 |
0 |
3,736 |
0 |
851 |
75 |
osh-native-souffle |
0 |
no-host |
hello-world |
151 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
81 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,938 |
0 |
0 |
0 |
8 |
0 |
7 |
6 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
337 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host