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 |
461 |
24 |
21 |
24.76 |
1.30 |
bin-true |
no-host |
648 |
522 |
2,280 |
796 |
787 |
3.52 |
1.23 |
configure.cpython |
no-host |
14,506 |
14,558 |
28,044 |
14,762 |
14,650 |
1.93 |
1.02 |
configure.ocaml |
no-host |
3,710 |
3,646 |
4,627 |
3,734 |
3,735 |
1.25 |
1.01 |
configure.tcc |
no-host |
46 |
40 |
204 |
48 |
47 |
4.43 |
1.04 |
configure.util-linux |
no-host |
13,533 |
14,319 |
30,671 |
13,813 |
13,793 |
2.27 |
1.02 |
configure.yash |
no-host |
1,773 |
1,710 |
2,417 |
1,776 |
1,776 |
1.36 |
1.00 |
hello-world |
no-host |
1 |
1 |
57 |
3 |
3 |
44.83 |
2.17 |
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,567 |
1,076 |
23,933 |
3,211 |
3,138 |
9.32 |
1.25 |
bin-true |
no-host |
106,340 |
65,456 |
779,167 |
128,194 |
128,212 |
7.33 |
1.21 |
configure.cpython |
no-host |
1,993,756 |
2,024,654 |
6,034,094 |
2,010,302 |
1,990,965 |
3.03 |
1.01 |
configure.ocaml |
no-host |
373,482 |
354,057 |
611,985 |
376,224 |
375,901 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,084 |
5,009 |
23,783 |
6,511 |
6,441 |
3.91 |
1.07 |
configure.util-linux |
no-host |
1,906,777 |
2,071,861 |
5,208,470 |
1,800,501 |
1,798,002 |
2.73 |
0.94 |
configure.yash |
no-host |
233,771 |
221,725 |
367,747 |
235,666 |
235,430 |
1.57 |
1.01 |
hello-world |
no-host |
148 |
74 |
3,968 |
342 |
339 |
26.81 |
2.31 |
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,799 |
3,799 |
0 |
695 |
1,865 |
1,239 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
796 |
1 |
2 |
2.6 |
8.0 |
153,763 |
12,331 |
2,896 |
8,744 |
76,329 |
68,690 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,762 |
1 |
64 |
14.9 |
29.2 |
1,767,685 |
49,062 |
28,521 |
85,428 |
875,388 |
806,869 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,813 |
3 |
62 |
21.2 |
30.3 |
2,699,001 |
29,942 |
65,720 |
108,700 |
1,288,285 |
1,302,016 |
32,241 |
41 |
131,440 |
1 |
configure.ocaml |
no-host |
3,734 |
1 |
2 |
2.6 |
22.5 |
149,563 |
11,121 |
5,216 |
7,509 |
70,620 |
71,434 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.5 |
30,549 |
30,549 |
0 |
1,519 |
14,612 |
14,418 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,776 |
1 |
2 |
2.5 |
26.2 |
139,279 |
8,033 |
6,695 |
5,990 |
67,849 |
65,440 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
24 |
1 |
3 |
2.8 |
9.2 |
116,309 |
64,412 |
42,622 |
4,533 |
54,443 |
57,333 |
277 |
3 |
85,244 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,798 |
3,798 |
0 |
696 |
1,865 |
1,237 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
787 |
1 |
2 |
2.6 |
7.7 |
153,762 |
12,281 |
2,846 |
8,745 |
76,329 |
68,688 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,650 |
2 |
64 |
14.9 |
29.2 |
1,767,684 |
37,997 |
24,946 |
85,429 |
875,388 |
806,867 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,793 |
3 |
61 |
21.2 |
30.3 |
2,699,001 |
29,892 |
65,670 |
108,702 |
1,288,285 |
1,302,014 |
32,241 |
41 |
131,340 |
1 |
configure.ocaml |
no-host |
3,735 |
1 |
2 |
2.6 |
22.6 |
149,563 |
11,071 |
5,166 |
7,511 |
70,620 |
71,432 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.6 |
30,549 |
30,549 |
0 |
1,521 |
14,612 |
14,416 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,776 |
1 |
2 |
2.5 |
26.3 |
139,279 |
7,983 |
6,645 |
5,992 |
67,849 |
65,438 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.8 |
116,308 |
64,362 |
42,572 |
4,534 |
54,443 |
57,331 |
277 |
3 |
85,144 |
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.4 |
dash |
23 |
no-host |
abuild-print-help |
461 |
409 |
55 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
24 |
11 |
14 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
12 |
9 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
648 |
316 |
366 |
2.9 |
bash |
9 |
no-host |
bin-true |
522 |
284 |
251 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,280 |
788 |
1,742 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
796 |
301 |
509 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
787 |
303 |
499 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,506 |
6,616 |
8,267 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
14,558 |
6,521 |
8,464 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
28,044 |
13,913 |
15,992 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,762 |
6,425 |
8,581 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
14,650 |
6,428 |
8,469 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,710 |
1,292 |
1,461 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,646 |
1,238 |
1,430 |
22.8 |
dash |
20 |
no-host |
configure.ocaml |
4,627 |
1,863 |
1,947 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,734 |
1,267 |
1,509 |
22.5 |
osh-native |
36 |
no-host |
configure.ocaml |
3,735 |
1,295 |
1,480 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
22 |
25 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
40 |
20 |
20 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
204 |
141 |
68 |
19.5 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
21 |
28 |
19.5 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
22 |
26 |
19.6 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,533 |
5,806 |
8,210 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,319 |
5,760 |
9,037 |
30.5 |
dash |
19 |
no-host |
configure.util-linux |
30,671 |
17,452 |
14,281 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
13,813 |
5,554 |
8,469 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
13,793 |
5,669 |
8,309 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,773 |
900 |
883 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,710 |
888 |
826 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,417 |
1,316 |
1,142 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,776 |
914 |
867 |
26.2 |
osh-native |
38 |
no-host |
configure.yash |
1,776 |
868 |
913 |
26.3 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.3 |
dash |
16 |
no-host |
hello-world |
57 |
38 |
19 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
2 |
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,567 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,076 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,933 |
0 |
0 |
0 |
8 |
0 |
45 |
5 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,211 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,138 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,340 |
0 |
0 |
0 |
8 |
0 |
1,981 |
170 |
bash |
9 |
no-host |
bin-true |
65,456 |
0 |
0 |
0 |
8 |
0 |
1,984 |
102 |
dash |
17 |
no-host |
bin-true |
779,167 |
0 |
0 |
0 |
8 |
0 |
1,980 |
220 |
osh-cpython |
25 |
no-host |
bin-true |
128,194 |
0 |
0 |
0 |
16 |
0 |
1,987 |
277 |
osh-native |
33 |
no-host |
bin-true |
128,212 |
0 |
0 |
0 |
16 |
0 |
1,980 |
182 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,993,756 |
0 |
0 |
0 |
32,928 |
0 |
14,209 |
1,267 |
bash |
10 |
no-host |
configure.cpython |
2,024,654 |
0 |
0 |
0 |
32,992 |
0 |
14,340 |
1,361 |
dash |
18 |
no-host |
configure.cpython |
6,034,094 |
0 |
0 |
0 |
27,512 |
0 |
13,030 |
1,223 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,010,302 |
0 |
0 |
0 |
27,520 |
0 |
13,059 |
1,321 |
osh-native |
34 |
no-host |
configure.cpython |
1,990,965 |
0 |
0 |
0 |
27,520 |
0 |
13,051 |
1,197 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,482 |
0 |
0 |
0 |
5,120 |
0 |
1,953 |
204 |
bash |
12 |
no-host |
configure.ocaml |
354,057 |
0 |
0 |
0 |
5,112 |
0 |
1,942 |
196 |
dash |
20 |
no-host |
configure.ocaml |
611,985 |
1 |
0 |
0 |
5,112 |
0 |
1,869 |
202 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,224 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
210 |
osh-native |
36 |
no-host |
configure.ocaml |
375,901 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
215 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,084 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,009 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
23,783 |
0 |
0 |
0 |
96 |
0 |
53 |
5 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,511 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,441 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,906,777 |
0 |
0 |
0 |
42,400 |
0 |
18,507 |
1,178 |
bash |
11 |
no-host |
configure.util-linux |
2,071,861 |
1 |
0 |
0 |
42,584 |
0 |
17,274 |
1,454 |
dash |
19 |
no-host |
configure.util-linux |
5,208,470 |
9 |
0 |
0 |
39,112 |
0 |
17,005 |
1,344 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,800,501 |
0 |
0 |
0 |
39,120 |
0 |
16,991 |
1,285 |
osh-native |
35 |
no-host |
configure.util-linux |
1,798,002 |
1 |
0 |
0 |
39,128 |
0 |
16,968 |
1,157 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,771 |
0 |
0 |
0 |
4,120 |
0 |
870 |
93 |
bash |
14 |
no-host |
configure.yash |
221,725 |
0 |
0 |
0 |
3,720 |
0 |
864 |
104 |
dash |
22 |
no-host |
configure.yash |
367,747 |
0 |
0 |
0 |
3,728 |
0 |
854 |
120 |
osh-cpython |
30 |
no-host |
configure.yash |
235,666 |
0 |
0 |
0 |
3,736 |
0 |
850 |
116 |
osh-native |
38 |
no-host |
configure.yash |
235,430 |
0 |
0 |
0 |
3,736 |
0 |
846 |
94 |
osh-native-souffle |
0 |
no-host |
hello-world |
148 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
74 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,968 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
339 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host