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 |
20 |
10 |
481 |
23 |
22 |
23.97 |
1.15 |
bin-true |
no-host |
700 |
566 |
2,474 |
833 |
842 |
3.54 |
1.19 |
configure.cpython |
no-host |
16,057 |
16,192 |
31,576 |
16,287 |
16,354 |
1.97 |
1.01 |
configure.ocaml |
no-host |
4,021 |
3,955 |
4,981 |
4,027 |
4,055 |
1.24 |
1.00 |
configure.tcc |
no-host |
51 |
44 |
221 |
52 |
51 |
4.36 |
1.02 |
configure.util-linux |
no-host |
14,990 |
16,038 |
34,992 |
15,377 |
15,312 |
2.33 |
1.03 |
configure.yash |
no-host |
1,943 |
1,900 |
2,670 |
1,943 |
1,939 |
1.37 |
1.00 |
hello-world |
no-host |
2 |
1 |
65 |
3 |
3 |
41.13 |
1.96 |
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,538 |
1,140 |
23,807 |
3,196 |
3,107 |
9.38 |
1.26 |
bin-true |
no-host |
105,283 |
66,454 |
775,143 |
126,277 |
128,228 |
7.36 |
1.20 |
configure.cpython |
no-host |
2,219,689 |
2,239,786 |
6,230,817 |
2,218,377 |
2,207,523 |
2.81 |
1.00 |
configure.ocaml |
no-host |
410,932 |
391,294 |
648,935 |
413,013 |
412,544 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,577 |
5,490 |
24,120 |
6,980 |
6,886 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,094,090 |
2,266,831 |
5,390,194 |
2,001,871 |
1,997,754 |
2.57 |
0.96 |
configure.yash |
no-host |
256,531 |
244,538 |
388,367 |
256,972 |
257,732 |
1.51 |
1.00 |
hello-world |
no-host |
149 |
78 |
3,951 |
343 |
336 |
26.52 |
2.30 |
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,785 |
3,785 |
0 |
694 |
1,861 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
833 |
1 |
2 |
2.6 |
8.0 |
153,749 |
12,270 |
2,890 |
8,743 |
76,325 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
16,287 |
2 |
72 |
14.9 |
27.4 |
1,771,750 |
49,128 |
28,515 |
85,415 |
878,118 |
808,217 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
15,377 |
3 |
69 |
21.2 |
30.0 |
2,702,625 |
53,769 |
65,694 |
108,721 |
1,290,679 |
1,303,225 |
32,242 |
41 |
131,388 |
1 |
configure.ocaml |
no-host |
4,027 |
1 |
2 |
2.6 |
20.6 |
150,083 |
11,115 |
5,210 |
7,508 |
70,972 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
52 |
0 |
0 |
1.3 |
19.4 |
30,589 |
30,589 |
0 |
1,518 |
14,644 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,943 |
1 |
2 |
2.5 |
24.2 |
139,415 |
8,027 |
6,689 |
5,989 |
67,945 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
9.2 |
116,295 |
64,406 |
42,616 |
4,532 |
54,439 |
57,324 |
277 |
3 |
85,232 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.8 |
3,784 |
3,784 |
0 |
695 |
1,861 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
842 |
1 |
2 |
2.6 |
7.6 |
153,748 |
12,114 |
2,828 |
8,744 |
76,325 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
16,354 |
1 |
68 |
14.9 |
27.4 |
1,771,749 |
49,066 |
28,453 |
85,416 |
878,118 |
808,215 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
15,312 |
3 |
67 |
21.2 |
30.3 |
2,702,516 |
53,696 |
65,632 |
108,693 |
1,290,643 |
1,303,180 |
32,239 |
41 |
131,264 |
1 |
configure.ocaml |
no-host |
4,055 |
1 |
2 |
2.6 |
20.6 |
150,083 |
11,053 |
5,148 |
7,510 |
70,972 |
71,601 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
51 |
0 |
0 |
1.3 |
19.3 |
30,589 |
30,589 |
0 |
1,520 |
14,644 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,939 |
1 |
2 |
2.5 |
24.4 |
139,415 |
7,965 |
6,627 |
5,991 |
67,945 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
8.7 |
116,294 |
64,344 |
42,554 |
4,533 |
54,439 |
57,322 |
277 |
3 |
85,108 |
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 |
20 |
11 |
10 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
5 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
481 |
422 |
62 |
22.4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
16 |
8 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
22 |
20 |
2 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
700 |
520 |
214 |
3.0 |
bash |
9 |
no-host |
bin-true |
566 |
428 |
146 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,474 |
1,580 |
1,193 |
18.2 |
osh-cpython |
25 |
no-host |
bin-true |
833 |
573 |
272 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
842 |
575 |
279 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
16,057 |
9,620 |
6,845 |
27.5 |
bash |
10 |
no-host |
configure.cpython |
16,192 |
9,746 |
6,881 |
27.1 |
dash |
18 |
no-host |
configure.cpython |
31,576 |
18,551 |
15,087 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
16,287 |
9,509 |
7,054 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
16,354 |
9,435 |
7,057 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
4,021 |
1,767 |
1,291 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,955 |
1,719 |
1,256 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,981 |
2,344 |
1,872 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
4,027 |
1,673 |
1,395 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
4,055 |
1,692 |
1,401 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
51 |
31 |
20 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
44 |
26 |
19 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
221 |
173 |
52 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
52 |
20 |
32 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
51 |
33 |
18 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,990 |
9,244 |
6,244 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
16,038 |
9,666 |
6,883 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
34,992 |
23,366 |
12,848 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
15,377 |
9,157 |
6,412 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
15,312 |
8,992 |
6,509 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,943 |
1,142 |
809 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,900 |
1,132 |
772 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,670 |
1,622 |
1,095 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,943 |
1,150 |
798 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,939 |
1,044 |
899 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.6 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.3 |
dash |
16 |
no-host |
hello-world |
65 |
42 |
23 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,538 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,140 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,807 |
0 |
0 |
0 |
8 |
0 |
45 |
11 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,196 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,107 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,283 |
0 |
0 |
0 |
8 |
0 |
1,988 |
44 |
bash |
9 |
no-host |
bin-true |
66,454 |
0 |
0 |
0 |
8 |
0 |
1,988 |
39 |
dash |
17 |
no-host |
bin-true |
775,143 |
0 |
0 |
0 |
8 |
0 |
1,994 |
116 |
osh-cpython |
25 |
no-host |
bin-true |
126,277 |
0 |
0 |
0 |
16 |
0 |
1,980 |
58 |
osh-native |
33 |
no-host |
bin-true |
128,228 |
0 |
0 |
0 |
16 |
0 |
1,980 |
74 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,219,689 |
1 |
0 |
0 |
32,928 |
0 |
14,499 |
976 |
bash |
10 |
no-host |
configure.cpython |
2,239,786 |
0 |
0 |
0 |
32,992 |
0 |
14,554 |
1,112 |
dash |
18 |
no-host |
configure.cpython |
6,230,817 |
1 |
0 |
0 |
27,528 |
0 |
13,223 |
1,264 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,218,377 |
0 |
0 |
0 |
27,520 |
0 |
13,262 |
1,078 |
osh-native |
34 |
no-host |
configure.cpython |
2,207,523 |
0 |
0 |
0 |
27,520 |
0 |
13,247 |
839 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,932 |
0 |
0 |
0 |
5,120 |
0 |
1,956 |
166 |
bash |
12 |
no-host |
configure.ocaml |
391,294 |
0 |
0 |
0 |
5,112 |
0 |
1,913 |
148 |
dash |
20 |
no-host |
configure.ocaml |
648,935 |
0 |
0 |
0 |
5,112 |
0 |
1,847 |
187 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,013 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
163 |
osh-native |
36 |
no-host |
configure.ocaml |
412,544 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
206 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,577 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,490 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
24,120 |
0 |
0 |
0 |
96 |
0 |
51 |
10 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,980 |
0 |
0 |
0 |
104 |
0 |
46 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,886 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,094,090 |
0 |
0 |
0 |
42,400 |
0 |
18,646 |
982 |
bash |
11 |
no-host |
configure.util-linux |
2,266,831 |
2 |
0 |
0 |
42,584 |
0 |
17,554 |
1,146 |
dash |
19 |
no-host |
configure.util-linux |
5,390,194 |
15 |
0 |
0 |
39,112 |
0 |
16,974 |
1,185 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,001,871 |
0 |
0 |
0 |
39,144 |
0 |
16,979 |
961 |
osh-native |
35 |
no-host |
configure.util-linux |
1,997,754 |
1 |
0 |
0 |
39,136 |
0 |
16,896 |
867 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,531 |
0 |
0 |
0 |
4,120 |
0 |
866 |
83 |
bash |
14 |
no-host |
configure.yash |
244,538 |
0 |
0 |
0 |
3,720 |
0 |
867 |
75 |
dash |
22 |
no-host |
configure.yash |
388,367 |
0 |
0 |
0 |
3,728 |
0 |
854 |
109 |
osh-cpython |
30 |
no-host |
configure.yash |
256,972 |
0 |
0 |
0 |
3,736 |
0 |
847 |
78 |
osh-native |
38 |
no-host |
configure.yash |
257,732 |
0 |
0 |
0 |
3,736 |
0 |
844 |
95 |
osh-native-souffle |
0 |
no-host |
hello-world |
149 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
78 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,951 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
343 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
336 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host