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 |
483 |
24 |
22 |
25.84 |
1.29 |
bin-true |
no-host |
670 |
538 |
2,440 |
790 |
808 |
3.64 |
1.18 |
configure.cpython |
no-host |
15,129 |
15,210 |
29,979 |
15,336 |
15,864 |
1.98 |
1.01 |
configure.ocaml |
no-host |
3,837 |
3,777 |
4,753 |
3,963 |
3,925 |
1.24 |
1.03 |
configure.tcc |
no-host |
47 |
41 |
215 |
50 |
49 |
4.56 |
1.06 |
configure.util-linux |
no-host |
14,029 |
14,998 |
32,870 |
14,657 |
14,677 |
2.34 |
1.04 |
configure.yash |
no-host |
1,841 |
1,801 |
2,534 |
1,914 |
1,883 |
1.38 |
1.04 |
hello-world |
no-host |
2 |
1 |
59 |
3 |
3 |
36.83 |
1.82 |
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,527 |
1,130 |
24,063 |
3,201 |
3,110 |
9.52 |
1.27 |
bin-true |
no-host |
106,335 |
66,527 |
810,429 |
126,528 |
126,506 |
7.62 |
1.19 |
configure.cpython |
no-host |
2,002,509 |
2,023,860 |
6,114,551 |
2,010,458 |
2,000,477 |
3.05 |
1.00 |
configure.ocaml |
no-host |
373,315 |
353,968 |
616,587 |
377,338 |
376,202 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,117 |
4,994 |
24,000 |
6,536 |
6,491 |
3.92 |
1.07 |
configure.util-linux |
no-host |
1,918,125 |
2,072,650 |
5,297,123 |
1,812,262 |
1,805,598 |
2.76 |
0.94 |
configure.yash |
no-host |
233,944 |
221,868 |
368,990 |
235,778 |
235,702 |
1.58 |
1.01 |
hello-world |
no-host |
147 |
76 |
3,963 |
345 |
341 |
26.96 |
2.35 |
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.3 |
6.3 |
3,801 |
3,801 |
0 |
699 |
1,869 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
790 |
1 |
2 |
2.6 |
8.0 |
153,768 |
12,333 |
2,897 |
8,751 |
76,336 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,336 |
1 |
66 |
15.3 |
29.3 |
1,773,759 |
49,824 |
28,522 |
91,504 |
881,464 |
800,791 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,657 |
3 |
68 |
21.6 |
30.2 |
2,704,670 |
53,753 |
65,701 |
114,371 |
1,293,956 |
1,296,343 |
32,241 |
41 |
131,402 |
1 |
configure.ocaml |
no-host |
3,963 |
1 |
2 |
2.6 |
22.6 |
149,784 |
11,150 |
5,217 |
7,732 |
70,843 |
71,209 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.7 |
30,569 |
30,569 |
0 |
1,541 |
14,634 |
14,394 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,914 |
1 |
2 |
2.6 |
26.4 |
139,680 |
8,037 |
6,696 |
6,393 |
68,252 |
65,035 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
24 |
1 |
2 |
2.8 |
9.0 |
116,317 |
64,415 |
42,623 |
4,543 |
54,453 |
57,321 |
277 |
3 |
85,246 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.9 |
3,800 |
3,800 |
0 |
700 |
1,869 |
1,231 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
808 |
1 |
2 |
2.6 |
7.6 |
153,767 |
12,328 |
2,892 |
8,752 |
76,336 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,864 |
2 |
72 |
15.3 |
29.2 |
1,773,758 |
49,819 |
28,517 |
91,505 |
881,464 |
800,789 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,677 |
3 |
70 |
21.6 |
30.3 |
2,704,670 |
53,736 |
65,696 |
114,373 |
1,293,956 |
1,296,341 |
32,241 |
41 |
131,392 |
1 |
configure.ocaml |
no-host |
3,925 |
1 |
2 |
2.6 |
22.5 |
149,784 |
11,145 |
5,212 |
7,734 |
70,843 |
71,207 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.6 |
30,569 |
30,569 |
0 |
1,543 |
14,634 |
14,392 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,883 |
1 |
2 |
2.6 |
26.4 |
139,680 |
8,032 |
6,691 |
6,395 |
68,252 |
65,033 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
8.7 |
116,316 |
64,410 |
42,618 |
4,544 |
54,453 |
57,319 |
277 |
3 |
85,236 |
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 |
10 |
9 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
3 |
7 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
483 |
426 |
61 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
24 |
12 |
12 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
22 |
13 |
9 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
670 |
309 |
395 |
3.0 |
bash |
9 |
no-host |
bin-true |
538 |
269 |
281 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,440 |
837 |
1,872 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
790 |
295 |
514 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
808 |
292 |
533 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,129 |
6,793 |
8,764 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
15,210 |
6,862 |
8,801 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
29,979 |
15,129 |
16,853 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,336 |
6,706 |
8,919 |
29.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,864 |
6,913 |
9,128 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,837 |
1,314 |
1,567 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,777 |
1,248 |
1,551 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,753 |
1,934 |
2,048 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,963 |
1,368 |
1,639 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,925 |
1,329 |
1,637 |
22.5 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
23 |
25 |
19.6 |
bash |
13 |
no-host |
configure.tcc |
41 |
18 |
24 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
215 |
152 |
67 |
19.7 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
19 |
31 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
18 |
32 |
19.6 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,029 |
5,871 |
8,666 |
30.2 |
bash |
11 |
no-host |
configure.util-linux |
14,998 |
6,007 |
9,531 |
30.2 |
dash |
19 |
no-host |
configure.util-linux |
32,870 |
18,676 |
15,354 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,657 |
5,819 |
9,066 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
14,677 |
5,804 |
9,108 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,841 |
916 |
935 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,801 |
913 |
892 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,534 |
1,415 |
1,166 |
26.3 |
osh-cpython |
30 |
no-host |
configure.yash |
1,914 |
931 |
989 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,883 |
936 |
952 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
59 |
34 |
25 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
2 |
6.3 |
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,527 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,130 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,063 |
0 |
0 |
0 |
8 |
0 |
45 |
3 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,201 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,110 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,335 |
0 |
0 |
0 |
8 |
0 |
1,983 |
235 |
bash |
9 |
no-host |
bin-true |
66,527 |
0 |
0 |
0 |
8 |
0 |
1,979 |
105 |
dash |
17 |
no-host |
bin-true |
810,429 |
0 |
0 |
0 |
8 |
0 |
1,984 |
299 |
osh-cpython |
25 |
no-host |
bin-true |
126,528 |
0 |
0 |
0 |
16 |
0 |
1,970 |
98 |
osh-native |
33 |
no-host |
bin-true |
126,506 |
0 |
0 |
0 |
16 |
0 |
1,966 |
102 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,002,509 |
1 |
0 |
0 |
32,928 |
0 |
14,224 |
1,094 |
bash |
10 |
no-host |
configure.cpython |
2,023,860 |
1 |
0 |
0 |
32,992 |
0 |
14,315 |
1,192 |
dash |
18 |
no-host |
configure.cpython |
6,114,551 |
0 |
0 |
0 |
27,512 |
0 |
13,168 |
1,050 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,010,458 |
0 |
0 |
0 |
27,520 |
0 |
13,124 |
1,112 |
osh-native |
34 |
no-host |
configure.cpython |
2,000,477 |
0 |
0 |
0 |
27,520 |
0 |
13,089 |
978 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,315 |
0 |
0 |
0 |
5,120 |
0 |
1,941 |
180 |
bash |
12 |
no-host |
configure.ocaml |
353,968 |
0 |
0 |
0 |
5,112 |
0 |
1,932 |
211 |
dash |
20 |
no-host |
configure.ocaml |
616,587 |
0 |
0 |
0 |
5,112 |
0 |
1,843 |
187 |
osh-cpython |
28 |
no-host |
configure.ocaml |
377,338 |
0 |
0 |
0 |
5,120 |
0 |
1,918 |
202 |
osh-native |
36 |
no-host |
configure.ocaml |
376,202 |
0 |
0 |
0 |
5,120 |
0 |
1,925 |
193 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,117 |
0 |
0 |
0 |
104 |
0 |
48 |
4 |
bash |
13 |
no-host |
configure.tcc |
4,994 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
24,000 |
0 |
0 |
0 |
96 |
0 |
53 |
9 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,536 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,491 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,918,125 |
2 |
0 |
0 |
42,400 |
0 |
18,422 |
1,225 |
bash |
11 |
no-host |
configure.util-linux |
2,072,650 |
0 |
0 |
0 |
42,584 |
0 |
17,351 |
1,403 |
dash |
19 |
no-host |
configure.util-linux |
5,297,123 |
13 |
0 |
0 |
39,112 |
0 |
17,005 |
1,246 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,812,262 |
1 |
0 |
0 |
39,120 |
0 |
16,941 |
1,169 |
osh-native |
35 |
no-host |
configure.util-linux |
1,805,598 |
1 |
0 |
0 |
39,136 |
0 |
17,022 |
1,101 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,944 |
0 |
0 |
0 |
4,120 |
0 |
872 |
107 |
bash |
14 |
no-host |
configure.yash |
221,868 |
0 |
0 |
0 |
3,720 |
0 |
866 |
88 |
dash |
22 |
no-host |
configure.yash |
368,990 |
0 |
0 |
0 |
3,728 |
0 |
850 |
73 |
osh-cpython |
30 |
no-host |
configure.yash |
235,778 |
0 |
0 |
0 |
3,736 |
0 |
846 |
95 |
osh-native |
38 |
no-host |
configure.yash |
235,702 |
0 |
0 |
0 |
3,736 |
0 |
849 |
90 |
osh-native-souffle |
0 |
no-host |
hello-world |
147 |
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,963 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
341 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host