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 |
9 |
474 |
22 |
21 |
23.90 |
1.09 |
bin-true |
no-host |
659 |
553 |
2,358 |
794 |
804 |
3.58 |
1.21 |
configure.cpython |
no-host |
14,833 |
14,971 |
29,300 |
15,303 |
15,142 |
1.98 |
1.03 |
configure.ocaml |
no-host |
3,740 |
3,794 |
4,797 |
3,886 |
3,748 |
1.28 |
1.04 |
configure.tcc |
no-host |
49 |
41 |
212 |
51 |
47 |
4.32 |
1.03 |
configure.util-linux |
no-host |
13,940 |
14,700 |
32,227 |
14,258 |
14,440 |
2.31 |
1.02 |
configure.yash |
no-host |
1,815 |
1,738 |
2,483 |
1,862 |
1,857 |
1.37 |
1.03 |
hello-world |
no-host |
1 |
1 |
57 |
3 |
3 |
43.53 |
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,552 |
1,132 |
24,231 |
3,179 |
3,078 |
9.49 |
1.25 |
bin-true |
no-host |
104,385 |
66,483 |
800,627 |
127,205 |
127,191 |
7.67 |
1.22 |
configure.cpython |
no-host |
1,994,614 |
2,018,157 |
6,103,960 |
2,012,702 |
1,997,666 |
3.06 |
1.01 |
configure.ocaml |
no-host |
373,363 |
354,307 |
616,295 |
376,845 |
376,134 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,052 |
5,006 |
24,054 |
6,506 |
6,446 |
3.97 |
1.08 |
configure.util-linux |
no-host |
1,912,288 |
2,076,906 |
5,308,311 |
1,827,959 |
1,809,230 |
2.78 |
0.96 |
configure.yash |
no-host |
232,793 |
221,278 |
369,382 |
234,767 |
235,768 |
1.59 |
1.01 |
hello-world |
no-host |
148 |
74 |
3,978 |
346 |
338 |
26.88 |
2.34 |
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.3 |
3,806 |
3,806 |
0 |
701 |
1,870 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
794 |
1 |
2 |
2.6 |
8.1 |
156,773 |
15,415 |
2,902 |
8,753 |
77,337 |
70,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,303 |
2 |
73 |
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,258 |
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,886 |
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 |
51 |
0 |
0 |
1.3 |
19.7 |
30,576 |
30,576 |
0 |
1,543 |
14,636 |
14,397 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,862 |
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 |
9.0 |
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.9 |
3,805 |
3,805 |
0 |
702 |
1,870 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
804 |
1 |
2 |
2.6 |
7.9 |
156,772 |
15,410 |
2,897 |
8,754 |
77,337 |
70,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,142 |
1 |
70 |
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,440 |
3 |
66 |
21.6 |
30.3 |
2,709,215 |
53,739 |
65,701 |
114,375 |
1,295,038 |
1,299,802 |
32,241 |
41 |
131,402 |
1 |
configure.ocaml |
no-host |
3,748 |
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 |
47 |
0 |
0 |
1.3 |
19.7 |
30,576 |
30,576 |
0 |
1,545 |
14,636 |
14,395 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,857 |
1 |
2 |
2.6 |
26.4 |
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 |
20 |
12 |
9 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
3 |
7 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
474 |
428 |
49 |
22.9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
14 |
8 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
8 |
14 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
659 |
309 |
382 |
3.0 |
bash |
9 |
no-host |
bin-true |
553 |
285 |
280 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,358 |
797 |
1,817 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
794 |
314 |
497 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
804 |
295 |
526 |
7.9 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,833 |
6,654 |
8,600 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
14,971 |
6,616 |
8,808 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
29,300 |
14,510 |
16,745 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,303 |
6,673 |
8,929 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
15,142 |
6,673 |
8,764 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,740 |
1,312 |
1,467 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,794 |
1,352 |
1,466 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,797 |
1,964 |
2,058 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,886 |
1,315 |
1,614 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,748 |
1,282 |
1,506 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
27 |
21 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
41 |
21 |
20 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
212 |
136 |
80 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
51 |
27 |
24 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
22 |
26 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,940 |
5,845 |
8,611 |
30.2 |
bash |
11 |
no-host |
configure.util-linux |
14,700 |
5,959 |
9,272 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
32,227 |
18,406 |
14,953 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,258 |
5,659 |
8,831 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
14,440 |
5,689 |
8,988 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,815 |
888 |
937 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,738 |
885 |
858 |
26.3 |
dash |
22 |
no-host |
configure.yash |
2,483 |
1,308 |
1,221 |
26.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,862 |
945 |
923 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,857 |
929 |
932 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.3 |
dash |
16 |
no-host |
hello-world |
57 |
37 |
20 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
2 |
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,552 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,132 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,231 |
0 |
0 |
0 |
8 |
0 |
45 |
4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,179 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,078 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,385 |
0 |
0 |
0 |
8 |
0 |
1,983 |
218 |
bash |
9 |
no-host |
bin-true |
66,483 |
0 |
0 |
0 |
8 |
0 |
1,966 |
106 |
dash |
17 |
no-host |
bin-true |
800,627 |
0 |
0 |
0 |
8 |
0 |
1,975 |
226 |
osh-cpython |
25 |
no-host |
bin-true |
127,205 |
0 |
0 |
0 |
16 |
0 |
1,968 |
124 |
osh-native |
33 |
no-host |
bin-true |
127,191 |
0 |
0 |
0 |
16 |
0 |
1,990 |
88 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,994,614 |
0 |
0 |
0 |
32,928 |
0 |
14,261 |
1,283 |
bash |
10 |
no-host |
configure.cpython |
2,018,157 |
0 |
0 |
0 |
32,992 |
0 |
14,312 |
1,208 |
dash |
18 |
no-host |
configure.cpython |
6,103,960 |
0 |
0 |
0 |
27,512 |
0 |
13,047 |
1,242 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,012,702 |
0 |
0 |
0 |
27,520 |
0 |
13,095 |
1,320 |
osh-native |
34 |
no-host |
configure.cpython |
1,997,666 |
0 |
0 |
0 |
27,520 |
0 |
13,020 |
1,127 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,363 |
0 |
0 |
0 |
5,120 |
0 |
1,961 |
206 |
bash |
12 |
no-host |
configure.ocaml |
354,307 |
0 |
0 |
0 |
5,112 |
0 |
1,935 |
203 |
dash |
20 |
no-host |
configure.ocaml |
616,295 |
0 |
0 |
0 |
5,112 |
0 |
1,843 |
182 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,845 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
198 |
osh-native |
36 |
no-host |
configure.ocaml |
376,134 |
0 |
0 |
0 |
5,120 |
0 |
1,921 |
196 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,052 |
0 |
0 |
0 |
104 |
0 |
51 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,006 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,054 |
0 |
0 |
0 |
96 |
0 |
52 |
6 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,506 |
0 |
0 |
0 |
104 |
0 |
47 |
5 |
osh-native |
37 |
no-host |
configure.tcc |
6,446 |
0 |
0 |
0 |
104 |
0 |
47 |
10 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,912,288 |
0 |
0 |
0 |
42,400 |
0 |
18,410 |
1,371 |
bash |
11 |
no-host |
configure.util-linux |
2,076,906 |
1 |
0 |
0 |
42,584 |
0 |
17,283 |
1,595 |
dash |
19 |
no-host |
configure.util-linux |
5,308,311 |
12 |
0 |
0 |
39,152 |
0 |
16,996 |
1,324 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,827,959 |
0 |
0 |
0 |
39,120 |
0 |
16,971 |
1,242 |
osh-native |
35 |
no-host |
configure.util-linux |
1,809,230 |
0 |
0 |
0 |
39,128 |
0 |
16,963 |
1,260 |
osh-native-souffle |
6 |
no-host |
configure.yash |
232,793 |
0 |
0 |
0 |
4,120 |
0 |
869 |
121 |
bash |
14 |
no-host |
configure.yash |
221,278 |
0 |
0 |
0 |
3,720 |
0 |
868 |
88 |
dash |
22 |
no-host |
configure.yash |
369,382 |
0 |
0 |
0 |
3,728 |
0 |
854 |
83 |
osh-cpython |
30 |
no-host |
configure.yash |
234,767 |
0 |
0 |
0 |
3,736 |
0 |
846 |
97 |
osh-native |
38 |
no-host |
configure.yash |
235,768 |
0 |
0 |
0 |
3,736 |
0 |
850 |
153 |
osh-native-souffle |
0 |
no-host |
hello-world |
148 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
74 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,978 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
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