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 |
490 |
22 |
21 |
25.60 |
1.15 |
bin-true |
no-host |
659 |
532 |
2,362 |
803 |
790 |
3.58 |
1.22 |
configure.cpython |
no-host |
14,937 |
15,059 |
29,387 |
15,197 |
14,942 |
1.97 |
1.02 |
configure.ocaml |
no-host |
3,814 |
3,741 |
4,681 |
3,802 |
3,794 |
1.23 |
1.00 |
configure.tcc |
no-host |
47 |
42 |
207 |
48 |
46 |
4.42 |
1.02 |
configure.util-linux |
no-host |
13,808 |
14,798 |
31,762 |
14,163 |
14,137 |
2.30 |
1.03 |
configure.yash |
no-host |
1,819 |
1,754 |
2,494 |
1,809 |
1,794 |
1.37 |
0.99 |
hello-world |
no-host |
1 |
1 |
59 |
3 |
3 |
43.75 |
2.18 |
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,550 |
1,109 |
24,203 |
3,198 |
3,072 |
9.49 |
1.25 |
bin-true |
no-host |
105,310 |
66,443 |
802,683 |
128,169 |
125,219 |
7.62 |
1.22 |
configure.cpython |
no-host |
1,998,334 |
2,022,579 |
6,110,298 |
2,012,675 |
1,995,475 |
3.06 |
1.01 |
configure.ocaml |
no-host |
373,772 |
354,204 |
616,125 |
376,649 |
375,969 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,080 |
4,990 |
24,032 |
6,502 |
6,424 |
3.95 |
1.07 |
configure.util-linux |
no-host |
1,911,246 |
2,071,273 |
5,306,480 |
1,816,811 |
1,816,900 |
2.78 |
0.95 |
configure.yash |
no-host |
233,901 |
221,694 |
368,163 |
236,302 |
234,512 |
1.57 |
1.01 |
hello-world |
no-host |
147 |
77 |
3,981 |
346 |
338 |
27.08 |
2.35 |
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.3 |
6.4 |
3,806 |
3,806 |
0 |
701 |
1,870 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
803 |
1 |
2 |
2.6 |
7.9 |
156,773 |
15,415 |
2,902 |
8,753 |
77,337 |
70,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,197 |
2 |
71 |
15.5 |
29.2 |
1,785,014 |
30,560 |
28,527 |
91,506 |
886,575 |
806,933 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
14,163 |
3 |
66 |
21.6 |
30.2 |
2,709,215 |
53,762 |
65,726 |
114,373 |
1,295,038 |
1,299,804 |
32,241 |
41 |
131,452 |
1 |
configure.ocaml |
no-host |
3,802 |
1 |
2 |
2.6 |
22.6 |
149,860 |
11,179 |
5,222 |
7,734 |
70,874 |
71,252 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.5 |
30,576 |
30,576 |
0 |
1,543 |
14,636 |
14,397 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,809 |
1 |
2 |
2.6 |
26.4 |
139,882 |
8,046 |
6,701 |
6,398 |
68,339 |
65,145 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
8.9 |
116,338 |
64,420 |
42,628 |
4,545 |
54,462 |
57,331 |
277 |
3 |
85,256 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.8 |
3,805 |
3,805 |
0 |
702 |
1,870 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
790 |
1 |
2 |
2.6 |
7.6 |
156,772 |
15,410 |
2,897 |
8,754 |
77,337 |
70,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,942 |
1 |
69 |
15.4 |
29.2 |
1,785,013 |
30,547 |
28,522 |
91,507 |
886,575 |
806,931 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
14,137 |
3 |
67 |
21.6 |
30.2 |
2,709,215 |
53,739 |
65,721 |
114,375 |
1,295,038 |
1,299,802 |
32,241 |
41 |
131,442 |
1 |
configure.ocaml |
no-host |
3,794 |
1 |
2 |
2.6 |
22.6 |
149,860 |
11,174 |
5,217 |
7,736 |
70,874 |
71,250 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
46 |
0 |
0 |
1.3 |
19.5 |
30,576 |
30,576 |
0 |
1,545 |
14,636 |
14,395 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,794 |
1 |
2 |
2.6 |
26.3 |
139,882 |
8,035 |
6,690 |
6,400 |
68,339 |
65,143 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,337 |
64,415 |
42,623 |
4,546 |
54,462 |
57,329 |
277 |
3 |
85,246 |
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 |
10 |
9 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
7 |
2 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
490 |
430 |
63 |
22.9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
12 |
11 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
10 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
659 |
315 |
378 |
3.0 |
bash |
9 |
no-host |
bin-true |
532 |
274 |
268 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,362 |
817 |
1,803 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
803 |
299 |
523 |
7.9 |
osh-native |
33 |
no-host |
bin-true |
790 |
299 |
510 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,937 |
6,779 |
8,573 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
15,059 |
6,724 |
8,783 |
29.1 |
dash |
18 |
no-host |
configure.cpython |
29,387 |
14,653 |
16,707 |
29.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,197 |
6,717 |
8,779 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
14,942 |
6,603 |
8,632 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,814 |
1,355 |
1,499 |
22.5 |
bash |
12 |
no-host |
configure.ocaml |
3,741 |
1,316 |
1,447 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,681 |
1,848 |
2,051 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,802 |
1,305 |
1,540 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,794 |
1,350 |
1,483 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
24 |
23 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
42 |
19 |
23 |
19.5 |
dash |
21 |
no-host |
configure.tcc |
207 |
140 |
71 |
19.7 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
21 |
28 |
19.5 |
osh-native |
37 |
no-host |
configure.tcc |
46 |
22 |
25 |
19.5 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,808 |
5,935 |
8,376 |
30.2 |
bash |
11 |
no-host |
configure.util-linux |
14,798 |
5,806 |
9,501 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,762 |
18,034 |
14,824 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,163 |
5,606 |
8,757 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
14,137 |
5,713 |
8,649 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,819 |
929 |
899 |
26.5 |
bash |
14 |
no-host |
configure.yash |
1,754 |
901 |
858 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,494 |
1,359 |
1,181 |
26.3 |
osh-cpython |
30 |
no-host |
configure.yash |
1,809 |
916 |
898 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,794 |
876 |
922 |
26.3 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
16 |
no-host |
hello-world |
59 |
40 |
19 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
2 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
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,550 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,109 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,203 |
0 |
0 |
0 |
8 |
0 |
45 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,198 |
0 |
0 |
0 |
16 |
0 |
39 |
6 |
osh-native |
39 |
no-host |
abuild-print-help |
3,072 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,310 |
0 |
0 |
0 |
8 |
0 |
1,990 |
72 |
bash |
9 |
no-host |
bin-true |
66,443 |
0 |
0 |
0 |
8 |
0 |
1,969 |
108 |
dash |
17 |
no-host |
bin-true |
802,683 |
0 |
0 |
0 |
8 |
0 |
1,978 |
180 |
osh-cpython |
25 |
no-host |
bin-true |
128,169 |
0 |
0 |
0 |
16 |
0 |
1,979 |
153 |
osh-native |
33 |
no-host |
bin-true |
125,219 |
0 |
0 |
0 |
16 |
0 |
1,978 |
215 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,998,334 |
0 |
0 |
0 |
32,928 |
0 |
14,206 |
1,169 |
bash |
10 |
no-host |
configure.cpython |
2,022,579 |
1 |
0 |
0 |
32,992 |
0 |
14,322 |
1,214 |
dash |
18 |
no-host |
configure.cpython |
6,110,298 |
0 |
0 |
0 |
27,512 |
0 |
13,048 |
1,144 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,012,675 |
1 |
0 |
0 |
27,520 |
0 |
13,034 |
1,156 |
osh-native |
34 |
no-host |
configure.cpython |
1,995,475 |
0 |
0 |
0 |
27,520 |
0 |
13,101 |
1,016 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,772 |
0 |
0 |
0 |
5,120 |
0 |
1,957 |
194 |
bash |
12 |
no-host |
configure.ocaml |
354,204 |
0 |
0 |
0 |
5,112 |
0 |
1,933 |
190 |
dash |
20 |
no-host |
configure.ocaml |
616,125 |
0 |
0 |
0 |
5,112 |
0 |
1,845 |
183 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,649 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
219 |
osh-native |
36 |
no-host |
configure.ocaml |
375,969 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
274 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,080 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
4,990 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,032 |
0 |
0 |
0 |
96 |
0 |
53 |
6 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,502 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,424 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,911,246 |
0 |
0 |
0 |
42,400 |
0 |
18,509 |
1,192 |
bash |
11 |
no-host |
configure.util-linux |
2,071,273 |
0 |
0 |
0 |
42,584 |
0 |
17,252 |
1,315 |
dash |
19 |
no-host |
configure.util-linux |
5,306,480 |
5 |
0 |
0 |
39,136 |
0 |
17,010 |
1,308 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,816,811 |
0 |
0 |
0 |
39,120 |
0 |
17,094 |
1,291 |
osh-native |
35 |
no-host |
configure.util-linux |
1,816,900 |
0 |
0 |
0 |
39,128 |
0 |
16,940 |
1,156 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,901 |
0 |
0 |
0 |
4,120 |
0 |
873 |
98 |
bash |
14 |
no-host |
configure.yash |
221,694 |
0 |
0 |
0 |
3,720 |
0 |
871 |
84 |
dash |
22 |
no-host |
configure.yash |
368,163 |
0 |
0 |
0 |
3,728 |
0 |
858 |
94 |
osh-cpython |
30 |
no-host |
configure.yash |
236,302 |
0 |
0 |
0 |
3,736 |
0 |
847 |
98 |
osh-native |
38 |
no-host |
configure.yash |
234,512 |
0 |
0 |
0 |
3,736 |
0 |
850 |
91 |
osh-native-souffle |
0 |
no-host |
hello-world |
147 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
77 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,981 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
338 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host