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 |
474 |
21 |
21 |
25.32 |
1.14 |
bin-true |
no-host |
657 |
529 |
2,316 |
795 |
794 |
3.52 |
1.21 |
configure.cpython |
no-host |
14,523 |
14,465 |
28,258 |
14,787 |
14,825 |
1.95 |
1.02 |
configure.ocaml |
no-host |
3,695 |
3,665 |
4,538 |
3,711 |
3,772 |
1.23 |
1.00 |
configure.tcc |
no-host |
51 |
40 |
200 |
48 |
47 |
3.96 |
0.95 |
configure.util-linux |
no-host |
13,520 |
14,335 |
30,832 |
13,876 |
13,883 |
2.28 |
1.03 |
configure.yash |
no-host |
1,758 |
1,712 |
2,405 |
1,778 |
1,790 |
1.37 |
1.01 |
hello-world |
no-host |
1 |
1 |
55 |
3 |
3 |
38.17 |
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,551 |
1,131 |
23,901 |
3,186 |
3,086 |
9.37 |
1.25 |
bin-true |
no-host |
104,288 |
66,420 |
780,600 |
129,182 |
128,084 |
7.49 |
1.24 |
configure.cpython |
no-host |
1,994,869 |
2,017,237 |
6,033,350 |
2,006,735 |
1,992,986 |
3.02 |
1.01 |
configure.ocaml |
no-host |
373,240 |
353,804 |
610,638 |
376,451 |
375,698 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,079 |
4,999 |
23,760 |
6,522 |
6,483 |
3.91 |
1.07 |
configure.util-linux |
no-host |
1,902,955 |
2,069,952 |
5,200,659 |
1,801,788 |
1,801,176 |
2.73 |
0.95 |
configure.yash |
no-host |
232,592 |
222,190 |
366,808 |
235,739 |
235,768 |
1.58 |
1.01 |
hello-world |
no-host |
148 |
75 |
3,958 |
345 |
339 |
26.74 |
2.33 |
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.4 |
3,799 |
3,799 |
0 |
695 |
1,865 |
1,239 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
795 |
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,787 |
1 |
63 |
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,876 |
2 |
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,711 |
0 |
2 |
2.6 |
22.6 |
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.6 |
30,549 |
30,549 |
0 |
1,519 |
14,612 |
14,418 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,778 |
1 |
2 |
2.5 |
26.3 |
139,279 |
8,033 |
6,695 |
5,990 |
67,849 |
65,440 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
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.8 |
3,798 |
3,798 |
0 |
696 |
1,865 |
1,237 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
794 |
1 |
2 |
2.6 |
7.9 |
153,762 |
12,118 |
2,832 |
8,745 |
76,329 |
68,688 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,825 |
3 |
65 |
14.9 |
29.2 |
1,767,684 |
37,983 |
24,932 |
85,429 |
875,388 |
806,867 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,883 |
3 |
61 |
21.2 |
30.3 |
2,699,001 |
29,878 |
65,656 |
108,702 |
1,288,285 |
1,302,014 |
32,241 |
41 |
131,312 |
1 |
configure.ocaml |
no-host |
3,772 |
1 |
2 |
2.6 |
22.6 |
149,563 |
11,057 |
5,152 |
7,511 |
70,620 |
71,432 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.7 |
30,549 |
30,549 |
0 |
1,521 |
14,612 |
14,416 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,790 |
1 |
2 |
2.5 |
26.4 |
139,279 |
7,969 |
6,631 |
5,992 |
67,849 |
65,438 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.4 |
116,308 |
64,348 |
42,558 |
4,534 |
54,443 |
57,331 |
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 |
6 |
14 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
6 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
474 |
421 |
56 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
21 |
10 |
12 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
12 |
9 |
8.4 |
osh-native-souffle |
1 |
no-host |
bin-true |
657 |
284 |
406 |
3.0 |
bash |
9 |
no-host |
bin-true |
529 |
275 |
265 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,316 |
777 |
1,790 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
795 |
291 |
522 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
794 |
286 |
524 |
7.9 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,523 |
6,628 |
8,298 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
14,465 |
6,529 |
8,365 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
28,258 |
14,042 |
16,081 |
29.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,787 |
6,492 |
8,583 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
14,825 |
6,605 |
8,498 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,695 |
1,292 |
1,444 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,665 |
1,271 |
1,415 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,538 |
1,816 |
1,926 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,711 |
1,270 |
1,481 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,772 |
1,311 |
1,500 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
51 |
22 |
28 |
19.6 |
bash |
13 |
no-host |
configure.tcc |
40 |
17 |
24 |
19.8 |
dash |
21 |
no-host |
configure.tcc |
200 |
136 |
67 |
19.8 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
22 |
26 |
19.6 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
19 |
28 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,520 |
5,839 |
8,167 |
30.2 |
bash |
11 |
no-host |
configure.util-linux |
14,335 |
5,830 |
9,017 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
30,832 |
17,546 |
14,365 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
13,876 |
5,654 |
8,434 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
13,883 |
5,601 |
8,497 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,758 |
897 |
871 |
26.5 |
bash |
14 |
no-host |
configure.yash |
1,712 |
896 |
818 |
26.5 |
dash |
22 |
no-host |
configure.yash |
2,405 |
1,317 |
1,130 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,778 |
887 |
894 |
26.3 |
osh-native |
38 |
no-host |
configure.yash |
1,790 |
890 |
903 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
55 |
36 |
19 |
18.1 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
1 |
5.8 |
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,551 |
0 |
0 |
0 |
16 |
0 |
41 |
3 |
bash |
15 |
no-host |
abuild-print-help |
1,131 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,901 |
0 |
0 |
0 |
8 |
0 |
45 |
3 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,186 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,086 |
0 |
0 |
0 |
16 |
0 |
39 |
7 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,288 |
0 |
0 |
0 |
8 |
0 |
1,988 |
231 |
bash |
9 |
no-host |
bin-true |
66,420 |
0 |
0 |
0 |
8 |
0 |
1,973 |
70 |
dash |
17 |
no-host |
bin-true |
780,600 |
0 |
0 |
0 |
8 |
0 |
1,984 |
528 |
osh-cpython |
25 |
no-host |
bin-true |
129,182 |
0 |
0 |
0 |
16 |
0 |
1,979 |
103 |
osh-native |
33 |
no-host |
bin-true |
128,084 |
0 |
0 |
0 |
16 |
0 |
1,985 |
210 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,994,869 |
1 |
0 |
0 |
32,928 |
0 |
14,245 |
1,236 |
bash |
10 |
no-host |
configure.cpython |
2,017,237 |
0 |
0 |
0 |
32,992 |
0 |
14,330 |
1,152 |
dash |
18 |
no-host |
configure.cpython |
6,033,350 |
0 |
0 |
0 |
27,512 |
0 |
13,029 |
1,285 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,006,735 |
3 |
0 |
0 |
27,520 |
0 |
13,098 |
1,129 |
osh-native |
34 |
no-host |
configure.cpython |
1,992,986 |
0 |
0 |
0 |
27,520 |
0 |
13,062 |
1,134 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,240 |
0 |
0 |
0 |
5,120 |
0 |
1,943 |
179 |
bash |
12 |
no-host |
configure.ocaml |
353,804 |
0 |
0 |
0 |
5,112 |
0 |
1,932 |
165 |
dash |
20 |
no-host |
configure.ocaml |
610,638 |
0 |
0 |
0 |
5,112 |
0 |
1,853 |
197 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,451 |
0 |
0 |
0 |
5,120 |
0 |
1,917 |
214 |
osh-native |
36 |
no-host |
configure.ocaml |
375,698 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
211 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,079 |
0 |
0 |
0 |
104 |
0 |
53 |
4 |
bash |
13 |
no-host |
configure.tcc |
4,999 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
23,760 |
0 |
0 |
0 |
96 |
0 |
52 |
6 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,522 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,483 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,902,955 |
0 |
0 |
0 |
42,400 |
0 |
18,452 |
1,228 |
bash |
11 |
no-host |
configure.util-linux |
2,069,952 |
0 |
0 |
0 |
42,584 |
0 |
17,299 |
1,500 |
dash |
19 |
no-host |
configure.util-linux |
5,200,659 |
8 |
0 |
0 |
39,112 |
0 |
17,024 |
1,304 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,801,788 |
0 |
0 |
0 |
39,128 |
0 |
16,980 |
1,083 |
osh-native |
35 |
no-host |
configure.util-linux |
1,801,176 |
1 |
0 |
0 |
39,136 |
0 |
16,945 |
1,122 |
osh-native-souffle |
6 |
no-host |
configure.yash |
232,592 |
0 |
0 |
0 |
4,120 |
0 |
868 |
97 |
bash |
14 |
no-host |
configure.yash |
222,190 |
0 |
0 |
0 |
3,720 |
0 |
872 |
92 |
dash |
22 |
no-host |
configure.yash |
366,808 |
0 |
0 |
0 |
3,728 |
0 |
856 |
79 |
osh-cpython |
30 |
no-host |
configure.yash |
235,739 |
0 |
0 |
0 |
3,736 |
0 |
852 |
84 |
osh-native |
38 |
no-host |
configure.yash |
235,768 |
0 |
0 |
0 |
3,736 |
0 |
852 |
146 |
osh-native-souffle |
0 |
no-host |
hello-world |
148 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
75 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,958 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
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