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 |
10 |
475 |
23 |
22 |
23.83 |
1.14 |
bin-true |
no-host |
687 |
550 |
2,378 |
832 |
822 |
3.46 |
1.21 |
configure.cpython |
no-host |
15,970 |
15,977 |
30,653 |
16,159 |
16,306 |
1.92 |
1.01 |
configure.ocaml |
no-host |
3,931 |
3,878 |
4,853 |
4,012 |
4,028 |
1.23 |
1.02 |
configure.tcc |
no-host |
50 |
43 |
217 |
52 |
52 |
4.35 |
1.04 |
configure.util-linux |
no-host |
14,781 |
15,690 |
33,073 |
15,182 |
15,249 |
2.24 |
1.03 |
configure.yash |
no-host |
1,915 |
1,852 |
2,588 |
1,956 |
1,936 |
1.35 |
1.02 |
hello-world |
no-host |
2 |
1 |
60 |
3 |
3 |
33.94 |
1.91 |
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,545 |
1,127 |
23,504 |
3,179 |
3,102 |
9.24 |
1.25 |
bin-true |
no-host |
104,315 |
65,437 |
761,623 |
127,180 |
125,241 |
7.30 |
1.22 |
configure.cpython |
no-host |
2,221,724 |
2,238,545 |
6,213,936 |
2,224,163 |
2,217,268 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,589 |
390,421 |
644,287 |
412,805 |
412,369 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,567 |
5,482 |
23,990 |
6,946 |
6,892 |
3.65 |
1.06 |
configure.util-linux |
no-host |
2,095,679 |
2,262,466 |
5,360,341 |
2,003,979 |
1,993,001 |
2.56 |
0.96 |
configure.yash |
no-host |
256,470 |
244,035 |
387,286 |
258,601 |
257,529 |
1.51 |
1.01 |
hello-world |
no-host |
152 |
79 |
3,959 |
347 |
341 |
26.05 |
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 |
832 |
1 |
2 |
2.6 |
8.4 |
153,753 |
12,329 |
2,894 |
8,743 |
76,325 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
16,159 |
1 |
68 |
14.9 |
27.5 |
1,771,800 |
49,612 |
28,519 |
85,427 |
878,134 |
808,239 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
15,182 |
3 |
68 |
21.2 |
30.0 |
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 |
4,012 |
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 |
52 |
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,956 |
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 |
23 |
1 |
2 |
2.8 |
8.9 |
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 |
822 |
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 |
16,306 |
1 |
70 |
14.9 |
27.3 |
1,771,799 |
49,070 |
28,457 |
85,428 |
878,134 |
808,237 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
15,249 |
3 |
70 |
21.2 |
30.3 |
2,702,546 |
53,700 |
65,636 |
108,701 |
1,290,651 |
1,303,194 |
32,241 |
41 |
131,272 |
1 |
configure.ocaml |
no-host |
4,028 |
1 |
2 |
2.6 |
20.4 |
150,087 |
11,057 |
5,152 |
7,510 |
70,972 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
52 |
0 |
0 |
1.3 |
19.3 |
30,593 |
30,593 |
0 |
1,520 |
14,644 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,936 |
1 |
2 |
2.5 |
24.5 |
139,419 |
7,969 |
6,631 |
5,991 |
67,945 |
65,483 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
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 |
20 |
14 |
6 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
9 |
1 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
475 |
435 |
43 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
14 |
9 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
22 |
21 |
1 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
687 |
517 |
202 |
2.9 |
bash |
9 |
no-host |
bin-true |
550 |
415 |
143 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,378 |
1,510 |
1,140 |
18.3 |
osh-cpython |
25 |
no-host |
bin-true |
832 |
587 |
259 |
8.4 |
osh-native |
33 |
no-host |
bin-true |
822 |
576 |
260 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,970 |
9,690 |
6,699 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,977 |
9,589 |
6,830 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
30,653 |
18,355 |
14,285 |
27.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
16,159 |
9,543 |
6,883 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
16,306 |
9,633 |
6,760 |
27.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,931 |
1,730 |
1,240 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,878 |
1,620 |
1,276 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,853 |
2,316 |
1,757 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
4,012 |
1,647 |
1,402 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
4,028 |
1,756 |
1,309 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
50 |
32 |
19 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
43 |
29 |
14 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
217 |
149 |
72 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
52 |
34 |
18 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
52 |
32 |
21 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,781 |
9,135 |
6,136 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
15,690 |
9,368 |
6,808 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
33,073 |
21,842 |
12,373 |
30.0 |
osh-cpython |
27 |
no-host |
configure.util-linux |
15,182 |
9,095 |
6,275 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
15,249 |
9,076 |
6,358 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,915 |
1,091 |
829 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,852 |
999 |
856 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,588 |
1,589 |
1,040 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,956 |
1,124 |
836 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,936 |
1,128 |
810 |
24.5 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
60 |
43 |
15 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
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,545 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,127 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,504 |
0 |
0 |
0 |
8 |
0 |
45 |
11 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,179 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,102 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,315 |
0 |
0 |
0 |
8 |
0 |
1,984 |
102 |
bash |
9 |
no-host |
bin-true |
65,437 |
0 |
0 |
0 |
8 |
0 |
1,984 |
43 |
dash |
17 |
no-host |
bin-true |
761,623 |
0 |
0 |
0 |
8 |
0 |
1,988 |
196 |
osh-cpython |
25 |
no-host |
bin-true |
127,180 |
0 |
0 |
0 |
16 |
0 |
1,979 |
207 |
osh-native |
33 |
no-host |
bin-true |
125,241 |
0 |
0 |
0 |
16 |
0 |
1,979 |
56 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,221,724 |
0 |
0 |
0 |
32,928 |
0 |
14,513 |
915 |
bash |
10 |
no-host |
configure.cpython |
2,238,545 |
0 |
0 |
0 |
32,992 |
0 |
14,671 |
1,036 |
dash |
18 |
no-host |
configure.cpython |
6,213,936 |
1 |
0 |
0 |
27,512 |
0 |
13,286 |
1,177 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,224,163 |
0 |
0 |
0 |
27,520 |
0 |
13,305 |
954 |
osh-native |
34 |
no-host |
configure.cpython |
2,217,268 |
0 |
0 |
0 |
27,520 |
0 |
13,298 |
884 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,589 |
0 |
0 |
0 |
5,120 |
0 |
1,947 |
132 |
bash |
12 |
no-host |
configure.ocaml |
390,421 |
0 |
0 |
0 |
5,112 |
0 |
1,869 |
147 |
dash |
20 |
no-host |
configure.ocaml |
644,287 |
0 |
0 |
0 |
5,112 |
0 |
1,854 |
185 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,805 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
150 |
osh-native |
36 |
no-host |
configure.ocaml |
412,369 |
0 |
0 |
0 |
5,120 |
0 |
1,925 |
142 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,567 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,482 |
0 |
0 |
0 |
96 |
0 |
47 |
4 |
dash |
21 |
no-host |
configure.tcc |
23,990 |
0 |
0 |
0 |
96 |
0 |
53 |
5 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,946 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,892 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,095,679 |
3 |
0 |
0 |
42,408 |
0 |
18,565 |
1,054 |
bash |
11 |
no-host |
configure.util-linux |
2,262,466 |
0 |
0 |
0 |
42,592 |
0 |
17,537 |
1,026 |
dash |
19 |
no-host |
configure.util-linux |
5,360,341 |
5 |
0 |
0 |
39,120 |
0 |
16,961 |
1,243 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,003,979 |
0 |
0 |
0 |
39,128 |
0 |
16,950 |
952 |
osh-native |
35 |
no-host |
configure.util-linux |
1,993,001 |
0 |
0 |
0 |
39,136 |
0 |
16,968 |
1,111 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,470 |
0 |
0 |
0 |
4,120 |
0 |
870 |
85 |
bash |
14 |
no-host |
configure.yash |
244,035 |
0 |
0 |
0 |
3,720 |
0 |
864 |
81 |
dash |
22 |
no-host |
configure.yash |
387,286 |
1 |
0 |
0 |
3,728 |
0 |
849 |
141 |
osh-cpython |
30 |
no-host |
configure.yash |
258,601 |
0 |
0 |
0 |
3,736 |
0 |
850 |
85 |
osh-native |
38 |
no-host |
configure.yash |
257,529 |
0 |
0 |
0 |
3,736 |
0 |
845 |
79 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
1 |
bash |
8 |
no-host |
hello-world |
79 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,959 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
347 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
341 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host