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 |
463 |
22 |
21 |
24.46 |
1.16 |
bin-true |
no-host |
673 |
536 |
2,276 |
808 |
815 |
3.38 |
1.20 |
configure.cpython |
no-host |
15,099 |
15,144 |
29,018 |
15,346 |
15,524 |
1.92 |
1.02 |
configure.ocaml |
no-host |
3,849 |
3,765 |
4,672 |
3,832 |
3,843 |
1.21 |
1.00 |
configure.tcc |
no-host |
48 |
42 |
204 |
49 |
49 |
4.23 |
1.01 |
configure.util-linux |
no-host |
14,137 |
15,010 |
31,912 |
14,404 |
14,454 |
2.26 |
1.02 |
configure.yash |
no-host |
1,823 |
1,792 |
2,484 |
1,830 |
1,836 |
1.36 |
1.00 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
37.19 |
1.86 |
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,575 |
1,105 |
23,652 |
3,176 |
3,083 |
9.19 |
1.23 |
bin-true |
no-host |
106,401 |
65,453 |
774,697 |
126,239 |
126,286 |
7.28 |
1.19 |
configure.cpython |
no-host |
2,226,507 |
2,237,289 |
6,205,051 |
2,213,447 |
2,207,861 |
2.79 |
0.99 |
configure.ocaml |
no-host |
410,225 |
391,562 |
647,311 |
413,241 |
412,445 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,567 |
5,478 |
24,083 |
6,965 |
6,901 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,104,412 |
2,259,458 |
5,383,144 |
1,994,697 |
1,986,951 |
2.56 |
0.95 |
configure.yash |
no-host |
256,402 |
244,613 |
388,145 |
258,577 |
258,021 |
1.51 |
1.01 |
hello-world |
no-host |
152 |
81 |
3,942 |
344 |
338 |
25.93 |
2.26 |
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 |
808 |
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,346 |
1 |
63 |
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,404 |
3 |
61 |
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,832 |
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 |
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,830 |
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 |
22 |
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.9 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
815 |
1 |
2 |
2.6 |
7.5 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,524 |
1 |
63 |
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,454 |
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,843 |
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 |
49 |
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,836 |
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 |
14 |
5 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
463 |
418 |
49 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
17 |
6 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
13 |
8 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
673 |
501 |
203 |
2.9 |
bash |
9 |
no-host |
bin-true |
536 |
403 |
143 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,276 |
1,536 |
1,002 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
808 |
608 |
217 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
815 |
568 |
260 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,099 |
9,130 |
6,378 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,144 |
9,183 |
6,378 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,018 |
17,913 |
13,002 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,346 |
9,064 |
6,549 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,524 |
9,103 |
6,549 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,849 |
1,664 |
1,207 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,765 |
1,568 |
1,212 |
20.4 |
dash |
20 |
no-host |
configure.ocaml |
4,672 |
2,304 |
1,579 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,832 |
1,672 |
1,199 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,843 |
1,630 |
1,245 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
27 |
21 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
42 |
27 |
15 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
204 |
162 |
45 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
37 |
12 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
31 |
19 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,137 |
8,983 |
5,641 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
15,010 |
9,113 |
6,380 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,912 |
21,195 |
11,829 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,404 |
8,626 |
5,956 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,454 |
8,654 |
5,998 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,823 |
1,044 |
787 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,792 |
1,095 |
701 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,484 |
1,540 |
985 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,830 |
1,086 |
747 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,836 |
1,081 |
754 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
2 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
24 |
31 |
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,575 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,105 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,652 |
0 |
0 |
0 |
8 |
0 |
45 |
8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,176 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,083 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,401 |
0 |
0 |
0 |
8 |
0 |
1,992 |
42 |
bash |
9 |
no-host |
bin-true |
65,453 |
0 |
0 |
0 |
8 |
0 |
1,987 |
43 |
dash |
17 |
no-host |
bin-true |
774,697 |
0 |
0 |
0 |
8 |
0 |
1,996 |
132 |
osh-cpython |
25 |
no-host |
bin-true |
126,239 |
0 |
0 |
0 |
16 |
0 |
1,989 |
70 |
osh-native |
33 |
no-host |
bin-true |
126,286 |
0 |
0 |
0 |
16 |
0 |
1,988 |
88 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,226,507 |
0 |
0 |
0 |
32,928 |
0 |
14,544 |
1,148 |
bash |
10 |
no-host |
configure.cpython |
2,237,289 |
0 |
0 |
0 |
32,992 |
0 |
14,644 |
946 |
dash |
18 |
no-host |
configure.cpython |
6,205,051 |
0 |
0 |
0 |
27,512 |
0 |
13,248 |
1,143 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,213,447 |
0 |
0 |
0 |
27,520 |
0 |
13,260 |
1,032 |
osh-native |
34 |
no-host |
configure.cpython |
2,207,861 |
0 |
0 |
0 |
27,520 |
0 |
13,183 |
1,056 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,225 |
0 |
0 |
0 |
5,120 |
0 |
1,962 |
151 |
bash |
12 |
no-host |
configure.ocaml |
391,562 |
0 |
0 |
0 |
5,112 |
0 |
1,945 |
142 |
dash |
20 |
no-host |
configure.ocaml |
647,311 |
0 |
0 |
0 |
5,112 |
0 |
1,850 |
163 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,241 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
173 |
osh-native |
36 |
no-host |
configure.ocaml |
412,445 |
0 |
0 |
0 |
5,120 |
0 |
1,935 |
166 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,567 |
0 |
0 |
0 |
104 |
0 |
49 |
4 |
bash |
13 |
no-host |
configure.tcc |
5,478 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
24,083 |
0 |
0 |
0 |
96 |
0 |
53 |
9 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,965 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,901 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,104,412 |
2 |
0 |
0 |
42,400 |
0 |
18,637 |
971 |
bash |
11 |
no-host |
configure.util-linux |
2,259,458 |
0 |
0 |
0 |
42,584 |
0 |
17,527 |
1,127 |
dash |
19 |
no-host |
configure.util-linux |
5,383,144 |
15 |
0 |
0 |
39,120 |
0 |
16,960 |
1,153 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,994,697 |
0 |
0 |
0 |
39,128 |
0 |
17,003 |
895 |
osh-native |
35 |
no-host |
configure.util-linux |
1,986,951 |
1 |
0 |
0 |
39,136 |
0 |
16,954 |
908 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,402 |
0 |
0 |
0 |
4,120 |
0 |
867 |
95 |
bash |
14 |
no-host |
configure.yash |
244,613 |
0 |
0 |
0 |
3,720 |
0 |
872 |
81 |
dash |
22 |
no-host |
configure.yash |
388,145 |
0 |
0 |
0 |
3,728 |
0 |
854 |
99 |
osh-cpython |
30 |
no-host |
configure.yash |
258,577 |
0 |
0 |
0 |
3,736 |
0 |
847 |
101 |
osh-native |
38 |
no-host |
configure.yash |
258,021 |
0 |
0 |
0 |
3,736 |
0 |
850 |
85 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
81 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,942 |
0 |
0 |
0 |
8 |
0 |
7 |
7 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
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