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 |
475 |
23 |
21 |
24.21 |
1.15 |
bin-true |
no-host |
680 |
544 |
2,335 |
828 |
811 |
3.43 |
1.22 |
configure.cpython |
no-host |
15,636 |
15,720 |
29,910 |
15,828 |
15,896 |
1.91 |
1.01 |
configure.ocaml |
no-host |
3,896 |
3,840 |
4,797 |
3,920 |
3,939 |
1.23 |
1.01 |
configure.tcc |
no-host |
48 |
42 |
208 |
49 |
51 |
4.29 |
1.02 |
configure.util-linux |
no-host |
14,547 |
15,310 |
32,857 |
15,097 |
14,856 |
2.26 |
1.04 |
configure.yash |
no-host |
1,872 |
1,814 |
2,535 |
1,886 |
1,914 |
1.35 |
1.01 |
hello-world |
no-host |
2 |
1 |
59 |
3 |
3 |
37.79 |
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,558 |
1,099 |
23,701 |
3,176 |
3,073 |
9.27 |
1.24 |
bin-true |
no-host |
104,343 |
65,433 |
776,730 |
125,308 |
125,232 |
7.44 |
1.20 |
configure.cpython |
no-host |
2,231,999 |
2,238,636 |
6,216,627 |
2,218,634 |
2,210,819 |
2.79 |
0.99 |
configure.ocaml |
no-host |
410,799 |
391,532 |
647,581 |
412,631 |
412,448 |
1.58 |
1.00 |
configure.tcc |
no-host |
6,567 |
5,489 |
24,068 |
6,953 |
6,923 |
3.66 |
1.06 |
configure.util-linux |
no-host |
2,110,727 |
2,260,310 |
5,393,706 |
1,989,401 |
1,994,338 |
2.56 |
0.94 |
configure.yash |
no-host |
256,089 |
245,085 |
388,218 |
255,966 |
257,951 |
1.52 |
1.00 |
hello-world |
no-host |
149 |
79 |
3,944 |
342 |
337 |
26.47 |
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.3 |
3,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
828 |
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,828 |
1 |
65 |
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 |
15,097 |
3 |
67 |
21.2 |
30.3 |
2,702,622 |
53,766 |
65,691 |
108,721 |
1,290,676 |
1,303,225 |
32,242 |
41 |
131,382 |
1 |
configure.ocaml |
no-host |
3,920 |
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 |
49 |
0 |
0 |
1.3 |
19.1 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,886 |
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.8 |
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 |
811 |
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,896 |
2 |
63 |
14.9 |
27.5 |
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,856 |
3 |
63 |
21.2 |
30.1 |
2,702,513 |
53,693 |
65,629 |
108,693 |
1,290,640 |
1,303,180 |
32,239 |
41 |
131,258 |
1 |
configure.ocaml |
no-host |
3,939 |
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 |
51 |
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,914 |
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 |
20 |
10 |
10 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
8 |
2 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
475 |
416 |
62 |
22.8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
14 |
9 |
8.8 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
6 |
16 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
680 |
491 |
220 |
2.9 |
bash |
9 |
no-host |
bin-true |
544 |
428 |
126 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,335 |
1,489 |
1,111 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
828 |
581 |
261 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
811 |
567 |
259 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,636 |
9,356 |
6,691 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,720 |
9,361 |
6,785 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
29,910 |
17,877 |
13,988 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,828 |
9,334 |
6,758 |
27.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,896 |
9,207 |
6,810 |
27.5 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,896 |
1,635 |
1,297 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,840 |
1,589 |
1,266 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,797 |
2,363 |
1,653 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,920 |
1,712 |
1,248 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,939 |
1,698 |
1,276 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
30 |
19 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
42 |
28 |
14 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
208 |
153 |
58 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
28 |
22 |
19.1 |
osh-native |
37 |
no-host |
configure.tcc |
51 |
20 |
31 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,547 |
9,198 |
5,825 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
15,310 |
9,316 |
6,489 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
32,857 |
22,058 |
11,945 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
15,097 |
8,977 |
6,318 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,856 |
8,973 |
6,076 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,872 |
1,107 |
775 |
24.5 |
bash |
14 |
no-host |
configure.yash |
1,814 |
1,063 |
754 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,535 |
1,622 |
954 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,886 |
1,115 |
773 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,914 |
1,067 |
851 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.6 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
59 |
46 |
12 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.3 |
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 |
5 |
bash |
15 |
no-host |
abuild-print-help |
1,099 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,701 |
0 |
0 |
0 |
8 |
0 |
45 |
10 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,176 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,073 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,343 |
0 |
0 |
0 |
8 |
0 |
1,989 |
86 |
bash |
9 |
no-host |
bin-true |
65,433 |
0 |
0 |
0 |
8 |
0 |
1,986 |
38 |
dash |
17 |
no-host |
bin-true |
776,730 |
0 |
0 |
0 |
8 |
0 |
1,988 |
349 |
osh-cpython |
25 |
no-host |
bin-true |
125,308 |
0 |
0 |
0 |
16 |
0 |
1,987 |
157 |
osh-native |
33 |
no-host |
bin-true |
125,232 |
0 |
0 |
0 |
16 |
0 |
1,989 |
60 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,231,999 |
0 |
0 |
0 |
32,928 |
0 |
14,430 |
1,036 |
bash |
10 |
no-host |
configure.cpython |
2,238,636 |
0 |
0 |
0 |
32,992 |
0 |
14,636 |
1,151 |
dash |
18 |
no-host |
configure.cpython |
6,216,627 |
0 |
0 |
0 |
27,512 |
0 |
13,188 |
1,231 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,218,634 |
0 |
0 |
0 |
27,520 |
0 |
13,286 |
954 |
osh-native |
34 |
no-host |
configure.cpython |
2,210,819 |
0 |
0 |
0 |
27,520 |
0 |
13,213 |
976 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,799 |
0 |
0 |
0 |
5,120 |
0 |
1,953 |
164 |
bash |
12 |
no-host |
configure.ocaml |
391,532 |
0 |
0 |
0 |
5,112 |
0 |
1,932 |
140 |
dash |
20 |
no-host |
configure.ocaml |
647,581 |
0 |
0 |
0 |
5,112 |
0 |
1,859 |
160 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,631 |
0 |
0 |
0 |
5,120 |
0 |
1,922 |
160 |
osh-native |
36 |
no-host |
configure.ocaml |
412,448 |
0 |
0 |
0 |
5,120 |
0 |
1,934 |
156 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,567 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,489 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,068 |
0 |
0 |
0 |
96 |
0 |
53 |
14 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,953 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,923 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,110,727 |
0 |
0 |
0 |
42,400 |
0 |
18,614 |
1,154 |
bash |
11 |
no-host |
configure.util-linux |
2,260,310 |
0 |
0 |
0 |
42,592 |
0 |
17,439 |
1,148 |
dash |
19 |
no-host |
configure.util-linux |
5,393,706 |
6 |
0 |
0 |
39,128 |
0 |
16,911 |
1,394 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,989,401 |
0 |
0 |
0 |
39,144 |
0 |
16,972 |
1,033 |
osh-native |
35 |
no-host |
configure.util-linux |
1,994,338 |
0 |
0 |
0 |
39,136 |
0 |
16,973 |
977 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,089 |
0 |
0 |
0 |
4,120 |
0 |
873 |
74 |
bash |
14 |
no-host |
configure.yash |
245,085 |
0 |
0 |
0 |
3,720 |
0 |
871 |
110 |
dash |
22 |
no-host |
configure.yash |
388,218 |
0 |
0 |
0 |
3,728 |
0 |
851 |
106 |
osh-cpython |
30 |
no-host |
configure.yash |
255,966 |
0 |
0 |
0 |
3,736 |
0 |
850 |
81 |
osh-native |
38 |
no-host |
configure.yash |
257,951 |
0 |
0 |
0 |
3,736 |
0 |
851 |
86 |
osh-native-souffle |
0 |
no-host |
hello-world |
149 |
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,944 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
337 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host