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 |
481 |
21 |
21 |
25.66 |
1.14 |
bin-true |
no-host |
663 |
531 |
2,403 |
798 |
798 |
3.63 |
1.20 |
configure.cpython |
no-host |
14,866 |
15,107 |
29,353 |
15,157 |
15,270 |
1.97 |
1.02 |
configure.ocaml |
no-host |
3,818 |
3,740 |
4,693 |
3,824 |
3,816 |
1.23 |
1.00 |
configure.tcc |
no-host |
47 |
42 |
209 |
49 |
48 |
4.42 |
1.03 |
configure.util-linux |
no-host |
13,965 |
14,712 |
32,188 |
14,169 |
14,257 |
2.30 |
1.01 |
configure.yash |
no-host |
1,861 |
1,794 |
2,503 |
1,832 |
1,836 |
1.35 |
0.98 |
hello-world |
no-host |
1 |
1 |
60 |
3 |
3 |
44.89 |
2.14 |
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,529 |
1,124 |
24,535 |
3,190 |
3,080 |
9.70 |
1.26 |
bin-true |
no-host |
107,359 |
66,437 |
806,806 |
127,287 |
129,099 |
7.52 |
1.19 |
configure.cpython |
no-host |
2,000,387 |
2,021,680 |
6,110,435 |
2,005,698 |
2,003,379 |
3.05 |
1.00 |
configure.ocaml |
no-host |
373,484 |
353,949 |
616,332 |
376,289 |
376,447 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,062 |
5,009 |
24,103 |
6,523 |
6,469 |
3.98 |
1.08 |
configure.util-linux |
no-host |
1,915,997 |
2,071,528 |
5,307,699 |
1,815,196 |
1,805,276 |
2.77 |
0.95 |
configure.yash |
no-host |
233,889 |
222,093 |
369,855 |
235,044 |
235,105 |
1.58 |
1.00 |
hello-world |
no-host |
146 |
72 |
3,976 |
347 |
338 |
27.23 |
2.38 |
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.3 |
3,805 |
3,805 |
0 |
700 |
1,870 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
798 |
1 |
2 |
2.6 |
8.1 |
153,772 |
12,413 |
2,901 |
8,752 |
76,337 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,157 |
2 |
65 |
15.3 |
29.2 |
1,773,763 |
49,828 |
28,526 |
91,505 |
881,465 |
800,793 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,169 |
3 |
65 |
21.6 |
30.3 |
2,704,674 |
53,757 |
65,725 |
114,372 |
1,293,957 |
1,296,345 |
32,241 |
41 |
131,450 |
1 |
configure.ocaml |
no-host |
3,824 |
1 |
2 |
2.6 |
22.6 |
149,788 |
11,154 |
5,221 |
7,733 |
70,844 |
71,211 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.7 |
30,573 |
30,573 |
0 |
1,542 |
14,635 |
14,396 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,832 |
1 |
2 |
2.6 |
26.4 |
139,684 |
8,041 |
6,700 |
6,395 |
68,253 |
65,036 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
9.0 |
116,321 |
64,419 |
42,627 |
4,544 |
54,454 |
57,323 |
277 |
3 |
85,254 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.9 |
3,804 |
3,804 |
0 |
701 |
1,870 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
798 |
1 |
2 |
2.6 |
7.7 |
153,771 |
12,332 |
2,896 |
8,753 |
76,337 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,270 |
1 |
64 |
15.3 |
29.2 |
1,773,762 |
49,823 |
28,521 |
91,506 |
881,465 |
800,791 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,257 |
3 |
67 |
21.6 |
30.3 |
2,704,674 |
53,734 |
65,700 |
114,374 |
1,293,957 |
1,296,343 |
32,241 |
41 |
131,400 |
1 |
configure.ocaml |
no-host |
3,816 |
1 |
2 |
2.6 |
22.6 |
149,788 |
11,149 |
5,216 |
7,735 |
70,844 |
71,209 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.6 |
30,573 |
30,573 |
0 |
1,544 |
14,635 |
14,394 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,836 |
1 |
2 |
2.6 |
26.4 |
139,684 |
8,030 |
6,689 |
6,397 |
68,253 |
65,034 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,320 |
64,414 |
42,622 |
4,545 |
54,454 |
57,321 |
277 |
3 |
85,244 |
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 |
9 |
11 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
481 |
413 |
72 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
21 |
12 |
10 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
11 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
663 |
312 |
385 |
2.9 |
bash |
9 |
no-host |
bin-true |
531 |
284 |
260 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,403 |
817 |
1,850 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
798 |
295 |
520 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
798 |
290 |
524 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,866 |
6,736 |
8,555 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
15,107 |
6,727 |
8,820 |
29.1 |
dash |
18 |
no-host |
configure.cpython |
29,353 |
14,644 |
16,647 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,157 |
6,630 |
8,816 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
15,270 |
6,675 |
8,711 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,818 |
1,315 |
1,543 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,740 |
1,348 |
1,414 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,693 |
1,875 |
2,039 |
22.5 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,824 |
1,325 |
1,540 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,816 |
1,330 |
1,525 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
20 |
28 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
42 |
26 |
16 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
209 |
145 |
68 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
22 |
27 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
24 |
25 |
19.6 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,965 |
5,939 |
8,536 |
30.2 |
bash |
11 |
no-host |
configure.util-linux |
14,712 |
6,010 |
9,232 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
32,188 |
18,365 |
14,937 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,169 |
5,754 |
8,653 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,257 |
5,725 |
8,758 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,861 |
952 |
919 |
26.5 |
bash |
14 |
no-host |
configure.yash |
1,794 |
927 |
872 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,503 |
1,362 |
1,187 |
26.3 |
osh-cpython |
30 |
no-host |
configure.yash |
1,832 |
906 |
931 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,836 |
934 |
907 |
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 |
60 |
35 |
25 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
2 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
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,529 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,124 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,535 |
0 |
0 |
0 |
8 |
0 |
45 |
11 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,190 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,080 |
0 |
0 |
0 |
16 |
0 |
39 |
4 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,359 |
0 |
0 |
0 |
8 |
0 |
1,984 |
139 |
bash |
9 |
no-host |
bin-true |
66,437 |
0 |
0 |
0 |
8 |
0 |
1,984 |
143 |
dash |
17 |
no-host |
bin-true |
806,806 |
0 |
0 |
0 |
8 |
0 |
1,994 |
308 |
osh-cpython |
25 |
no-host |
bin-true |
127,287 |
0 |
0 |
0 |
16 |
0 |
1,979 |
174 |
osh-native |
33 |
no-host |
bin-true |
129,099 |
0 |
0 |
0 |
16 |
0 |
1,974 |
208 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,000,387 |
0 |
0 |
0 |
32,928 |
0 |
14,234 |
1,261 |
bash |
10 |
no-host |
configure.cpython |
2,021,680 |
0 |
0 |
0 |
32,992 |
0 |
14,329 |
1,158 |
dash |
18 |
no-host |
configure.cpython |
6,110,435 |
0 |
0 |
0 |
27,512 |
0 |
13,048 |
1,164 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,005,698 |
1 |
0 |
0 |
27,520 |
0 |
13,106 |
1,102 |
osh-native |
34 |
no-host |
configure.cpython |
2,003,379 |
1 |
0 |
0 |
27,520 |
0 |
13,071 |
1,040 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,484 |
0 |
0 |
0 |
5,120 |
0 |
1,946 |
180 |
bash |
12 |
no-host |
configure.ocaml |
353,949 |
0 |
0 |
0 |
5,112 |
0 |
1,925 |
159 |
dash |
20 |
no-host |
configure.ocaml |
616,332 |
1 |
0 |
0 |
5,112 |
0 |
1,848 |
168 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,289 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
218 |
osh-native |
36 |
no-host |
configure.ocaml |
376,447 |
0 |
0 |
0 |
5,120 |
0 |
1,921 |
202 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,062 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,009 |
0 |
0 |
0 |
96 |
0 |
47 |
4 |
dash |
21 |
no-host |
configure.tcc |
24,103 |
0 |
0 |
0 |
96 |
0 |
53 |
12 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,523 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,469 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,915,997 |
1 |
0 |
0 |
42,400 |
0 |
18,316 |
1,179 |
bash |
11 |
no-host |
configure.util-linux |
2,071,528 |
1 |
0 |
0 |
42,584 |
0 |
17,279 |
1,439 |
dash |
19 |
no-host |
configure.util-linux |
5,307,699 |
3 |
0 |
0 |
39,120 |
0 |
17,018 |
1,352 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,815,196 |
0 |
0 |
0 |
39,128 |
0 |
17,145 |
1,260 |
osh-native |
35 |
no-host |
configure.util-linux |
1,805,276 |
3 |
0 |
0 |
39,136 |
0 |
17,004 |
1,194 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,889 |
0 |
0 |
0 |
4,120 |
0 |
874 |
73 |
bash |
14 |
no-host |
configure.yash |
222,093 |
0 |
0 |
0 |
3,720 |
0 |
869 |
98 |
dash |
22 |
no-host |
configure.yash |
369,855 |
0 |
0 |
0 |
3,728 |
0 |
857 |
109 |
osh-cpython |
30 |
no-host |
configure.yash |
235,044 |
0 |
0 |
0 |
3,736 |
0 |
851 |
98 |
osh-native |
38 |
no-host |
configure.yash |
235,105 |
0 |
0 |
0 |
3,736 |
0 |
851 |
88 |
osh-native-souffle |
0 |
no-host |
hello-world |
146 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
72 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,976 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
347 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
338 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host