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 |
22 |
10 |
488 |
23 |
21 |
22.42 |
1.04 |
bin-true |
no-host |
670 |
532 |
2,431 |
809 |
811 |
3.63 |
1.21 |
configure.cpython |
no-host |
15,274 |
15,361 |
30,267 |
15,478 |
15,468 |
1.98 |
1.01 |
configure.ocaml |
no-host |
3,873 |
3,813 |
4,799 |
3,893 |
3,908 |
1.24 |
1.01 |
configure.tcc |
no-host |
48 |
41 |
210 |
50 |
49 |
4.43 |
1.04 |
configure.util-linux |
no-host |
14,178 |
15,153 |
32,839 |
14,564 |
14,527 |
2.32 |
1.03 |
configure.yash |
no-host |
1,862 |
1,814 |
2,563 |
1,878 |
1,892 |
1.38 |
1.01 |
hello-world |
no-host |
2 |
1 |
61 |
4 |
3 |
38.25 |
2.28 |
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,123 |
23,985 |
3,173 |
3,082 |
9.45 |
1.25 |
bin-true |
no-host |
105,371 |
65,426 |
781,669 |
126,161 |
125,295 |
7.42 |
1.20 |
configure.cpython |
no-host |
1,995,757 |
2,025,374 |
6,053,017 |
2,005,248 |
1,989,832 |
3.03 |
1.00 |
configure.ocaml |
no-host |
373,188 |
353,757 |
611,895 |
376,255 |
375,804 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,100 |
4,980 |
23,803 |
6,483 |
6,435 |
3.90 |
1.06 |
configure.util-linux |
no-host |
1,903,835 |
2,062,192 |
5,253,238 |
1,805,562 |
1,799,374 |
2.76 |
0.95 |
configure.yash |
no-host |
233,153 |
222,315 |
366,326 |
235,356 |
235,620 |
1.57 |
1.01 |
hello-world |
no-host |
149 |
72 |
3,996 |
346 |
338 |
26.82 |
2.32 |
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 |
4 |
0 |
0 |
0.2 |
6.4 |
3,789 |
3,789 |
0 |
695 |
1,861 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
809 |
1 |
2 |
2.6 |
8.0 |
153,753 |
12,329 |
2,894 |
8,744 |
76,325 |
68,684 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,478 |
1 |
71 |
14.9 |
29.2 |
1,767,675 |
49,060 |
28,519 |
85,428 |
875,384 |
806,863 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,564 |
3 |
69 |
21.2 |
30.2 |
2,698,991 |
29,940 |
65,698 |
108,700 |
1,288,281 |
1,302,010 |
32,241 |
41 |
131,396 |
1 |
configure.ocaml |
no-host |
3,893 |
1 |
2 |
2.6 |
22.6 |
149,553 |
11,119 |
5,214 |
7,509 |
70,616 |
71,428 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.5 |
30,539 |
30,539 |
0 |
1,519 |
14,608 |
14,412 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,878 |
1 |
2 |
2.5 |
26.4 |
139,269 |
8,031 |
6,693 |
5,990 |
67,845 |
65,434 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
9.0 |
116,299 |
64,410 |
42,620 |
4,533 |
54,439 |
57,327 |
277 |
3 |
85,240 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,788 |
3,788 |
0 |
696 |
1,861 |
1,231 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
811 |
1 |
2 |
2.6 |
7.5 |
153,752 |
12,118 |
2,832 |
8,745 |
76,325 |
68,682 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,468 |
2 |
70 |
14.9 |
29.1 |
1,767,674 |
37,983 |
24,932 |
85,429 |
875,384 |
806,861 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,527 |
3 |
69 |
21.2 |
30.3 |
2,698,991 |
29,878 |
65,636 |
108,702 |
1,288,281 |
1,302,008 |
32,241 |
41 |
131,272 |
1 |
configure.ocaml |
no-host |
3,908 |
1 |
2 |
2.6 |
22.5 |
149,553 |
11,057 |
5,152 |
7,511 |
70,616 |
71,426 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.8 |
30,539 |
30,539 |
0 |
1,521 |
14,608 |
14,410 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,892 |
1 |
2 |
2.5 |
26.3 |
139,269 |
7,969 |
6,631 |
5,992 |
67,845 |
65,432 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,298 |
64,348 |
42,558 |
4,534 |
54,439 |
57,325 |
277 |
3 |
85,116 |
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 |
22 |
12 |
8 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
6 |
4 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
488 |
438 |
54 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
13 |
10 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
8 |
14 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
670 |
324 |
380 |
2.9 |
bash |
9 |
no-host |
bin-true |
532 |
274 |
270 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,431 |
843 |
1,874 |
18.3 |
osh-cpython |
25 |
no-host |
bin-true |
809 |
307 |
518 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
811 |
288 |
542 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,274 |
6,850 |
8,852 |
29.3 |
bash |
10 |
no-host |
configure.cpython |
15,361 |
6,881 |
8,941 |
29.1 |
dash |
18 |
no-host |
configure.cpython |
30,267 |
15,082 |
17,240 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,478 |
6,758 |
9,016 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
15,468 |
6,694 |
9,067 |
29.1 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,873 |
1,421 |
1,494 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,813 |
1,342 |
1,495 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,799 |
1,968 |
2,064 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,893 |
1,359 |
1,576 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,908 |
1,364 |
1,586 |
22.5 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
20 |
28 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
41 |
23 |
18 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
210 |
148 |
67 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
24 |
27 |
19.5 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
20 |
29 |
19.8 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,178 |
5,997 |
8,700 |
30.2 |
bash |
11 |
no-host |
configure.util-linux |
15,153 |
6,032 |
9,666 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
32,839 |
18,667 |
15,353 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,564 |
5,784 |
9,013 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
14,527 |
5,805 |
8,956 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,862 |
927 |
946 |
26.3 |
bash |
14 |
no-host |
configure.yash |
1,814 |
909 |
909 |
26.3 |
dash |
22 |
no-host |
configure.yash |
2,563 |
1,411 |
1,200 |
26.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,878 |
930 |
954 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,892 |
942 |
955 |
26.3 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.3 |
dash |
16 |
no-host |
hello-world |
61 |
36 |
25 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
4 |
2 |
1 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
2 |
1 |
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,538 |
0 |
0 |
0 |
16 |
0 |
42 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,123 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,985 |
0 |
0 |
0 |
8 |
0 |
45 |
8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,173 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,082 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,371 |
0 |
0 |
0 |
8 |
0 |
1,978 |
233 |
bash |
9 |
no-host |
bin-true |
65,426 |
0 |
0 |
0 |
8 |
0 |
1,972 |
80 |
dash |
17 |
no-host |
bin-true |
781,669 |
0 |
0 |
0 |
8 |
0 |
1,995 |
260 |
osh-cpython |
25 |
no-host |
bin-true |
126,161 |
0 |
0 |
0 |
16 |
0 |
1,988 |
137 |
osh-native |
33 |
no-host |
bin-true |
125,295 |
0 |
0 |
0 |
16 |
0 |
1,983 |
129 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,995,757 |
0 |
0 |
0 |
32,928 |
0 |
14,269 |
1,149 |
bash |
10 |
no-host |
configure.cpython |
2,025,374 |
0 |
0 |
0 |
32,992 |
0 |
14,420 |
1,170 |
dash |
18 |
no-host |
configure.cpython |
6,053,017 |
0 |
0 |
0 |
27,512 |
0 |
13,027 |
1,088 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,005,248 |
0 |
0 |
0 |
27,520 |
0 |
13,040 |
1,038 |
osh-native |
34 |
no-host |
configure.cpython |
1,989,832 |
0 |
0 |
0 |
27,520 |
0 |
13,001 |
999 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,188 |
0 |
0 |
0 |
5,120 |
0 |
1,950 |
195 |
bash |
12 |
no-host |
configure.ocaml |
353,757 |
0 |
0 |
0 |
5,112 |
0 |
1,934 |
168 |
dash |
20 |
no-host |
configure.ocaml |
611,895 |
0 |
0 |
0 |
5,112 |
0 |
1,859 |
212 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,255 |
0 |
0 |
0 |
5,120 |
0 |
1,921 |
213 |
osh-native |
36 |
no-host |
configure.ocaml |
375,804 |
0 |
0 |
0 |
5,120 |
0 |
1,924 |
191 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,100 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
4,980 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,803 |
0 |
0 |
0 |
96 |
0 |
53 |
5 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,483 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,435 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,903,835 |
3 |
0 |
0 |
42,408 |
0 |
18,506 |
1,268 |
bash |
11 |
no-host |
configure.util-linux |
2,062,192 |
1 |
0 |
0 |
42,592 |
0 |
17,325 |
1,256 |
dash |
19 |
no-host |
configure.util-linux |
5,253,238 |
7 |
0 |
0 |
39,136 |
0 |
17,036 |
1,369 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,805,562 |
0 |
0 |
0 |
39,120 |
0 |
16,936 |
1,203 |
osh-native |
35 |
no-host |
configure.util-linux |
1,799,374 |
2 |
0 |
0 |
39,136 |
0 |
16,958 |
1,132 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,153 |
0 |
0 |
0 |
4,120 |
0 |
870 |
91 |
bash |
14 |
no-host |
configure.yash |
222,315 |
0 |
0 |
0 |
3,720 |
0 |
871 |
93 |
dash |
22 |
no-host |
configure.yash |
366,326 |
0 |
0 |
0 |
3,728 |
0 |
852 |
82 |
osh-cpython |
30 |
no-host |
configure.yash |
235,356 |
0 |
0 |
0 |
3,736 |
0 |
847 |
88 |
osh-native |
38 |
no-host |
configure.yash |
235,620 |
0 |
0 |
0 |
3,736 |
0 |
846 |
121 |
osh-native-souffle |
0 |
no-host |
hello-world |
149 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
72 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,996 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
0 |
0 |
0 |
16 |
0 |
2 |
0 |
osh-native |
32 |
no-host |
hello-world |
338 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host