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 |
467 |
22 |
21 |
24.49 |
1.15 |
bin-true |
no-host |
680 |
532 |
2,304 |
818 |
817 |
3.39 |
1.20 |
configure.cpython |
no-host |
14,809 |
14,935 |
28,858 |
15,221 |
15,201 |
1.95 |
1.03 |
configure.ocaml |
no-host |
3,760 |
3,693 |
4,611 |
3,802 |
3,784 |
1.23 |
1.01 |
configure.tcc |
no-host |
48 |
42 |
203 |
48 |
48 |
4.24 |
1.01 |
configure.util-linux |
no-host |
13,846 |
14,714 |
31,209 |
14,227 |
14,142 |
2.25 |
1.03 |
configure.yash |
no-host |
1,813 |
1,749 |
2,449 |
1,821 |
1,796 |
1.35 |
1.00 |
hello-world |
no-host |
2 |
1 |
56 |
3 |
3 |
35.49 |
1.88 |
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,560 |
1,111 |
23,491 |
3,232 |
3,116 |
9.18 |
1.26 |
bin-true |
no-host |
105,344 |
65,444 |
764,018 |
126,122 |
128,114 |
7.25 |
1.20 |
configure.cpython |
no-host |
2,214,845 |
2,240,585 |
6,208,018 |
2,219,731 |
2,210,438 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,900 |
390,446 |
643,834 |
413,387 |
412,404 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,544 |
5,489 |
23,962 |
6,941 |
6,913 |
3.66 |
1.06 |
configure.util-linux |
no-host |
2,096,195 |
2,258,523 |
5,348,925 |
2,004,132 |
1,994,051 |
2.55 |
0.96 |
configure.yash |
no-host |
256,028 |
244,733 |
386,316 |
257,389 |
257,084 |
1.51 |
1.01 |
hello-world |
no-host |
152 |
80 |
3,957 |
343 |
337 |
26.03 |
2.26 |
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,793 |
3,793 |
0 |
694 |
1,865 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
818 |
1 |
2 |
2.6 |
8.0 |
153,757 |
12,333 |
2,898 |
8,743 |
76,329 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,221 |
1 |
62 |
14.9 |
27.4 |
1,771,804 |
49,616 |
28,523 |
85,427 |
878,138 |
808,239 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,227 |
2 |
59 |
21.2 |
30.3 |
2,702,550 |
45,811 |
65,722 |
108,699 |
1,290,655 |
1,303,196 |
32,241 |
41 |
131,444 |
1 |
configure.ocaml |
no-host |
3,802 |
1 |
2 |
2.6 |
20.6 |
150,091 |
11,123 |
5,218 |
7,508 |
70,976 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,597 |
30,597 |
0 |
1,518 |
14,648 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,821 |
1 |
2 |
2.5 |
24.2 |
139,423 |
8,035 |
6,697 |
5,989 |
67,949 |
65,485 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
116,303 |
64,414 |
42,624 |
4,532 |
54,443 |
57,328 |
277 |
3 |
85,248 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,792 |
3,792 |
0 |
695 |
1,865 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
817 |
1 |
2 |
2.6 |
7.7 |
153,756 |
12,122 |
2,836 |
8,744 |
76,329 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,201 |
1 |
59 |
14.9 |
27.4 |
1,771,803 |
49,074 |
28,461 |
85,428 |
878,138 |
808,237 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,142 |
3 |
58 |
21.2 |
30.0 |
2,702,550 |
53,704 |
65,660 |
108,701 |
1,290,655 |
1,303,194 |
32,241 |
41 |
131,320 |
1 |
configure.ocaml |
no-host |
3,784 |
1 |
2 |
2.6 |
20.4 |
150,091 |
11,061 |
5,156 |
7,510 |
70,976 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,597 |
30,597 |
0 |
1,520 |
14,648 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,796 |
1 |
2 |
2.5 |
24.4 |
139,423 |
7,973 |
6,635 |
5,991 |
67,949 |
65,483 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.8 |
116,302 |
64,352 |
42,562 |
4,533 |
54,443 |
57,326 |
277 |
3 |
85,124 |
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 |
5 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
467 |
430 |
40 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
13 |
10 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
17 |
4 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
680 |
485 |
224 |
3.0 |
bash |
9 |
no-host |
bin-true |
532 |
413 |
129 |
1.3 |
dash |
17 |
no-host |
bin-true |
2,304 |
1,459 |
1,106 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
818 |
563 |
268 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
817 |
608 |
223 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,809 |
9,048 |
6,158 |
27.5 |
bash |
10 |
no-host |
configure.cpython |
14,935 |
9,026 |
6,330 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,858 |
17,562 |
13,172 |
27.1 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,221 |
9,131 |
6,358 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,201 |
8,813 |
6,518 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,760 |
1,608 |
1,191 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,693 |
1,436 |
1,275 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,611 |
2,252 |
1,572 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,802 |
1,682 |
1,159 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,784 |
1,541 |
1,278 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
26 |
22 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
42 |
24 |
17 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
203 |
126 |
80 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
32 |
17 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
25 |
23 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,846 |
8,757 |
5,558 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,714 |
8,990 |
6,217 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,209 |
20,739 |
11,534 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,227 |
8,508 |
5,916 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,142 |
8,486 |
5,852 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,813 |
1,111 |
705 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,749 |
962 |
790 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,449 |
1,476 |
1,015 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,821 |
1,014 |
810 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,796 |
1,068 |
732 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
34 |
21 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,560 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,111 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,491 |
0 |
0 |
0 |
8 |
0 |
45 |
10 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,232 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
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 |
105,344 |
0 |
0 |
0 |
8 |
0 |
1,997 |
193 |
bash |
9 |
no-host |
bin-true |
65,444 |
0 |
0 |
0 |
8 |
0 |
1,978 |
31 |
dash |
17 |
no-host |
bin-true |
764,018 |
0 |
0 |
0 |
8 |
0 |
2,002 |
218 |
osh-cpython |
25 |
no-host |
bin-true |
126,122 |
0 |
0 |
0 |
16 |
0 |
1,992 |
223 |
osh-native |
33 |
no-host |
bin-true |
128,114 |
0 |
0 |
0 |
16 |
0 |
1,994 |
56 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,214,845 |
0 |
0 |
0 |
32,928 |
0 |
14,461 |
1,105 |
bash |
10 |
no-host |
configure.cpython |
2,240,585 |
0 |
0 |
0 |
32,992 |
0 |
14,662 |
1,178 |
dash |
18 |
no-host |
configure.cpython |
6,208,018 |
0 |
0 |
0 |
27,512 |
0 |
13,270 |
1,257 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,219,731 |
0 |
0 |
0 |
27,520 |
0 |
13,282 |
956 |
osh-native |
34 |
no-host |
configure.cpython |
2,210,438 |
0 |
0 |
0 |
27,520 |
0 |
13,259 |
1,078 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,900 |
0 |
0 |
0 |
5,120 |
0 |
1,945 |
168 |
bash |
12 |
no-host |
configure.ocaml |
390,446 |
0 |
0 |
0 |
5,112 |
0 |
1,881 |
146 |
dash |
20 |
no-host |
configure.ocaml |
643,834 |
0 |
0 |
0 |
5,112 |
0 |
1,866 |
183 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,387 |
0 |
0 |
0 |
5,120 |
0 |
1,919 |
163 |
osh-native |
36 |
no-host |
configure.ocaml |
412,404 |
0 |
0 |
0 |
5,120 |
0 |
1,933 |
153 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,544 |
0 |
0 |
0 |
104 |
0 |
49 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,489 |
0 |
0 |
0 |
96 |
0 |
47 |
5 |
dash |
21 |
no-host |
configure.tcc |
23,962 |
0 |
0 |
0 |
96 |
0 |
53 |
12 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,941 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,913 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,096,195 |
0 |
0 |
0 |
42,400 |
0 |
18,529 |
1,104 |
bash |
11 |
no-host |
configure.util-linux |
2,258,523 |
0 |
0 |
0 |
42,592 |
0 |
17,422 |
1,054 |
dash |
19 |
no-host |
configure.util-linux |
5,348,925 |
17 |
0 |
0 |
39,112 |
0 |
16,966 |
1,264 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,004,132 |
0 |
0 |
0 |
39,120 |
0 |
16,981 |
1,140 |
osh-native |
35 |
no-host |
configure.util-linux |
1,994,051 |
0 |
0 |
0 |
39,128 |
0 |
17,122 |
1,004 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,028 |
0 |
0 |
0 |
4,120 |
0 |
880 |
71 |
bash |
14 |
no-host |
configure.yash |
244,733 |
0 |
0 |
0 |
3,720 |
0 |
867 |
83 |
dash |
22 |
no-host |
configure.yash |
386,316 |
0 |
0 |
0 |
3,728 |
0 |
852 |
83 |
osh-cpython |
30 |
no-host |
configure.yash |
257,389 |
0 |
0 |
0 |
3,736 |
0 |
845 |
83 |
osh-native |
38 |
no-host |
configure.yash |
257,084 |
0 |
0 |
0 |
3,736 |
0 |
849 |
75 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
0 |
1 |
bash |
8 |
no-host |
hello-world |
80 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,957 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
343 |
0 |
0 |
0 |
16 |
0 |
0 |
1 |
osh-native |
32 |
no-host |
hello-world |
337 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host