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 |
479 |
23 |
23 |
24.78 |
1.18 |
bin-true |
no-host |
669 |
533 |
2,344 |
807 |
809 |
3.51 |
1.21 |
configure.cpython |
no-host |
15,202 |
15,223 |
29,391 |
15,309 |
15,472 |
1.93 |
1.01 |
configure.ocaml |
no-host |
3,848 |
3,788 |
4,703 |
3,905 |
3,839 |
1.22 |
1.01 |
configure.tcc |
no-host |
48 |
42 |
208 |
51 |
49 |
4.30 |
1.05 |
configure.util-linux |
no-host |
14,072 |
15,081 |
32,310 |
14,333 |
14,364 |
2.30 |
1.02 |
configure.yash |
no-host |
1,834 |
1,811 |
2,541 |
1,903 |
1,840 |
1.39 |
1.04 |
hello-world |
no-host |
1 |
1 |
57 |
3 |
3 |
41.39 |
2.10 |
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,551 |
1,091 |
23,950 |
3,187 |
3,085 |
9.39 |
1.25 |
bin-true |
no-host |
105,373 |
65,383 |
781,639 |
124,239 |
125,275 |
7.42 |
1.18 |
configure.cpython |
no-host |
2,001,151 |
2,020,256 |
6,056,356 |
1,999,092 |
1,988,940 |
3.03 |
1.00 |
configure.ocaml |
no-host |
373,070 |
353,497 |
611,115 |
375,602 |
375,359 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,077 |
5,001 |
23,763 |
6,490 |
6,427 |
3.91 |
1.07 |
configure.util-linux |
no-host |
1,910,548 |
2,069,399 |
5,235,897 |
1,806,112 |
1,801,524 |
2.74 |
0.95 |
configure.yash |
no-host |
233,723 |
221,776 |
367,156 |
234,716 |
235,151 |
1.57 |
1.00 |
hello-world |
no-host |
149 |
76 |
3,968 |
342 |
337 |
26.63 |
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.4 |
3,789 |
3,789 |
0 |
695 |
1,861 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
807 |
1 |
2 |
2.6 |
8.1 |
153,753 |
12,329 |
2,894 |
8,744 |
76,325 |
68,684 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,309 |
2 |
70 |
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,333 |
3 |
68 |
21.2 |
30.3 |
2,698,991 |
29,940 |
65,718 |
108,700 |
1,288,281 |
1,302,010 |
32,241 |
41 |
131,436 |
1 |
configure.ocaml |
no-host |
3,905 |
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 |
51 |
0 |
0 |
1.3 |
19.6 |
30,539 |
30,539 |
0 |
1,519 |
14,608 |
14,412 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,903 |
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.8 |
3,788 |
3,788 |
0 |
696 |
1,861 |
1,231 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
809 |
1 |
2 |
2.6 |
7.6 |
153,752 |
12,118 |
2,832 |
8,745 |
76,325 |
68,682 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,472 |
2 |
74 |
14.9 |
29.0 |
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,364 |
3 |
68 |
21.2 |
30.2 |
2,698,991 |
29,878 |
65,656 |
108,702 |
1,288,281 |
1,302,008 |
32,241 |
41 |
131,312 |
1 |
configure.ocaml |
no-host |
3,839 |
1 |
2 |
2.6 |
22.6 |
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,840 |
1 |
2 |
2.5 |
26.4 |
139,269 |
7,969 |
6,631 |
5,992 |
67,845 |
65,432 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
8.5 |
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 |
19 |
9 |
11 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
5 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
479 |
420 |
63 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
14 |
10 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
23 |
12 |
11 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
669 |
307 |
398 |
2.9 |
bash |
9 |
no-host |
bin-true |
533 |
274 |
270 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,344 |
753 |
1,857 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
807 |
286 |
537 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
809 |
295 |
531 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,202 |
6,791 |
8,854 |
29.3 |
bash |
10 |
no-host |
configure.cpython |
15,223 |
6,895 |
8,783 |
29.1 |
dash |
18 |
no-host |
configure.cpython |
29,391 |
14,623 |
16,725 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,309 |
6,782 |
8,823 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
15,472 |
6,765 |
9,000 |
29.0 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,848 |
1,350 |
1,521 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,788 |
1,300 |
1,510 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,703 |
1,878 |
2,046 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,905 |
1,363 |
1,583 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,839 |
1,322 |
1,557 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
21 |
28 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
42 |
19 |
23 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
208 |
144 |
68 |
19.5 |
osh-cpython |
29 |
no-host |
configure.tcc |
51 |
21 |
31 |
19.6 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
19 |
30 |
19.8 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,072 |
5,914 |
8,674 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
15,081 |
6,024 |
9,609 |
30.2 |
dash |
19 |
no-host |
configure.util-linux |
32,310 |
18,290 |
15,173 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,333 |
5,694 |
8,865 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,364 |
5,813 |
8,779 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,834 |
942 |
903 |
26.3 |
bash |
14 |
no-host |
configure.yash |
1,811 |
932 |
883 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,541 |
1,405 |
1,183 |
26.3 |
osh-cpython |
30 |
no-host |
configure.yash |
1,903 |
906 |
1,002 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,840 |
903 |
942 |
26.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 |
57 |
44 |
14 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
2 |
1 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
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,551 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,091 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,950 |
0 |
0 |
0 |
8 |
0 |
45 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,187 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,085 |
0 |
0 |
0 |
16 |
0 |
39 |
5 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,373 |
0 |
0 |
0 |
8 |
0 |
1,993 |
133 |
bash |
9 |
no-host |
bin-true |
65,383 |
0 |
0 |
0 |
8 |
0 |
1,977 |
110 |
dash |
17 |
no-host |
bin-true |
781,639 |
0 |
0 |
0 |
8 |
0 |
1,989 |
355 |
osh-cpython |
25 |
no-host |
bin-true |
124,239 |
0 |
0 |
0 |
16 |
0 |
1,979 |
184 |
osh-native |
33 |
no-host |
bin-true |
125,275 |
0 |
0 |
0 |
16 |
0 |
1,984 |
168 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,001,151 |
0 |
0 |
0 |
32,928 |
0 |
14,214 |
1,203 |
bash |
10 |
no-host |
configure.cpython |
2,020,256 |
0 |
0 |
0 |
32,992 |
0 |
14,316 |
1,425 |
dash |
18 |
no-host |
configure.cpython |
6,056,356 |
0 |
0 |
0 |
27,512 |
0 |
13,010 |
1,071 |
osh-cpython |
26 |
no-host |
configure.cpython |
1,999,092 |
0 |
0 |
0 |
27,520 |
0 |
13,006 |
1,045 |
osh-native |
34 |
no-host |
configure.cpython |
1,988,940 |
1 |
0 |
0 |
27,520 |
0 |
13,124 |
1,001 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,070 |
0 |
0 |
0 |
5,120 |
0 |
1,960 |
184 |
bash |
12 |
no-host |
configure.ocaml |
353,497 |
0 |
0 |
0 |
5,112 |
0 |
1,923 |
173 |
dash |
20 |
no-host |
configure.ocaml |
611,115 |
0 |
0 |
0 |
5,112 |
0 |
1,850 |
193 |
osh-cpython |
28 |
no-host |
configure.ocaml |
375,602 |
0 |
0 |
0 |
5,120 |
0 |
1,922 |
215 |
osh-native |
36 |
no-host |
configure.ocaml |
375,359 |
0 |
0 |
0 |
5,120 |
0 |
1,920 |
218 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,077 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,001 |
0 |
0 |
0 |
96 |
0 |
47 |
5 |
dash |
21 |
no-host |
configure.tcc |
23,763 |
0 |
0 |
0 |
96 |
0 |
53 |
4 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,490 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,427 |
0 |
0 |
0 |
104 |
0 |
47 |
12 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,910,548 |
0 |
0 |
0 |
42,400 |
0 |
18,465 |
1,228 |
bash |
11 |
no-host |
configure.util-linux |
2,069,399 |
0 |
0 |
0 |
42,584 |
0 |
17,317 |
1,372 |
dash |
19 |
no-host |
configure.util-linux |
5,235,897 |
5 |
0 |
0 |
39,120 |
0 |
16,992 |
1,200 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,806,112 |
1 |
0 |
0 |
39,128 |
0 |
16,995 |
1,147 |
osh-native |
35 |
no-host |
configure.util-linux |
1,801,524 |
2 |
0 |
0 |
39,136 |
0 |
17,032 |
1,125 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,723 |
0 |
0 |
0 |
4,120 |
0 |
871 |
112 |
bash |
14 |
no-host |
configure.yash |
221,776 |
0 |
0 |
0 |
3,720 |
0 |
873 |
84 |
dash |
22 |
no-host |
configure.yash |
367,156 |
0 |
0 |
0 |
3,728 |
0 |
850 |
89 |
osh-cpython |
30 |
no-host |
configure.yash |
234,716 |
0 |
0 |
0 |
3,736 |
0 |
850 |
99 |
osh-native |
38 |
no-host |
configure.yash |
235,151 |
0 |
0 |
0 |
3,736 |
0 |
850 |
109 |
osh-native-souffle |
0 |
no-host |
hello-world |
149 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
76 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,968 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
337 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host