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 |
460 |
22 |
21 |
24.31 |
1.16 |
bin-true |
no-host |
676 |
538 |
2,290 |
808 |
816 |
3.39 |
1.20 |
configure.cpython |
no-host |
14,942 |
14,943 |
28,608 |
15,106 |
15,183 |
1.91 |
1.01 |
configure.ocaml |
no-host |
3,786 |
3,737 |
4,632 |
3,790 |
3,797 |
1.22 |
1.00 |
configure.tcc |
no-host |
47 |
41 |
202 |
48 |
48 |
4.29 |
1.02 |
configure.util-linux |
no-host |
13,914 |
14,757 |
31,179 |
14,269 |
14,171 |
2.24 |
1.03 |
configure.yash |
no-host |
1,813 |
1,752 |
2,453 |
1,811 |
1,811 |
1.35 |
1.00 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
38.59 |
2.20 |
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,564 |
1,141 |
23,836 |
3,176 |
3,106 |
9.30 |
1.24 |
bin-true |
no-host |
105,352 |
66,408 |
771,524 |
125,215 |
126,322 |
7.32 |
1.19 |
configure.cpython |
no-host |
2,218,298 |
2,234,342 |
6,240,751 |
2,214,396 |
2,210,497 |
2.81 |
1.00 |
configure.ocaml |
no-host |
410,773 |
391,241 |
647,668 |
413,113 |
412,242 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,555 |
5,459 |
24,131 |
6,954 |
6,918 |
3.68 |
1.06 |
configure.util-linux |
no-host |
2,107,107 |
2,261,446 |
5,403,748 |
1,997,564 |
1,992,436 |
2.56 |
0.95 |
configure.yash |
no-host |
256,461 |
244,672 |
388,365 |
258,280 |
256,810 |
1.51 |
1.01 |
hello-world |
no-host |
152 |
82 |
3,939 |
344 |
342 |
25.91 |
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.0 |
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.0 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,106 |
1 |
60 |
14.9 |
27.5 |
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,269 |
3 |
59 |
21.2 |
30.1 |
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,790 |
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 |
48 |
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,811 |
1 |
2 |
2.5 |
24.2 |
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 |
816 |
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,183 |
1 |
58 |
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,171 |
3 |
59 |
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,797 |
1 |
2 |
2.6 |
20.4 |
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,811 |
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.5 |
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 |
12 |
7 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
7 |
3 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
460 |
420 |
42 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
11 |
11 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
10 |
11 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
676 |
505 |
201 |
2.8 |
bash |
9 |
no-host |
bin-true |
538 |
405 |
143 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,290 |
1,531 |
1,018 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
808 |
597 |
229 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
816 |
578 |
251 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,942 |
9,044 |
6,283 |
27.5 |
bash |
10 |
no-host |
configure.cpython |
14,943 |
8,830 |
6,525 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
28,608 |
17,379 |
13,082 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,106 |
9,080 |
6,279 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,183 |
8,946 |
6,370 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,786 |
1,623 |
1,200 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,737 |
1,535 |
1,223 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,632 |
2,231 |
1,611 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,790 |
1,641 |
1,188 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,797 |
1,576 |
1,259 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
31 |
16 |
19.1 |
bash |
13 |
no-host |
configure.tcc |
41 |
27 |
14 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
202 |
154 |
51 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
30 |
19 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
34 |
15 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,914 |
8,660 |
5,710 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
14,757 |
9,108 |
6,134 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,179 |
20,728 |
11,527 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,269 |
8,773 |
5,680 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,171 |
8,465 |
5,894 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,813 |
1,083 |
734 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,752 |
1,024 |
732 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,453 |
1,533 |
962 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,811 |
1,052 |
761 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,811 |
1,045 |
765 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
38 |
17 |
18.1 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.0 |
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,564 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,141 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,836 |
0 |
0 |
0 |
8 |
0 |
45 |
15 |
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,106 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,352 |
0 |
0 |
0 |
8 |
0 |
1,989 |
74 |
bash |
9 |
no-host |
bin-true |
66,408 |
0 |
0 |
0 |
8 |
0 |
1,988 |
49 |
dash |
17 |
no-host |
bin-true |
771,524 |
0 |
0 |
0 |
8 |
0 |
2,000 |
143 |
osh-cpython |
25 |
no-host |
bin-true |
125,215 |
0 |
0 |
0 |
16 |
0 |
1,990 |
110 |
osh-native |
33 |
no-host |
bin-true |
126,322 |
0 |
0 |
0 |
16 |
0 |
1,992 |
78 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,218,298 |
0 |
0 |
0 |
32,928 |
0 |
14,572 |
1,153 |
bash |
10 |
no-host |
configure.cpython |
2,234,342 |
0 |
0 |
0 |
32,992 |
0 |
14,582 |
1,084 |
dash |
18 |
no-host |
configure.cpython |
6,240,751 |
0 |
0 |
0 |
27,512 |
0 |
13,244 |
1,102 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,214,396 |
0 |
0 |
0 |
27,520 |
0 |
13,271 |
1,005 |
osh-native |
34 |
no-host |
configure.cpython |
2,210,497 |
0 |
0 |
0 |
27,520 |
0 |
13,142 |
1,017 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,773 |
0 |
0 |
0 |
5,120 |
0 |
1,951 |
156 |
bash |
12 |
no-host |
configure.ocaml |
391,241 |
0 |
0 |
0 |
5,112 |
0 |
1,937 |
160 |
dash |
20 |
no-host |
configure.ocaml |
647,668 |
1 |
0 |
0 |
5,112 |
0 |
1,860 |
178 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,113 |
0 |
0 |
0 |
5,120 |
0 |
1,923 |
178 |
osh-native |
36 |
no-host |
configure.ocaml |
412,242 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
145 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,555 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,459 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,131 |
0 |
0 |
0 |
96 |
0 |
53 |
9 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,954 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,918 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,107,107 |
0 |
0 |
0 |
42,400 |
0 |
18,613 |
1,046 |
bash |
11 |
no-host |
configure.util-linux |
2,261,446 |
1 |
0 |
0 |
42,584 |
0 |
17,456 |
1,069 |
dash |
19 |
no-host |
configure.util-linux |
5,403,748 |
12 |
0 |
0 |
39,112 |
0 |
16,963 |
1,271 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,997,564 |
1 |
0 |
0 |
39,120 |
0 |
16,921 |
1,068 |
osh-native |
35 |
no-host |
configure.util-linux |
1,992,436 |
0 |
0 |
0 |
39,128 |
0 |
16,908 |
994 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,461 |
0 |
0 |
0 |
4,120 |
0 |
872 |
70 |
bash |
14 |
no-host |
configure.yash |
244,672 |
0 |
0 |
0 |
3,720 |
0 |
868 |
81 |
dash |
22 |
no-host |
configure.yash |
388,365 |
0 |
0 |
0 |
3,728 |
0 |
851 |
103 |
osh-cpython |
30 |
no-host |
configure.yash |
258,280 |
0 |
0 |
0 |
3,736 |
0 |
850 |
69 |
osh-native |
38 |
no-host |
configure.yash |
256,810 |
0 |
0 |
0 |
3,736 |
0 |
847 |
88 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
82 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,939 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
342 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host