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 |
482 |
23 |
21 |
25.25 |
1.22 |
bin-true |
no-host |
658 |
532 |
2,348 |
787 |
794 |
3.57 |
1.20 |
configure.cpython |
no-host |
14,933 |
14,956 |
29,242 |
15,146 |
15,090 |
1.96 |
1.01 |
configure.ocaml |
no-host |
3,830 |
3,746 |
4,687 |
3,817 |
3,850 |
1.22 |
1.00 |
configure.tcc |
no-host |
47 |
41 |
208 |
48 |
47 |
4.43 |
1.03 |
configure.util-linux |
no-host |
13,867 |
14,769 |
31,951 |
14,231 |
14,168 |
2.30 |
1.03 |
configure.yash |
no-host |
1,824 |
1,769 |
2,503 |
1,832 |
1,842 |
1.37 |
1.00 |
hello-world |
no-host |
1 |
1 |
58 |
3 |
3 |
43.50 |
2.15 |
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,102 |
23,893 |
3,199 |
3,119 |
9.36 |
1.25 |
bin-true |
no-host |
106,332 |
65,427 |
780,716 |
124,133 |
126,196 |
7.34 |
1.17 |
configure.cpython |
no-host |
1,999,980 |
2,021,183 |
6,049,559 |
2,002,123 |
1,992,891 |
3.02 |
1.00 |
configure.ocaml |
no-host |
373,514 |
353,694 |
611,548 |
376,125 |
375,685 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,073 |
5,002 |
23,790 |
6,492 |
6,428 |
3.92 |
1.07 |
configure.util-linux |
no-host |
1,902,940 |
2,064,243 |
5,232,485 |
1,803,792 |
1,802,914 |
2.75 |
0.95 |
configure.yash |
no-host |
231,367 |
221,309 |
367,471 |
235,728 |
234,941 |
1.59 |
1.02 |
hello-world |
no-host |
147 |
78 |
4,004 |
342 |
341 |
27.24 |
2.33 |
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,789 |
3,789 |
0 |
695 |
1,861 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
787 |
1 |
2 |
2.6 |
8.1 |
153,753 |
12,329 |
2,894 |
8,744 |
76,325 |
68,684 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,146 |
1 |
66 |
14.9 |
29.3 |
1,767,675 |
49,060 |
28,519 |
85,428 |
875,384 |
806,863 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,231 |
3 |
65 |
21.2 |
30.2 |
2,698,991 |
29,940 |
65,718 |
108,700 |
1,288,281 |
1,302,010 |
32,241 |
41 |
131,436 |
1 |
configure.ocaml |
no-host |
3,817 |
1 |
2 |
2.6 |
22.6 |
149,553 |
11,119 |
5,214 |
7,509 |
70,616 |
71,428 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.5 |
30,539 |
30,539 |
0 |
1,519 |
14,608 |
14,412 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,832 |
1 |
2 |
2.5 |
26.4 |
139,269 |
8,031 |
6,693 |
5,990 |
67,845 |
65,434 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
9.0 |
116,299 |
64,410 |
42,620 |
4,533 |
54,439 |
57,327 |
277 |
3 |
85,240 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,788 |
3,788 |
0 |
696 |
1,861 |
1,231 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
794 |
1 |
2 |
2.6 |
7.5 |
153,752 |
12,118 |
2,832 |
8,745 |
76,325 |
68,682 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,090 |
1 |
67 |
14.9 |
29.1 |
1,767,674 |
37,983 |
24,932 |
85,429 |
875,384 |
806,861 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,168 |
3 |
65 |
21.2 |
30.1 |
2,698,991 |
29,878 |
65,656 |
108,702 |
1,288,281 |
1,302,008 |
32,241 |
41 |
131,312 |
1 |
configure.ocaml |
no-host |
3,850 |
1 |
2 |
2.6 |
22.6 |
149,553 |
11,057 |
5,152 |
7,511 |
70,616 |
71,426 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.8 |
30,539 |
30,539 |
0 |
1,521 |
14,608 |
14,410 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,842 |
1 |
2 |
2.5 |
26.2 |
139,269 |
7,969 |
6,631 |
5,992 |
67,845 |
65,432 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,298 |
64,348 |
42,558 |
4,534 |
54,439 |
57,325 |
277 |
3 |
85,116 |
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 |
13 |
6 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
6 |
4 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
482 |
429 |
56 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
16 |
8 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
9 |
13 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
658 |
300 |
389 |
2.9 |
bash |
9 |
no-host |
bin-true |
532 |
277 |
267 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,348 |
814 |
1,810 |
18.2 |
osh-cpython |
25 |
no-host |
bin-true |
787 |
307 |
498 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
794 |
306 |
506 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,933 |
6,674 |
8,688 |
29.3 |
bash |
10 |
no-host |
configure.cpython |
14,956 |
6,759 |
8,639 |
29.1 |
dash |
18 |
no-host |
configure.cpython |
29,242 |
14,480 |
16,730 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,146 |
6,718 |
8,723 |
29.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,090 |
6,608 |
8,770 |
29.1 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,830 |
1,350 |
1,513 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,746 |
1,327 |
1,441 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,687 |
1,913 |
1,992 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,817 |
1,344 |
1,515 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,850 |
1,360 |
1,531 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
25 |
23 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
41 |
22 |
18 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
208 |
141 |
70 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
24 |
25 |
19.5 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
19 |
29 |
19.8 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,867 |
5,863 |
8,515 |
30.2 |
bash |
11 |
no-host |
configure.util-linux |
14,769 |
5,931 |
9,375 |
30.2 |
dash |
19 |
no-host |
configure.util-linux |
31,951 |
18,167 |
14,921 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,231 |
5,714 |
8,736 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
14,168 |
5,724 |
8,679 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,824 |
920 |
914 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,769 |
887 |
886 |
26.5 |
dash |
22 |
no-host |
configure.yash |
2,503 |
1,385 |
1,164 |
26.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,832 |
934 |
903 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,842 |
922 |
925 |
26.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
58 |
40 |
18 |
18.3 |
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 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,102 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,893 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,199 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,119 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,332 |
0 |
0 |
0 |
8 |
0 |
1,984 |
114 |
bash |
9 |
no-host |
bin-true |
65,427 |
0 |
0 |
0 |
8 |
0 |
1,976 |
85 |
dash |
17 |
no-host |
bin-true |
780,716 |
0 |
0 |
0 |
8 |
0 |
1,974 |
201 |
osh-cpython |
25 |
no-host |
bin-true |
124,133 |
0 |
0 |
0 |
16 |
0 |
1,983 |
136 |
osh-native |
33 |
no-host |
bin-true |
126,196 |
0 |
0 |
0 |
16 |
0 |
1,981 |
78 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,999,980 |
0 |
0 |
0 |
32,928 |
0 |
14,188 |
1,221 |
bash |
10 |
no-host |
configure.cpython |
2,021,183 |
0 |
0 |
0 |
32,992 |
0 |
14,348 |
1,161 |
dash |
18 |
no-host |
configure.cpython |
6,049,559 |
1 |
0 |
0 |
27,512 |
0 |
13,138 |
1,199 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,002,123 |
0 |
0 |
0 |
27,520 |
0 |
13,038 |
1,123 |
osh-native |
34 |
no-host |
configure.cpython |
1,992,891 |
0 |
0 |
0 |
27,520 |
0 |
13,068 |
1,129 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,514 |
0 |
0 |
0 |
5,120 |
0 |
1,946 |
184 |
bash |
12 |
no-host |
configure.ocaml |
353,694 |
0 |
0 |
0 |
5,112 |
0 |
1,923 |
213 |
dash |
20 |
no-host |
configure.ocaml |
611,548 |
0 |
0 |
0 |
5,112 |
0 |
1,857 |
193 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,125 |
0 |
0 |
0 |
5,120 |
0 |
1,925 |
229 |
osh-native |
36 |
no-host |
configure.ocaml |
375,685 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
197 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,073 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,002 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
23,790 |
0 |
0 |
0 |
96 |
0 |
54 |
6 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,492 |
0 |
0 |
0 |
104 |
0 |
46 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,428 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,902,940 |
2 |
0 |
0 |
42,400 |
0 |
18,353 |
1,119 |
bash |
11 |
no-host |
configure.util-linux |
2,064,243 |
2 |
0 |
0 |
42,584 |
0 |
17,266 |
1,324 |
dash |
19 |
no-host |
configure.util-linux |
5,232,485 |
15 |
0 |
0 |
39,112 |
0 |
17,011 |
1,362 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,803,792 |
0 |
0 |
0 |
39,120 |
0 |
16,917 |
1,187 |
osh-native |
35 |
no-host |
configure.util-linux |
1,802,914 |
0 |
0 |
0 |
39,136 |
0 |
16,945 |
1,122 |
osh-native-souffle |
6 |
no-host |
configure.yash |
231,367 |
0 |
0 |
0 |
4,120 |
0 |
867 |
84 |
bash |
14 |
no-host |
configure.yash |
221,309 |
0 |
0 |
0 |
3,720 |
0 |
873 |
81 |
dash |
22 |
no-host |
configure.yash |
367,471 |
0 |
0 |
0 |
3,728 |
0 |
853 |
106 |
osh-cpython |
30 |
no-host |
configure.yash |
235,728 |
0 |
0 |
0 |
3,736 |
0 |
847 |
104 |
osh-native |
38 |
no-host |
configure.yash |
234,941 |
0 |
0 |
0 |
3,736 |
0 |
848 |
96 |
osh-native-souffle |
0 |
no-host |
hello-world |
147 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
78 |
0 |
0 |
0 |
8 |
0 |
0 |
0 |
dash |
16 |
no-host |
hello-world |
4,004 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
341 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host