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 |
497 |
23 |
21 |
25.73 |
1.17 |
bin-true |
no-host |
687 |
551 |
2,289 |
818 |
818 |
3.33 |
1.19 |
configure.cpython |
no-host |
15,277 |
15,267 |
29,022 |
15,384 |
15,654 |
1.90 |
1.01 |
configure.ocaml |
no-host |
3,822 |
3,785 |
4,750 |
3,872 |
3,848 |
1.24 |
1.01 |
configure.tcc |
no-host |
48 |
42 |
209 |
50 |
48 |
4.33 |
1.04 |
configure.util-linux |
no-host |
14,115 |
15,073 |
32,003 |
14,630 |
14,587 |
2.27 |
1.04 |
configure.yash |
no-host |
1,850 |
1,785 |
2,531 |
1,831 |
1,839 |
1.37 |
0.99 |
hello-world |
no-host |
2 |
1 |
58 |
3 |
3 |
37.92 |
1.93 |
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,514 |
1,094 |
23,682 |
3,210 |
3,127 |
9.42 |
1.28 |
bin-true |
no-host |
107,396 |
66,450 |
776,655 |
126,270 |
127,209 |
7.23 |
1.18 |
configure.cpython |
no-host |
2,226,603 |
2,247,016 |
6,213,220 |
2,214,348 |
2,213,010 |
2.79 |
0.99 |
configure.ocaml |
no-host |
410,957 |
391,384 |
647,200 |
412,541 |
412,952 |
1.57 |
1.00 |
configure.tcc |
no-host |
6,572 |
5,476 |
24,064 |
6,978 |
6,906 |
3.66 |
1.06 |
configure.util-linux |
no-host |
2,105,964 |
2,258,156 |
5,387,742 |
1,994,928 |
1,991,400 |
2.56 |
0.95 |
configure.yash |
no-host |
256,485 |
245,146 |
389,734 |
258,509 |
257,724 |
1.52 |
1.01 |
hello-world |
no-host |
153 |
83 |
3,947 |
350 |
335 |
25.80 |
2.29 |
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 |
818 |
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,384 |
2 |
64 |
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,630 |
3 |
63 |
21.2 |
30.3 |
2,702,513 |
53,766 |
65,691 |
108,691 |
1,290,640 |
1,303,182 |
32,239 |
41 |
131,382 |
1 |
configure.ocaml |
no-host |
3,872 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,112 |
5,207 |
7,508 |
70,969 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,831 |
1 |
2 |
2.5 |
24.4 |
139,412 |
8,024 |
6,686 |
5,989 |
67,942 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
9.2 |
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.8 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
818 |
1 |
2 |
2.6 |
7.7 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,654 |
1 |
62 |
14.9 |
27.3 |
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,587 |
3 |
62 |
21.2 |
30.1 |
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,848 |
1 |
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.3 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,839 |
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 |
13 |
7 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
497 |
463 |
37 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
20 |
3 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
19 |
3 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
687 |
506 |
214 |
2.9 |
bash |
9 |
no-host |
bin-true |
551 |
417 |
144 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,289 |
1,510 |
1,042 |
18.2 |
osh-cpython |
25 |
no-host |
bin-true |
818 |
592 |
241 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
818 |
572 |
260 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,277 |
9,228 |
6,452 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,267 |
9,187 |
6,508 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,022 |
17,517 |
13,399 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,384 |
8,909 |
6,747 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,654 |
9,090 |
6,645 |
27.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,822 |
1,628 |
1,234 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,785 |
1,620 |
1,182 |
20.4 |
dash |
20 |
no-host |
configure.ocaml |
4,750 |
2,274 |
1,693 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,872 |
1,645 |
1,267 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,848 |
1,709 |
1,178 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
22 |
26 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
42 |
23 |
19 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
209 |
156 |
57 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
32 |
19 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
23 |
25 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,115 |
8,883 |
5,714 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
15,073 |
9,032 |
6,536 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
32,003 |
21,114 |
12,002 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,630 |
8,675 |
6,131 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,587 |
8,839 |
5,927 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,850 |
1,115 |
731 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,785 |
1,028 |
760 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,531 |
1,607 |
968 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,831 |
1,124 |
711 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,839 |
1,065 |
777 |
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 |
58 |
39 |
19 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
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,514 |
0 |
0 |
0 |
16 |
0 |
41 |
4 |
bash |
15 |
no-host |
abuild-print-help |
1,094 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,682 |
0 |
0 |
0 |
8 |
0 |
45 |
8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,210 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,127 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,396 |
0 |
0 |
0 |
8 |
0 |
1,992 |
99 |
bash |
9 |
no-host |
bin-true |
66,450 |
0 |
0 |
0 |
8 |
0 |
1,987 |
77 |
dash |
17 |
no-host |
bin-true |
776,655 |
0 |
0 |
0 |
8 |
0 |
1,997 |
120 |
osh-cpython |
25 |
no-host |
bin-true |
126,270 |
0 |
0 |
0 |
16 |
0 |
1,987 |
55 |
osh-native |
33 |
no-host |
bin-true |
127,209 |
0 |
0 |
0 |
16 |
0 |
1,989 |
77 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,226,603 |
0 |
0 |
0 |
32,928 |
0 |
14,503 |
1,038 |
bash |
10 |
no-host |
configure.cpython |
2,247,016 |
0 |
0 |
0 |
32,992 |
0 |
14,567 |
1,029 |
dash |
18 |
no-host |
configure.cpython |
6,213,220 |
0 |
0 |
0 |
27,512 |
0 |
13,285 |
1,138 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,214,348 |
1 |
0 |
0 |
27,520 |
0 |
13,253 |
872 |
osh-native |
34 |
no-host |
configure.cpython |
2,213,010 |
0 |
0 |
0 |
27,520 |
0 |
13,244 |
1,108 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,957 |
0 |
0 |
0 |
5,120 |
0 |
1,945 |
157 |
bash |
12 |
no-host |
configure.ocaml |
391,384 |
0 |
0 |
0 |
5,112 |
0 |
1,888 |
223 |
dash |
20 |
no-host |
configure.ocaml |
647,200 |
1 |
0 |
0 |
5,112 |
0 |
1,857 |
180 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,541 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
165 |
osh-native |
36 |
no-host |
configure.ocaml |
412,952 |
0 |
0 |
0 |
5,120 |
0 |
1,932 |
141 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,572 |
0 |
0 |
0 |
104 |
0 |
48 |
12 |
bash |
13 |
no-host |
configure.tcc |
5,476 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,064 |
0 |
0 |
0 |
96 |
0 |
53 |
3 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,978 |
0 |
0 |
0 |
104 |
0 |
47 |
5 |
osh-native |
37 |
no-host |
configure.tcc |
6,906 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,105,964 |
1 |
0 |
0 |
42,408 |
0 |
18,506 |
1,011 |
bash |
11 |
no-host |
configure.util-linux |
2,258,156 |
0 |
0 |
0 |
42,592 |
0 |
17,431 |
1,069 |
dash |
19 |
no-host |
configure.util-linux |
5,387,742 |
5 |
0 |
0 |
39,112 |
0 |
16,956 |
1,430 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,994,928 |
0 |
0 |
0 |
39,120 |
0 |
16,924 |
1,086 |
osh-native |
35 |
no-host |
configure.util-linux |
1,991,400 |
0 |
0 |
0 |
39,136 |
0 |
16,965 |
1,010 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,485 |
0 |
0 |
0 |
4,120 |
0 |
871 |
85 |
bash |
14 |
no-host |
configure.yash |
245,146 |
0 |
0 |
0 |
3,720 |
0 |
871 |
96 |
dash |
22 |
no-host |
configure.yash |
389,734 |
0 |
0 |
0 |
3,728 |
0 |
853 |
93 |
osh-cpython |
30 |
no-host |
configure.yash |
258,509 |
0 |
0 |
0 |
3,736 |
0 |
848 |
70 |
osh-native |
38 |
no-host |
configure.yash |
257,724 |
0 |
0 |
0 |
3,736 |
0 |
850 |
84 |
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,947 |
0 |
0 |
0 |
8 |
0 |
7 |
6 |
osh-cpython |
24 |
no-host |
hello-world |
350 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
335 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host