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 |
464 |
22 |
21 |
24.00 |
1.13 |
bin-true |
no-host |
675 |
543 |
2,299 |
813 |
816 |
3.40 |
1.20 |
configure.cpython |
no-host |
15,015 |
15,085 |
29,007 |
15,302 |
15,394 |
1.93 |
1.02 |
configure.ocaml |
no-host |
3,845 |
3,745 |
4,659 |
3,824 |
3,815 |
1.21 |
0.99 |
configure.tcc |
no-host |
48 |
42 |
206 |
49 |
49 |
4.30 |
1.02 |
configure.util-linux |
no-host |
14,027 |
14,900 |
31,584 |
14,442 |
14,461 |
2.25 |
1.03 |
configure.yash |
no-host |
1,818 |
1,763 |
2,470 |
1,818 |
1,832 |
1.36 |
1.00 |
hello-world |
no-host |
2 |
1 |
56 |
3 |
3 |
35.30 |
1.83 |
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,509 |
1,128 |
23,496 |
3,196 |
3,116 |
9.36 |
1.27 |
bin-true |
no-host |
103,325 |
66,482 |
761,633 |
127,249 |
127,311 |
7.37 |
1.23 |
configure.cpython |
no-host |
2,216,556 |
2,255,409 |
6,217,088 |
2,215,623 |
2,208,721 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,675 |
390,863 |
644,304 |
413,906 |
412,187 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,547 |
5,481 |
23,946 |
6,957 |
6,909 |
3.66 |
1.06 |
configure.util-linux |
no-host |
2,100,682 |
2,261,849 |
5,361,741 |
2,004,124 |
1,987,266 |
2.55 |
0.95 |
configure.yash |
no-host |
256,268 |
243,531 |
385,825 |
257,931 |
257,533 |
1.51 |
1.01 |
hello-world |
no-host |
152 |
83 |
3,950 |
347 |
339 |
25.99 |
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,789 |
3,789 |
0 |
694 |
1,861 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
813 |
1 |
2 |
2.6 |
8.3 |
153,753 |
12,329 |
2,894 |
8,743 |
76,325 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,302 |
1 |
63 |
14.9 |
27.3 |
1,771,800 |
49,612 |
28,519 |
85,427 |
878,134 |
808,239 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,442 |
3 |
61 |
21.2 |
30.1 |
2,702,546 |
53,773 |
65,698 |
108,699 |
1,290,651 |
1,303,196 |
32,241 |
41 |
131,396 |
1 |
configure.ocaml |
no-host |
3,824 |
1 |
2 |
2.6 |
20.6 |
150,087 |
11,119 |
5,214 |
7,508 |
70,972 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.3 |
30,593 |
30,593 |
0 |
1,518 |
14,644 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,818 |
1 |
2 |
2.5 |
24.4 |
139,419 |
8,031 |
6,693 |
5,989 |
67,945 |
65,485 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
116,299 |
64,410 |
42,620 |
4,532 |
54,439 |
57,328 |
277 |
3 |
85,240 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
6.0 |
3,788 |
3,788 |
0 |
695 |
1,861 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
816 |
1 |
2 |
2.6 |
7.6 |
153,752 |
12,118 |
2,832 |
8,744 |
76,325 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,394 |
2 |
65 |
14.9 |
27.5 |
1,771,799 |
49,070 |
28,457 |
85,428 |
878,134 |
808,237 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,461 |
3 |
64 |
21.2 |
30.0 |
2,702,546 |
53,700 |
65,656 |
108,701 |
1,290,651 |
1,303,194 |
32,241 |
41 |
131,312 |
1 |
configure.ocaml |
no-host |
3,815 |
1 |
2 |
2.6 |
20.6 |
150,087 |
11,057 |
5,152 |
7,510 |
70,972 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.4 |
30,593 |
30,593 |
0 |
1,520 |
14,644 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,832 |
1 |
2 |
2.5 |
24.2 |
139,419 |
7,969 |
6,631 |
5,991 |
67,945 |
65,483 |
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,533 |
54,439 |
57,326 |
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 |
7 |
12 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
464 |
409 |
58 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
16 |
6 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
19 |
3 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
675 |
490 |
216 |
3.0 |
bash |
9 |
no-host |
bin-true |
543 |
415 |
137 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,299 |
1,477 |
1,074 |
18.3 |
osh-cpython |
25 |
no-host |
bin-true |
813 |
579 |
250 |
8.3 |
osh-native |
33 |
no-host |
bin-true |
816 |
561 |
267 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,015 |
9,007 |
6,408 |
27.5 |
bash |
10 |
no-host |
configure.cpython |
15,085 |
9,213 |
6,295 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
29,007 |
17,586 |
13,272 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,302 |
8,949 |
6,622 |
27.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,394 |
9,055 |
6,453 |
27.5 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,845 |
1,654 |
1,228 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,745 |
1,543 |
1,223 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,659 |
2,208 |
1,662 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,824 |
1,566 |
1,298 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,815 |
1,587 |
1,265 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
33 |
15 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
42 |
28 |
14 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
206 |
147 |
62 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
29 |
21 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
25 |
24 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,027 |
8,744 |
5,767 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
14,900 |
9,136 |
6,265 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,584 |
21,119 |
11,539 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,442 |
8,716 |
5,924 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,461 |
8,711 |
5,951 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,818 |
1,056 |
769 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,763 |
1,052 |
713 |
24.5 |
dash |
22 |
no-host |
configure.yash |
2,470 |
1,445 |
1,066 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,818 |
1,058 |
764 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,832 |
1,045 |
791 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
40 |
16 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
6.0 |
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,509 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,128 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,496 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,196 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,116 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
103,325 |
0 |
0 |
0 |
8 |
0 |
1,993 |
145 |
bash |
9 |
no-host |
bin-true |
66,482 |
0 |
0 |
0 |
8 |
0 |
1,987 |
58 |
dash |
17 |
no-host |
bin-true |
761,633 |
0 |
0 |
0 |
8 |
0 |
1,995 |
140 |
osh-cpython |
25 |
no-host |
bin-true |
127,249 |
0 |
0 |
0 |
16 |
0 |
1,986 |
49 |
osh-native |
33 |
no-host |
bin-true |
127,311 |
0 |
0 |
0 |
16 |
0 |
1,991 |
69 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,216,556 |
0 |
0 |
0 |
32,928 |
0 |
14,469 |
1,004 |
bash |
10 |
no-host |
configure.cpython |
2,255,409 |
0 |
0 |
0 |
32,992 |
0 |
14,551 |
953 |
dash |
18 |
no-host |
configure.cpython |
6,217,088 |
1 |
0 |
0 |
27,512 |
0 |
13,217 |
1,237 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,215,623 |
0 |
0 |
0 |
27,520 |
0 |
13,224 |
937 |
osh-native |
34 |
no-host |
configure.cpython |
2,208,721 |
0 |
0 |
0 |
27,520 |
0 |
13,349 |
897 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,675 |
0 |
0 |
0 |
5,120 |
0 |
1,959 |
179 |
bash |
12 |
no-host |
configure.ocaml |
390,863 |
0 |
0 |
0 |
5,112 |
0 |
1,912 |
154 |
dash |
20 |
no-host |
configure.ocaml |
644,304 |
0 |
0 |
0 |
5,112 |
0 |
1,871 |
163 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,906 |
0 |
0 |
0 |
5,120 |
0 |
1,930 |
167 |
osh-native |
36 |
no-host |
configure.ocaml |
412,187 |
0 |
0 |
0 |
5,120 |
0 |
1,922 |
161 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,547 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,481 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,946 |
0 |
0 |
0 |
96 |
0 |
52 |
11 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,957 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,909 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,100,682 |
1 |
0 |
0 |
42,400 |
0 |
18,565 |
1,057 |
bash |
11 |
no-host |
configure.util-linux |
2,261,849 |
1 |
0 |
0 |
42,584 |
0 |
17,485 |
1,062 |
dash |
19 |
no-host |
configure.util-linux |
5,361,741 |
5 |
0 |
0 |
39,136 |
0 |
16,988 |
1,190 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,004,124 |
0 |
0 |
0 |
39,120 |
0 |
16,979 |
1,050 |
osh-native |
35 |
no-host |
configure.util-linux |
1,987,266 |
1 |
0 |
0 |
39,128 |
0 |
16,954 |
925 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,268 |
0 |
0 |
0 |
4,120 |
0 |
870 |
62 |
bash |
14 |
no-host |
configure.yash |
243,531 |
0 |
0 |
0 |
3,720 |
0 |
872 |
70 |
dash |
22 |
no-host |
configure.yash |
385,825 |
0 |
0 |
0 |
3,728 |
0 |
855 |
77 |
osh-cpython |
30 |
no-host |
configure.yash |
257,931 |
0 |
0 |
0 |
3,736 |
0 |
847 |
76 |
osh-native |
38 |
no-host |
configure.yash |
257,533 |
0 |
0 |
0 |
3,736 |
0 |
848 |
71 |
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,950 |
0 |
0 |
0 |
8 |
0 |
7 |
6 |
osh-cpython |
24 |
no-host |
hello-world |
347 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
339 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host