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 |
24.22 |
1.17 |
bin-true |
no-host |
682 |
541 |
2,296 |
812 |
803 |
3.37 |
1.19 |
configure.cpython |
no-host |
14,853 |
14,831 |
28,386 |
15,047 |
15,178 |
1.91 |
1.01 |
configure.ocaml |
no-host |
3,769 |
3,693 |
4,626 |
3,772 |
3,787 |
1.23 |
1.00 |
configure.tcc |
no-host |
47 |
41 |
202 |
48 |
48 |
4.26 |
1.02 |
configure.util-linux |
no-host |
13,856 |
14,713 |
30,978 |
14,216 |
14,133 |
2.24 |
1.03 |
configure.yash |
no-host |
1,805 |
1,748 |
2,429 |
1,802 |
1,805 |
1.35 |
1.00 |
hello-world |
no-host |
2 |
1 |
56 |
3 |
3 |
35.21 |
1.77 |
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,518 |
1,105 |
23,664 |
3,225 |
3,101 |
9.40 |
1.28 |
bin-true |
no-host |
108,359 |
66,436 |
773,671 |
127,217 |
125,299 |
7.14 |
1.17 |
configure.cpython |
no-host |
2,229,785 |
2,238,471 |
6,212,166 |
2,218,404 |
2,199,577 |
2.79 |
0.99 |
configure.ocaml |
no-host |
410,640 |
391,212 |
647,596 |
412,721 |
412,210 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,549 |
5,498 |
24,061 |
6,969 |
6,931 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,102,873 |
2,261,738 |
5,388,425 |
2,000,094 |
1,993,339 |
2.56 |
0.95 |
configure.yash |
no-host |
257,001 |
244,947 |
388,580 |
257,893 |
256,943 |
1.51 |
1.00 |
hello-world |
no-host |
151 |
82 |
3,949 |
342 |
335 |
26.15 |
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 |
812 |
1 |
2 |
2.6 |
8.3 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,047 |
1 |
59 |
14.9 |
27.3 |
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,216 |
2 |
58 |
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,772 |
0 |
2 |
2.6 |
20.7 |
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.4 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,802 |
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.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 |
803 |
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,178 |
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,133 |
2 |
58 |
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,787 |
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,805 |
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 |
17 |
3 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
4 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
459 |
421 |
41 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
12 |
11 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
19 |
2 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
682 |
506 |
205 |
2.9 |
bash |
9 |
no-host |
bin-true |
541 |
423 |
125 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,296 |
1,524 |
1,029 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
812 |
582 |
245 |
8.3 |
osh-native |
33 |
no-host |
bin-true |
803 |
584 |
235 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,853 |
9,207 |
6,043 |
27.3 |
bash |
10 |
no-host |
configure.cpython |
14,831 |
9,032 |
6,219 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,386 |
16,719 |
13,511 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,047 |
8,950 |
6,369 |
27.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,178 |
9,010 |
6,273 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,769 |
1,664 |
1,144 |
20.4 |
bash |
12 |
no-host |
configure.ocaml |
3,693 |
1,524 |
1,187 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,626 |
2,219 |
1,617 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,772 |
1,594 |
1,218 |
20.7 |
osh-native |
36 |
no-host |
configure.ocaml |
3,787 |
1,602 |
1,222 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
23 |
25 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
41 |
29 |
13 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
202 |
137 |
68 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
36 |
13 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
18 |
31 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,856 |
8,722 |
5,608 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,713 |
8,953 |
6,250 |
30.0 |
dash |
19 |
no-host |
configure.util-linux |
30,978 |
20,622 |
11,438 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,216 |
8,730 |
5,703 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,133 |
8,645 |
5,686 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,805 |
1,021 |
787 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,748 |
1,026 |
725 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,429 |
1,475 |
994 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,802 |
1,013 |
793 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,805 |
1,054 |
754 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
47 |
9 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,518 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,105 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,664 |
0 |
0 |
0 |
8 |
0 |
45 |
14 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,225 |
0 |
0 |
0 |
16 |
0 |
39 |
4 |
osh-native |
39 |
no-host |
abuild-print-help |
3,101 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native-souffle |
1 |
no-host |
bin-true |
108,359 |
0 |
0 |
0 |
8 |
0 |
1,996 |
82 |
bash |
9 |
no-host |
bin-true |
66,436 |
0 |
0 |
0 |
8 |
0 |
1,992 |
29 |
dash |
17 |
no-host |
bin-true |
773,671 |
0 |
0 |
0 |
8 |
0 |
1,994 |
250 |
osh-cpython |
25 |
no-host |
bin-true |
127,217 |
0 |
0 |
0 |
16 |
0 |
1,992 |
106 |
osh-native |
33 |
no-host |
bin-true |
125,299 |
0 |
0 |
0 |
16 |
0 |
1,986 |
135 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,229,785 |
0 |
0 |
0 |
32,928 |
0 |
14,425 |
1,232 |
bash |
10 |
no-host |
configure.cpython |
2,238,471 |
0 |
0 |
0 |
32,992 |
0 |
14,627 |
1,113 |
dash |
18 |
no-host |
configure.cpython |
6,212,166 |
1 |
0 |
0 |
27,512 |
0 |
13,298 |
1,092 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,218,404 |
0 |
0 |
0 |
27,520 |
0 |
13,267 |
986 |
osh-native |
34 |
no-host |
configure.cpython |
2,199,577 |
0 |
0 |
0 |
27,520 |
0 |
13,226 |
1,097 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,640 |
0 |
0 |
0 |
5,120 |
0 |
1,947 |
148 |
bash |
12 |
no-host |
configure.ocaml |
391,212 |
0 |
0 |
0 |
5,112 |
0 |
1,877 |
158 |
dash |
20 |
no-host |
configure.ocaml |
647,596 |
1 |
0 |
0 |
5,112 |
0 |
1,858 |
176 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,721 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
174 |
osh-native |
36 |
no-host |
configure.ocaml |
412,210 |
0 |
0 |
0 |
5,120 |
0 |
1,930 |
164 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,549 |
0 |
0 |
0 |
104 |
0 |
49 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,498 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
24,061 |
0 |
0 |
0 |
96 |
0 |
52 |
9 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,969 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,931 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,102,873 |
1 |
0 |
0 |
42,400 |
0 |
18,729 |
1,045 |
bash |
11 |
no-host |
configure.util-linux |
2,261,738 |
0 |
0 |
0 |
42,592 |
0 |
17,439 |
1,032 |
dash |
19 |
no-host |
configure.util-linux |
5,388,425 |
8 |
0 |
0 |
39,112 |
0 |
16,975 |
1,108 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,000,094 |
1 |
0 |
0 |
39,120 |
0 |
17,055 |
965 |
osh-native |
35 |
no-host |
configure.util-linux |
1,993,339 |
1 |
0 |
0 |
39,136 |
0 |
16,990 |
971 |
osh-native-souffle |
6 |
no-host |
configure.yash |
257,001 |
0 |
0 |
0 |
4,120 |
0 |
880 |
69 |
bash |
14 |
no-host |
configure.yash |
244,947 |
0 |
0 |
0 |
3,720 |
0 |
866 |
74 |
dash |
22 |
no-host |
configure.yash |
388,580 |
0 |
0 |
0 |
3,728 |
0 |
852 |
85 |
osh-cpython |
30 |
no-host |
configure.yash |
257,893 |
0 |
0 |
0 |
3,736 |
0 |
849 |
82 |
osh-native |
38 |
no-host |
configure.yash |
256,943 |
0 |
0 |
0 |
3,736 |
0 |
849 |
90 |
osh-native-souffle |
0 |
no-host |
hello-world |
151 |
0 |
0 |
0 |
8 |
0 |
0 |
1 |
bash |
8 |
no-host |
hello-world |
82 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,949 |
0 |
0 |
0 |
8 |
0 |
7 |
7 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
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