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 |
467 |
22 |
22 |
24.12 |
1.13 |
bin-true |
no-host |
673 |
547 |
2,316 |
813 |
806 |
3.44 |
1.21 |
configure.cpython |
no-host |
14,884 |
14,955 |
28,607 |
15,051 |
15,176 |
1.92 |
1.01 |
configure.ocaml |
no-host |
3,768 |
3,704 |
4,617 |
3,800 |
3,791 |
1.23 |
1.01 |
configure.tcc |
no-host |
47 |
41 |
203 |
49 |
48 |
4.29 |
1.04 |
configure.util-linux |
no-host |
13,877 |
14,794 |
31,268 |
14,266 |
14,152 |
2.25 |
1.03 |
configure.yash |
no-host |
1,822 |
1,750 |
2,434 |
1,811 |
1,797 |
1.34 |
0.99 |
hello-world |
no-host |
2 |
1 |
56 |
3 |
3 |
36.44 |
1.83 |
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,100 |
23,870 |
3,196 |
3,119 |
9.38 |
1.26 |
bin-true |
no-host |
106,394 |
67,441 |
771,599 |
125,255 |
127,210 |
7.25 |
1.18 |
configure.cpython |
no-host |
2,221,689 |
2,237,885 |
6,243,886 |
2,225,068 |
2,198,563 |
2.81 |
1.00 |
configure.ocaml |
no-host |
410,408 |
390,876 |
647,522 |
413,273 |
412,301 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,570 |
5,497 |
24,090 |
6,962 |
6,922 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,103,294 |
2,260,180 |
5,396,258 |
1,996,130 |
1,988,275 |
2.57 |
0.95 |
configure.yash |
no-host |
255,574 |
243,310 |
388,741 |
258,316 |
257,326 |
1.52 |
1.01 |
hello-world |
no-host |
154 |
82 |
3,944 |
342 |
338 |
25.61 |
2.22 |
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 |
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,051 |
1 |
63 |
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,266 |
3 |
60 |
21.2 |
30.3 |
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,800 |
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.3 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,811 |
1 |
2 |
2.5 |
26.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.9 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
806 |
1 |
2 |
2.6 |
7.9 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,176 |
2 |
62 |
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,152 |
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,791 |
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 |
48 |
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,797 |
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 |
22 |
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.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
5 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
467 |
422 |
48 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
14 |
9 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
22 |
13 |
9 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
673 |
486 |
219 |
3.0 |
bash |
9 |
no-host |
bin-true |
547 |
426 |
133 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,316 |
1,549 |
1,025 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
813 |
565 |
262 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
806 |
585 |
239 |
7.9 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,884 |
8,976 |
6,320 |
27.5 |
bash |
10 |
no-host |
configure.cpython |
14,955 |
9,067 |
6,322 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
28,607 |
17,440 |
13,017 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,051 |
8,728 |
6,594 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,176 |
8,909 |
6,403 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,768 |
1,645 |
1,164 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,704 |
1,485 |
1,239 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,617 |
2,346 |
1,486 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,800 |
1,619 |
1,222 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,791 |
1,557 |
1,274 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
37 |
11 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
21 |
20 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
203 |
136 |
70 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
35 |
15 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
26 |
23 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,877 |
8,782 |
5,573 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
14,794 |
9,127 |
6,164 |
30.0 |
dash |
19 |
no-host |
configure.util-linux |
31,268 |
21,011 |
11,341 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,266 |
8,642 |
5,827 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,152 |
8,557 |
5,796 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,822 |
1,075 |
752 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,750 |
998 |
756 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,434 |
1,391 |
1,085 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,811 |
1,089 |
726 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,797 |
1,061 |
740 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
48 |
9 |
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.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,546 |
0 |
0 |
0 |
16 |
0 |
41 |
4 |
bash |
15 |
no-host |
abuild-print-help |
1,100 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,870 |
0 |
0 |
0 |
8 |
0 |
45 |
10 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,196 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,119 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,394 |
0 |
0 |
0 |
8 |
0 |
1,992 |
124 |
bash |
9 |
no-host |
bin-true |
67,441 |
0 |
0 |
0 |
8 |
0 |
1,993 |
116 |
dash |
17 |
no-host |
bin-true |
771,599 |
0 |
0 |
0 |
8 |
0 |
2,003 |
216 |
osh-cpython |
25 |
no-host |
bin-true |
125,255 |
0 |
0 |
0 |
16 |
0 |
1,987 |
51 |
osh-native |
33 |
no-host |
bin-true |
127,210 |
0 |
0 |
0 |
16 |
0 |
1,998 |
60 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,221,689 |
0 |
0 |
0 |
32,928 |
0 |
14,427 |
1,076 |
bash |
10 |
no-host |
configure.cpython |
2,237,885 |
0 |
0 |
0 |
32,992 |
0 |
14,596 |
923 |
dash |
18 |
no-host |
configure.cpython |
6,243,886 |
1 |
0 |
0 |
27,512 |
0 |
13,313 |
1,179 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,225,068 |
0 |
0 |
0 |
27,520 |
0 |
13,254 |
949 |
osh-native |
34 |
no-host |
configure.cpython |
2,198,563 |
0 |
0 |
0 |
27,520 |
0 |
13,209 |
1,046 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,408 |
0 |
0 |
0 |
5,120 |
0 |
1,950 |
184 |
bash |
12 |
no-host |
configure.ocaml |
390,876 |
0 |
0 |
0 |
5,112 |
0 |
1,903 |
150 |
dash |
20 |
no-host |
configure.ocaml |
647,522 |
0 |
0 |
0 |
5,112 |
0 |
1,869 |
182 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,273 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
166 |
osh-native |
36 |
no-host |
configure.ocaml |
412,301 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
171 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,570 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,497 |
0 |
0 |
0 |
96 |
0 |
47 |
5 |
dash |
21 |
no-host |
configure.tcc |
24,090 |
0 |
0 |
0 |
96 |
0 |
53 |
7 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,962 |
0 |
0 |
0 |
104 |
0 |
47 |
6 |
osh-native |
37 |
no-host |
configure.tcc |
6,922 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,103,294 |
0 |
0 |
0 |
42,400 |
0 |
18,652 |
989 |
bash |
11 |
no-host |
configure.util-linux |
2,260,180 |
0 |
0 |
0 |
42,584 |
0 |
17,419 |
1,009 |
dash |
19 |
no-host |
configure.util-linux |
5,396,258 |
9 |
0 |
0 |
39,112 |
0 |
16,971 |
1,206 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,996,130 |
0 |
0 |
0 |
39,120 |
0 |
17,006 |
942 |
osh-native |
35 |
no-host |
configure.util-linux |
1,988,275 |
0 |
0 |
0 |
39,128 |
0 |
16,927 |
944 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,574 |
0 |
0 |
0 |
4,120 |
0 |
879 |
90 |
bash |
14 |
no-host |
configure.yash |
243,310 |
0 |
0 |
0 |
3,720 |
0 |
869 |
92 |
dash |
22 |
no-host |
configure.yash |
388,741 |
0 |
0 |
0 |
3,728 |
0 |
854 |
86 |
osh-cpython |
30 |
no-host |
configure.yash |
258,316 |
0 |
0 |
0 |
3,736 |
0 |
850 |
83 |
osh-native |
38 |
no-host |
configure.yash |
257,326 |
0 |
0 |
0 |
3,736 |
0 |
851 |
69 |
osh-native-souffle |
0 |
no-host |
hello-world |
154 |
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,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 |
338 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host