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 |
460 |
22 |
21 |
24.05 |
1.16 |
bin-true |
no-host |
679 |
542 |
2,334 |
814 |
807 |
3.44 |
1.20 |
configure.cpython |
no-host |
14,976 |
15,134 |
28,973 |
15,227 |
15,343 |
1.93 |
1.02 |
configure.ocaml |
no-host |
3,790 |
3,737 |
4,640 |
3,837 |
3,851 |
1.22 |
1.01 |
configure.tcc |
no-host |
48 |
42 |
203 |
50 |
49 |
4.26 |
1.04 |
configure.util-linux |
no-host |
13,968 |
14,887 |
31,334 |
14,363 |
14,351 |
2.24 |
1.03 |
configure.yash |
no-host |
1,849 |
1,766 |
2,480 |
1,824 |
1,850 |
1.34 |
0.99 |
hello-world |
no-host |
2 |
1 |
58 |
3 |
3 |
37.51 |
1.90 |
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,538 |
1,108 |
23,688 |
3,197 |
3,102 |
9.33 |
1.26 |
bin-true |
no-host |
108,343 |
66,363 |
774,652 |
126,185 |
127,231 |
7.15 |
1.16 |
configure.cpython |
no-host |
2,218,755 |
2,242,420 |
6,210,356 |
2,210,979 |
2,205,018 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,636 |
391,549 |
647,127 |
413,356 |
412,332 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,551 |
5,486 |
24,073 |
6,949 |
6,926 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,100,129 |
2,263,563 |
5,398,204 |
1,998,917 |
1,987,122 |
2.57 |
0.95 |
configure.yash |
no-host |
256,758 |
244,038 |
387,898 |
257,267 |
257,098 |
1.51 |
1.00 |
hello-world |
no-host |
152 |
83 |
3,944 |
346 |
337 |
25.95 |
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.3 |
3,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
814 |
1 |
2 |
2.6 |
7.7 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,227 |
2 |
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,363 |
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,837 |
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.4 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,824 |
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 |
807 |
1 |
2 |
2.6 |
7.7 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,343 |
1 |
62 |
14.9 |
27.3 |
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,351 |
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,851 |
0 |
2 |
2.6 |
20.4 |
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.3 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,850 |
1 |
2 |
2.5 |
24.2 |
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.3 |
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 |
8 |
12 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
8 |
2 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
460 |
424 |
39 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
16 |
6 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
18 |
4 |
8.3 |
osh-native-souffle |
1 |
no-host |
bin-true |
679 |
510 |
201 |
2.9 |
bash |
9 |
no-host |
bin-true |
542 |
419 |
132 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,334 |
1,539 |
1,059 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
814 |
591 |
238 |
7.7 |
osh-native |
33 |
no-host |
bin-true |
807 |
571 |
250 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,976 |
9,077 |
6,289 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,134 |
9,337 |
6,216 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
28,973 |
17,562 |
13,294 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,227 |
8,984 |
6,508 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,343 |
8,929 |
6,543 |
27.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,790 |
1,629 |
1,200 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,737 |
1,632 |
1,126 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,640 |
2,241 |
1,610 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,837 |
1,601 |
1,262 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,851 |
1,650 |
1,239 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
31 |
17 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
42 |
22 |
20 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
203 |
145 |
62 |
19.1 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
24 |
26 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
22 |
28 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,968 |
8,790 |
5,655 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,887 |
9,112 |
6,275 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,334 |
20,850 |
11,567 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,363 |
8,641 |
5,909 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,351 |
8,683 |
5,859 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,849 |
1,046 |
791 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,766 |
1,002 |
767 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,480 |
1,558 |
965 |
24.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,824 |
1,097 |
731 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,850 |
1,084 |
769 |
24.2 |
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 |
58 |
50 |
8 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,538 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,108 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,688 |
0 |
0 |
0 |
8 |
0 |
45 |
10 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,197 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,102 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
108,343 |
0 |
0 |
0 |
8 |
0 |
1,993 |
49 |
bash |
9 |
no-host |
bin-true |
66,363 |
0 |
0 |
0 |
8 |
0 |
1,989 |
70 |
dash |
17 |
no-host |
bin-true |
774,652 |
0 |
0 |
0 |
8 |
0 |
2,005 |
324 |
osh-cpython |
25 |
no-host |
bin-true |
126,185 |
0 |
0 |
0 |
16 |
0 |
1,989 |
53 |
osh-native |
33 |
no-host |
bin-true |
127,231 |
0 |
0 |
0 |
16 |
0 |
1,992 |
51 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,218,755 |
0 |
0 |
0 |
32,928 |
0 |
14,520 |
1,055 |
bash |
10 |
no-host |
configure.cpython |
2,242,420 |
0 |
0 |
0 |
32,992 |
0 |
14,617 |
1,043 |
dash |
18 |
no-host |
configure.cpython |
6,210,356 |
1 |
0 |
0 |
27,512 |
0 |
13,225 |
1,098 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,210,979 |
0 |
0 |
0 |
27,520 |
0 |
13,195 |
978 |
osh-native |
34 |
no-host |
configure.cpython |
2,205,018 |
0 |
0 |
0 |
27,520 |
0 |
13,285 |
1,099 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,636 |
0 |
0 |
0 |
5,120 |
0 |
1,953 |
155 |
bash |
12 |
no-host |
configure.ocaml |
391,549 |
0 |
0 |
0 |
5,112 |
0 |
1,948 |
215 |
dash |
20 |
no-host |
configure.ocaml |
647,127 |
0 |
0 |
0 |
5,112 |
0 |
1,858 |
198 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,356 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
189 |
osh-native |
36 |
no-host |
configure.ocaml |
412,332 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
167 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,551 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,486 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,073 |
0 |
0 |
0 |
96 |
0 |
53 |
9 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,949 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,926 |
0 |
0 |
0 |
104 |
0 |
47 |
13 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,100,129 |
1 |
0 |
0 |
42,400 |
0 |
18,390 |
971 |
bash |
11 |
no-host |
configure.util-linux |
2,263,563 |
3 |
0 |
0 |
42,584 |
0 |
17,462 |
1,042 |
dash |
19 |
no-host |
configure.util-linux |
5,398,204 |
7 |
0 |
0 |
39,112 |
0 |
16,978 |
1,301 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,998,917 |
1 |
0 |
0 |
39,120 |
0 |
16,952 |
1,134 |
osh-native |
35 |
no-host |
configure.util-linux |
1,987,122 |
0 |
0 |
0 |
39,128 |
0 |
16,954 |
1,046 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,758 |
0 |
0 |
0 |
4,120 |
0 |
874 |
83 |
bash |
14 |
no-host |
configure.yash |
244,038 |
0 |
0 |
0 |
3,720 |
0 |
867 |
82 |
dash |
22 |
no-host |
configure.yash |
387,898 |
0 |
0 |
0 |
3,728 |
0 |
850 |
96 |
osh-cpython |
30 |
no-host |
configure.yash |
257,267 |
0 |
0 |
0 |
3,736 |
0 |
850 |
93 |
osh-native |
38 |
no-host |
configure.yash |
257,098 |
0 |
0 |
0 |
3,736 |
0 |
851 |
88 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
83 |
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 |
346 |
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