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 |
10 |
459 |
22 |
21 |
23.87 |
1.17 |
bin-true |
no-host |
679 |
542 |
2,304 |
803 |
808 |
3.39 |
1.18 |
configure.cpython |
no-host |
14,966 |
15,070 |
28,941 |
15,189 |
15,417 |
1.93 |
1.01 |
configure.ocaml |
no-host |
3,776 |
3,754 |
4,634 |
3,841 |
3,810 |
1.23 |
1.02 |
configure.tcc |
no-host |
47 |
43 |
202 |
49 |
48 |
4.28 |
1.03 |
configure.util-linux |
no-host |
13,966 |
14,844 |
31,212 |
14,516 |
14,387 |
2.23 |
1.04 |
configure.yash |
no-host |
1,813 |
1,828 |
2,455 |
1,833 |
1,815 |
1.35 |
1.01 |
hello-world |
no-host |
2 |
1 |
59 |
3 |
3 |
38.45 |
1.84 |
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,526 |
1,111 |
23,819 |
3,238 |
3,066 |
9.43 |
1.28 |
bin-true |
no-host |
109,332 |
66,422 |
774,678 |
127,217 |
126,156 |
7.09 |
1.16 |
configure.cpython |
no-host |
2,222,502 |
2,243,634 |
6,213,774 |
2,213,273 |
2,203,021 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,817 |
390,827 |
646,979 |
412,592 |
412,534 |
1.57 |
1.00 |
configure.tcc |
no-host |
6,562 |
5,490 |
24,038 |
6,982 |
6,887 |
3.66 |
1.06 |
configure.util-linux |
no-host |
2,103,294 |
2,256,472 |
5,381,876 |
1,997,807 |
1,985,787 |
2.56 |
0.95 |
configure.yash |
no-host |
255,473 |
243,962 |
388,165 |
257,778 |
257,180 |
1.52 |
1.01 |
hello-world |
no-host |
153 |
83 |
3,952 |
345 |
337 |
25.83 |
2.25 |
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,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
803 |
1 |
2 |
2.6 |
8.1 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,189 |
1 |
61 |
14.9 |
27.4 |
1,771,747 |
49,125 |
28,512 |
85,415 |
878,115 |
808,217 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,516 |
3 |
60 |
21.2 |
30.3 |
2,702,513 |
45,898 |
65,711 |
108,691 |
1,290,640 |
1,303,182 |
32,239 |
41 |
131,422 |
1 |
configure.ocaml |
no-host |
3,841 |
1 |
2 |
2.6 |
20.4 |
150,080 |
11,112 |
5,207 |
7,508 |
70,969 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.4 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,833 |
1 |
2 |
2.5 |
24.5 |
139,412 |
8,024 |
6,686 |
5,989 |
67,942 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
116,292 |
64,403 |
42,613 |
4,532 |
54,436 |
57,324 |
277 |
3 |
85,226 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
808 |
1 |
2 |
2.6 |
7.6 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,417 |
1 |
61 |
14.9 |
27.4 |
1,771,746 |
44,577 |
28,450 |
85,416 |
878,115 |
808,215 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,387 |
3 |
61 |
21.2 |
30.3 |
2,702,513 |
53,693 |
65,649 |
108,693 |
1,290,640 |
1,303,180 |
32,239 |
41 |
131,298 |
1 |
configure.ocaml |
no-host |
3,810 |
0 |
2 |
2.6 |
20.6 |
150,080 |
11,050 |
5,145 |
7,510 |
70,969 |
71,601 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.4 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,815 |
1 |
2 |
2.5 |
24.4 |
139,412 |
7,962 |
6,624 |
5,991 |
67,942 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,291 |
64,341 |
42,551 |
4,533 |
54,436 |
57,322 |
277 |
3 |
85,102 |
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 |
11 |
8 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
8 |
1 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
459 |
416 |
47 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
20 |
3 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
13 |
8 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
679 |
531 |
180 |
2.9 |
bash |
9 |
no-host |
bin-true |
542 |
420 |
133 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,304 |
1,512 |
1,051 |
18.3 |
osh-cpython |
25 |
no-host |
bin-true |
803 |
575 |
243 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
808 |
579 |
244 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,966 |
9,088 |
6,278 |
28.9 |
bash |
10 |
no-host |
configure.cpython |
15,070 |
9,119 |
6,375 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
28,941 |
17,772 |
13,041 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,189 |
8,885 |
6,574 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,417 |
8,945 |
6,619 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,776 |
1,689 |
1,127 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,754 |
1,544 |
1,227 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,634 |
2,256 |
1,588 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,841 |
1,670 |
1,211 |
20.4 |
osh-native |
36 |
no-host |
configure.ocaml |
3,810 |
1,607 |
1,241 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
23 |
25 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
43 |
17 |
27 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
202 |
146 |
59 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
26 |
23 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
37 |
12 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,966 |
8,822 |
5,623 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,844 |
9,110 |
6,229 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,212 |
20,856 |
11,434 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,516 |
8,763 |
5,952 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,387 |
8,768 |
5,813 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,813 |
1,057 |
762 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,828 |
1,096 |
735 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,455 |
1,475 |
1,021 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,833 |
1,005 |
832 |
24.5 |
osh-native |
38 |
no-host |
configure.yash |
1,815 |
1,065 |
754 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
16 |
no-host |
hello-world |
59 |
38 |
20 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
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,526 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,111 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,819 |
0 |
0 |
0 |
8 |
0 |
45 |
4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,238 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,066 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
109,332 |
0 |
0 |
0 |
8 |
0 |
1,994 |
36 |
bash |
9 |
no-host |
bin-true |
66,422 |
0 |
0 |
0 |
8 |
0 |
1,986 |
40 |
dash |
17 |
no-host |
bin-true |
774,678 |
0 |
0 |
0 |
8 |
0 |
1,999 |
88 |
osh-cpython |
25 |
no-host |
bin-true |
127,217 |
0 |
0 |
0 |
16 |
0 |
1,987 |
57 |
osh-native |
33 |
no-host |
bin-true |
126,156 |
0 |
0 |
0 |
16 |
0 |
1,997 |
88 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,222,502 |
1 |
0 |
0 |
32,928 |
0 |
14,382 |
1,198 |
bash |
10 |
no-host |
configure.cpython |
2,243,634 |
0 |
0 |
0 |
32,992 |
0 |
14,677 |
1,080 |
dash |
18 |
no-host |
configure.cpython |
6,213,774 |
0 |
0 |
0 |
27,512 |
0 |
13,273 |
1,142 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,213,273 |
0 |
0 |
0 |
27,520 |
0 |
13,231 |
1,126 |
osh-native |
34 |
no-host |
configure.cpython |
2,203,021 |
2 |
0 |
0 |
27,520 |
0 |
13,220 |
1,124 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,817 |
0 |
0 |
0 |
5,120 |
0 |
1,948 |
155 |
bash |
12 |
no-host |
configure.ocaml |
390,827 |
0 |
0 |
0 |
5,112 |
0 |
1,878 |
144 |
dash |
20 |
no-host |
configure.ocaml |
646,979 |
1 |
0 |
0 |
5,112 |
0 |
1,864 |
184 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,592 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
155 |
osh-native |
36 |
no-host |
configure.ocaml |
412,534 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
165 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,562 |
0 |
0 |
0 |
104 |
0 |
49 |
4 |
bash |
13 |
no-host |
configure.tcc |
5,490 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,038 |
0 |
0 |
0 |
96 |
0 |
53 |
11 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,982 |
0 |
0 |
0 |
104 |
0 |
47 |
6 |
osh-native |
37 |
no-host |
configure.tcc |
6,887 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,103,294 |
0 |
0 |
0 |
42,400 |
0 |
18,565 |
1,014 |
bash |
11 |
no-host |
configure.util-linux |
2,256,472 |
0 |
0 |
0 |
42,592 |
0 |
17,454 |
1,041 |
dash |
19 |
no-host |
configure.util-linux |
5,381,876 |
11 |
0 |
0 |
39,112 |
0 |
17,078 |
1,292 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,997,807 |
0 |
0 |
0 |
39,120 |
0 |
16,970 |
932 |
osh-native |
35 |
no-host |
configure.util-linux |
1,985,787 |
1 |
0 |
0 |
39,136 |
0 |
16,987 |
894 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,473 |
0 |
0 |
0 |
4,120 |
0 |
871 |
83 |
bash |
14 |
no-host |
configure.yash |
243,962 |
0 |
0 |
0 |
3,720 |
0 |
868 |
106 |
dash |
22 |
no-host |
configure.yash |
388,165 |
0 |
0 |
0 |
3,728 |
0 |
855 |
95 |
osh-cpython |
30 |
no-host |
configure.yash |
257,778 |
0 |
0 |
0 |
3,736 |
0 |
850 |
82 |
osh-native |
38 |
no-host |
configure.yash |
257,180 |
0 |
0 |
0 |
3,736 |
0 |
850 |
78 |
osh-native-souffle |
0 |
no-host |
hello-world |
153 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
83 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,952 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
337 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host