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 |
465 |
21 |
20 |
24.90 |
1.14 |
bin-true |
no-host |
651 |
529 |
2,397 |
793 |
789 |
3.68 |
1.22 |
configure.cpython |
no-host |
14,427 |
14,456 |
28,274 |
14,645 |
14,627 |
1.96 |
1.02 |
configure.ocaml |
no-host |
3,700 |
3,665 |
4,570 |
3,726 |
3,765 |
1.24 |
1.01 |
configure.tcc |
no-host |
46 |
40 |
201 |
47 |
47 |
4.37 |
1.03 |
configure.util-linux |
no-host |
13,460 |
14,308 |
31,173 |
13,851 |
13,808 |
2.32 |
1.03 |
configure.yash |
no-host |
1,789 |
1,715 |
2,420 |
1,764 |
1,774 |
1.35 |
0.99 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
42.77 |
2.12 |
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,515 |
1,102 |
24,221 |
3,180 |
3,065 |
9.63 |
1.26 |
bin-true |
no-host |
106,330 |
65,391 |
800,593 |
127,202 |
126,151 |
7.53 |
1.20 |
configure.cpython |
no-host |
1,996,956 |
2,016,578 |
6,102,802 |
2,005,981 |
2,004,492 |
3.06 |
1.00 |
configure.ocaml |
no-host |
373,304 |
354,006 |
616,266 |
376,494 |
375,781 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,077 |
4,985 |
24,042 |
6,514 |
6,434 |
3.96 |
1.07 |
configure.util-linux |
no-host |
1,910,884 |
2,071,508 |
5,303,575 |
1,824,968 |
1,815,884 |
2.78 |
0.96 |
configure.yash |
no-host |
234,038 |
222,358 |
369,557 |
234,606 |
235,657 |
1.58 |
1.00 |
hello-world |
no-host |
145 |
75 |
3,982 |
344 |
338 |
27.46 |
2.37 |
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.2 |
3,806 |
3,806 |
0 |
701 |
1,870 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
793 |
1 |
2 |
2.6 |
8.0 |
156,773 |
15,415 |
2,902 |
8,753 |
77,337 |
70,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,645 |
1 |
67 |
15.5 |
29.1 |
1,785,014 |
30,560 |
28,527 |
91,506 |
886,575 |
806,933 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
13,851 |
3 |
62 |
21.6 |
30.5 |
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,726 |
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 |
47 |
0 |
0 |
1.3 |
19.8 |
30,576 |
30,576 |
0 |
1,543 |
14,636 |
14,397 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,764 |
1 |
2 |
2.6 |
26.3 |
139,882 |
8,046 |
6,701 |
6,398 |
68,339 |
65,145 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
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.9 |
3,805 |
3,805 |
0 |
702 |
1,870 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
789 |
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,627 |
1 |
65 |
15.4 |
29.3 |
1,785,013 |
30,547 |
28,522 |
91,507 |
886,575 |
806,931 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
13,808 |
3 |
62 |
21.6 |
30.5 |
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,765 |
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,774 |
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 |
20 |
1 |
2 |
2.8 |
8.4 |
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.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
6 |
3 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
465 |
409 |
59 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
21 |
12 |
9 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
12 |
9 |
8.4 |
osh-native-souffle |
1 |
no-host |
bin-true |
651 |
302 |
384 |
3.0 |
bash |
9 |
no-host |
bin-true |
529 |
282 |
259 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,397 |
847 |
1,808 |
18.7 |
osh-cpython |
25 |
no-host |
bin-true |
793 |
312 |
498 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
789 |
303 |
500 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,427 |
6,472 |
8,360 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
14,456 |
6,569 |
8,314 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
28,274 |
14,144 |
15,994 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,645 |
6,455 |
8,469 |
29.1 |
osh-native |
34 |
no-host |
configure.cpython |
14,627 |
6,457 |
8,453 |
29.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,700 |
1,301 |
1,441 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,665 |
1,237 |
1,448 |
22.5 |
dash |
20 |
no-host |
configure.ocaml |
4,570 |
1,807 |
1,979 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,726 |
1,321 |
1,443 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,765 |
1,327 |
1,475 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
19 |
28 |
19.8 |
bash |
13 |
no-host |
configure.tcc |
40 |
24 |
17 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
201 |
136 |
68 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
47 |
22 |
25 |
19.8 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
19 |
28 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,460 |
5,859 |
8,094 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,308 |
5,784 |
9,038 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,173 |
17,712 |
14,533 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
13,851 |
5,517 |
8,551 |
30.5 |
osh-native |
35 |
no-host |
configure.util-linux |
13,808 |
5,584 |
8,447 |
30.5 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,789 |
908 |
891 |
26.3 |
bash |
14 |
no-host |
configure.yash |
1,715 |
902 |
818 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,420 |
1,308 |
1,154 |
26.3 |
osh-cpython |
30 |
no-host |
configure.yash |
1,764 |
904 |
865 |
26.3 |
osh-native |
38 |
no-host |
configure.yash |
1,774 |
905 |
874 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
36 |
20 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
2 |
6.2 |
osh-native |
32 |
no-host |
hello-world |
3 |
2 |
1 |
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,515 |
0 |
0 |
0 |
16 |
0 |
41 |
3 |
bash |
15 |
no-host |
abuild-print-help |
1,102 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,221 |
0 |
0 |
0 |
8 |
0 |
45 |
9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,180 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,065 |
0 |
0 |
0 |
16 |
0 |
39 |
6 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,330 |
0 |
0 |
0 |
8 |
0 |
1,972 |
166 |
bash |
9 |
no-host |
bin-true |
65,391 |
0 |
0 |
0 |
8 |
0 |
1,978 |
154 |
dash |
17 |
no-host |
bin-true |
800,593 |
0 |
0 |
0 |
8 |
0 |
1,991 |
341 |
osh-cpython |
25 |
no-host |
bin-true |
127,202 |
0 |
0 |
0 |
16 |
0 |
1,980 |
222 |
osh-native |
33 |
no-host |
bin-true |
126,151 |
0 |
0 |
0 |
16 |
0 |
1,987 |
304 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,996,956 |
1 |
0 |
0 |
32,928 |
0 |
14,210 |
1,266 |
bash |
10 |
no-host |
configure.cpython |
2,016,578 |
0 |
0 |
0 |
32,992 |
0 |
14,341 |
1,138 |
dash |
18 |
no-host |
configure.cpython |
6,102,802 |
0 |
0 |
0 |
27,512 |
0 |
13,035 |
1,311 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,005,981 |
0 |
0 |
0 |
27,520 |
0 |
13,105 |
1,243 |
osh-native |
34 |
no-host |
configure.cpython |
2,004,492 |
0 |
0 |
0 |
27,520 |
0 |
13,040 |
1,300 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,304 |
0 |
0 |
0 |
5,120 |
0 |
1,947 |
209 |
bash |
12 |
no-host |
configure.ocaml |
354,006 |
0 |
0 |
0 |
5,112 |
0 |
1,944 |
177 |
dash |
20 |
no-host |
configure.ocaml |
616,266 |
1 |
0 |
0 |
5,112 |
0 |
1,853 |
209 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,494 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
193 |
osh-native |
36 |
no-host |
configure.ocaml |
375,781 |
0 |
0 |
0 |
5,120 |
0 |
1,925 |
228 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,077 |
0 |
0 |
0 |
104 |
0 |
48 |
3 |
bash |
13 |
no-host |
configure.tcc |
4,985 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,042 |
0 |
0 |
0 |
96 |
0 |
53 |
6 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,514 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,434 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,910,884 |
2 |
0 |
0 |
42,400 |
0 |
18,429 |
1,316 |
bash |
11 |
no-host |
configure.util-linux |
2,071,508 |
1 |
0 |
0 |
42,584 |
0 |
17,248 |
1,415 |
dash |
19 |
no-host |
configure.util-linux |
5,303,575 |
6 |
0 |
0 |
39,112 |
0 |
17,018 |
1,355 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,824,968 |
0 |
0 |
0 |
39,120 |
0 |
17,045 |
1,175 |
osh-native |
35 |
no-host |
configure.util-linux |
1,815,884 |
1 |
0 |
0 |
39,136 |
0 |
17,127 |
1,299 |
osh-native-souffle |
6 |
no-host |
configure.yash |
234,038 |
0 |
0 |
0 |
4,120 |
0 |
870 |
90 |
bash |
14 |
no-host |
configure.yash |
222,358 |
0 |
0 |
0 |
3,720 |
0 |
870 |
91 |
dash |
22 |
no-host |
configure.yash |
369,557 |
0 |
0 |
0 |
3,728 |
0 |
853 |
126 |
osh-cpython |
30 |
no-host |
configure.yash |
234,606 |
0 |
0 |
0 |
3,736 |
0 |
847 |
94 |
osh-native |
38 |
no-host |
configure.yash |
235,657 |
0 |
0 |
0 |
3,736 |
0 |
850 |
89 |
osh-native-souffle |
0 |
no-host |
hello-world |
145 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
75 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,982 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
338 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host