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 |
468 |
22 |
21 |
24.54 |
1.15 |
bin-true |
no-host |
683 |
544 |
2,304 |
810 |
802 |
3.37 |
1.19 |
configure.cpython |
no-host |
15,013 |
15,211 |
28,762 |
15,174 |
15,291 |
1.92 |
1.01 |
configure.ocaml |
no-host |
3,820 |
3,751 |
4,635 |
3,828 |
3,862 |
1.21 |
1.00 |
configure.tcc |
no-host |
48 |
42 |
203 |
48 |
48 |
4.25 |
1.01 |
configure.util-linux |
no-host |
14,011 |
14,955 |
31,554 |
14,313 |
14,292 |
2.25 |
1.02 |
configure.yash |
no-host |
1,809 |
1,812 |
2,453 |
1,810 |
1,820 |
1.36 |
1.00 |
hello-world |
no-host |
2 |
1 |
58 |
3 |
3 |
35.41 |
1.72 |
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,547 |
1,129 |
23,894 |
3,225 |
3,097 |
9.38 |
1.27 |
bin-true |
no-host |
109,364 |
65,484 |
774,626 |
126,252 |
125,246 |
7.08 |
1.15 |
configure.cpython |
no-host |
2,219,030 |
2,236,163 |
6,217,993 |
2,220,178 |
2,207,606 |
2.80 |
1.00 |
configure.ocaml |
no-host |
409,955 |
391,384 |
648,149 |
412,761 |
412,497 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,573 |
5,470 |
24,013 |
6,985 |
6,914 |
3.65 |
1.06 |
configure.util-linux |
no-host |
2,101,697 |
2,259,127 |
5,382,255 |
1,994,548 |
1,991,247 |
2.56 |
0.95 |
configure.yash |
no-host |
255,503 |
245,181 |
387,745 |
257,594 |
257,198 |
1.52 |
1.01 |
hello-world |
no-host |
150 |
86 |
3,945 |
346 |
340 |
26.30 |
2.31 |
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 |
810 |
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,174 |
1 |
61 |
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,313 |
2 |
59 |
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,828 |
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 |
48 |
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,810 |
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 |
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.9 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
802 |
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,291 |
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,292 |
3 |
60 |
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,862 |
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,820 |
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 |
11 |
9 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
9 |
2 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
468 |
430 |
40 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
16 |
7 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
15 |
7 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
683 |
507 |
205 |
2.9 |
bash |
9 |
no-host |
bin-true |
544 |
420 |
132 |
1.3 |
dash |
17 |
no-host |
bin-true |
2,304 |
1,490 |
1,073 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
810 |
568 |
257 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
802 |
572 |
245 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,013 |
9,110 |
6,281 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,211 |
9,132 |
6,486 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,762 |
17,326 |
13,266 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,174 |
8,986 |
6,448 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,291 |
9,034 |
6,384 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,820 |
1,659 |
1,195 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,751 |
1,595 |
1,171 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,635 |
2,181 |
1,663 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,828 |
1,640 |
1,229 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,862 |
1,628 |
1,269 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
32 |
16 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
42 |
24 |
18 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
203 |
145 |
60 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
26 |
23 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
31 |
17 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,011 |
8,924 |
5,549 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
14,955 |
9,124 |
6,315 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,554 |
21,114 |
11,525 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,313 |
8,627 |
5,875 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,292 |
8,488 |
5,997 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,809 |
1,040 |
777 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,812 |
1,062 |
753 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,453 |
1,531 |
962 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,810 |
1,015 |
799 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,820 |
1,011 |
813 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
16 |
no-host |
hello-world |
58 |
27 |
30 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
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,547 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,129 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,894 |
0 |
0 |
0 |
8 |
0 |
45 |
9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,225 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,097 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
109,364 |
0 |
0 |
0 |
8 |
0 |
1,991 |
60 |
bash |
9 |
no-host |
bin-true |
65,484 |
0 |
0 |
0 |
8 |
0 |
1,989 |
71 |
dash |
17 |
no-host |
bin-true |
774,626 |
0 |
0 |
0 |
8 |
0 |
1,998 |
165 |
osh-cpython |
25 |
no-host |
bin-true |
126,252 |
0 |
0 |
0 |
16 |
0 |
1,992 |
83 |
osh-native |
33 |
no-host |
bin-true |
125,246 |
0 |
0 |
0 |
16 |
0 |
1,995 |
54 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,219,030 |
0 |
0 |
0 |
32,928 |
0 |
14,536 |
1,090 |
bash |
10 |
no-host |
configure.cpython |
2,236,163 |
0 |
0 |
0 |
32,992 |
0 |
14,675 |
1,109 |
dash |
18 |
no-host |
configure.cpython |
6,217,993 |
0 |
0 |
0 |
27,512 |
0 |
13,304 |
1,233 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,220,178 |
0 |
0 |
0 |
27,520 |
0 |
13,340 |
1,071 |
osh-native |
34 |
no-host |
configure.cpython |
2,207,606 |
0 |
0 |
0 |
27,520 |
0 |
13,259 |
927 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
409,955 |
0 |
0 |
0 |
5,120 |
0 |
1,945 |
265 |
bash |
12 |
no-host |
configure.ocaml |
391,384 |
0 |
0 |
0 |
5,112 |
0 |
1,882 |
138 |
dash |
20 |
no-host |
configure.ocaml |
648,149 |
0 |
0 |
0 |
5,112 |
0 |
1,861 |
173 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,761 |
0 |
0 |
0 |
5,120 |
0 |
1,933 |
165 |
osh-native |
36 |
no-host |
configure.ocaml |
412,497 |
0 |
0 |
0 |
5,120 |
0 |
1,937 |
268 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,573 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,470 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,013 |
0 |
0 |
0 |
96 |
0 |
53 |
7 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,985 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,914 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,101,697 |
1 |
0 |
0 |
42,400 |
0 |
18,528 |
992 |
bash |
11 |
no-host |
configure.util-linux |
2,259,127 |
3 |
0 |
0 |
42,584 |
0 |
17,402 |
1,025 |
dash |
19 |
no-host |
configure.util-linux |
5,382,255 |
9 |
0 |
0 |
39,112 |
0 |
17,045 |
1,176 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,994,548 |
0 |
0 |
0 |
39,120 |
0 |
16,951 |
1,035 |
osh-native |
35 |
no-host |
configure.util-linux |
1,991,247 |
0 |
0 |
0 |
39,136 |
0 |
16,969 |
878 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,503 |
0 |
0 |
0 |
4,120 |
0 |
867 |
89 |
bash |
14 |
no-host |
configure.yash |
245,181 |
0 |
0 |
0 |
3,720 |
0 |
868 |
93 |
dash |
22 |
no-host |
configure.yash |
387,745 |
0 |
0 |
0 |
3,728 |
0 |
856 |
76 |
osh-cpython |
30 |
no-host |
configure.yash |
257,594 |
0 |
0 |
0 |
3,736 |
0 |
851 |
75 |
osh-native |
38 |
no-host |
configure.yash |
257,198 |
0 |
0 |
0 |
3,736 |
0 |
846 |
94 |
osh-native-souffle |
0 |
no-host |
hello-world |
150 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
86 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,945 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
340 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host