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 |
478 |
22 |
21 |
25.45 |
1.15 |
bin-true |
no-host |
642 |
525 |
2,342 |
787 |
788 |
3.65 |
1.23 |
configure.cpython |
no-host |
14,673 |
14,592 |
28,787 |
14,789 |
14,753 |
1.96 |
1.01 |
configure.ocaml |
no-host |
3,715 |
3,661 |
4,605 |
3,744 |
3,875 |
1.24 |
1.01 |
configure.tcc |
no-host |
46 |
41 |
202 |
47 |
48 |
4.39 |
1.03 |
configure.util-linux |
no-host |
13,511 |
14,428 |
31,498 |
13,851 |
14,308 |
2.33 |
1.03 |
configure.yash |
no-host |
1,766 |
1,747 |
2,449 |
1,789 |
1,866 |
1.39 |
1.01 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
42.32 |
2.11 |
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,558 |
1,088 |
23,996 |
3,181 |
3,100 |
9.38 |
1.24 |
bin-true |
no-host |
102,275 |
66,459 |
778,760 |
126,114 |
127,192 |
7.61 |
1.23 |
configure.cpython |
no-host |
2,000,518 |
2,018,597 |
6,044,876 |
1,998,841 |
1,988,943 |
3.02 |
1.00 |
configure.ocaml |
no-host |
373,288 |
354,226 |
611,146 |
376,902 |
375,286 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,088 |
5,007 |
23,758 |
6,491 |
6,411 |
3.90 |
1.07 |
configure.util-linux |
no-host |
1,903,830 |
2,073,133 |
5,242,567 |
1,811,127 |
1,798,897 |
2.75 |
0.95 |
configure.yash |
no-host |
233,732 |
222,215 |
365,415 |
235,346 |
235,207 |
1.56 |
1.01 |
hello-world |
no-host |
148 |
77 |
3,998 |
343 |
338 |
27.01 |
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 |
3 |
0 |
0 |
0.2 |
6.2 |
3,789 |
3,789 |
0 |
695 |
1,861 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
787 |
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 |
14,789 |
1 |
66 |
14.9 |
29.3 |
1,767,675 |
49,060 |
28,519 |
85,428 |
875,384 |
806,863 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,851 |
3 |
63 |
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,744 |
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 |
47 |
0 |
0 |
1.3 |
19.7 |
30,539 |
30,539 |
0 |
1,519 |
14,608 |
14,412 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,789 |
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 |
22 |
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 |
6.0 |
3,788 |
3,788 |
0 |
696 |
1,861 |
1,231 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
788 |
1 |
2 |
2.6 |
7.7 |
153,752 |
12,118 |
2,832 |
8,745 |
76,325 |
68,682 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,753 |
1 |
64 |
14.9 |
29.3 |
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,308 |
3 |
64 |
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,875 |
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 |
48 |
0 |
0 |
1.3 |
19.6 |
30,539 |
30,539 |
0 |
1,521 |
14,608 |
14,410 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,866 |
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 |
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 |
19 |
8 |
11 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
5 |
4 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
478 |
427 |
54 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
11 |
11 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
13 |
8 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
642 |
302 |
374 |
2.9 |
bash |
9 |
no-host |
bin-true |
525 |
279 |
257 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,342 |
782 |
1,823 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
787 |
310 |
493 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
788 |
301 |
503 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,673 |
6,597 |
8,467 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
14,592 |
6,570 |
8,442 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
28,787 |
14,329 |
16,366 |
29.1 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,789 |
6,498 |
8,575 |
29.3 |
osh-native |
34 |
no-host |
configure.cpython |
14,753 |
6,546 |
8,475 |
29.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,715 |
1,249 |
1,509 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,661 |
1,244 |
1,440 |
22.3 |
dash |
20 |
no-host |
configure.ocaml |
4,605 |
1,879 |
1,941 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,744 |
1,238 |
1,545 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,875 |
1,369 |
1,545 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
20 |
27 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
41 |
21 |
20 |
19.8 |
dash |
21 |
no-host |
configure.tcc |
202 |
128 |
78 |
19.5 |
osh-cpython |
29 |
no-host |
configure.tcc |
47 |
20 |
27 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
24 |
25 |
19.6 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,511 |
5,761 |
8,236 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,428 |
5,788 |
9,149 |
30.5 |
dash |
19 |
no-host |
configure.util-linux |
31,498 |
17,997 |
14,590 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
13,851 |
5,482 |
8,588 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,308 |
5,611 |
8,899 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,766 |
892 |
884 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,747 |
860 |
892 |
26.3 |
dash |
22 |
no-host |
configure.yash |
2,449 |
1,351 |
1,140 |
26.3 |
osh-cpython |
30 |
no-host |
configure.yash |
1,789 |
911 |
882 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,866 |
913 |
959 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
31 |
25 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.2 |
osh-native |
32 |
no-host |
hello-world |
3 |
2 |
1 |
6.0 |
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,558 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,088 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,996 |
0 |
0 |
0 |
8 |
0 |
45 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,181 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,100 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
102,275 |
0 |
0 |
0 |
8 |
0 |
1,987 |
66 |
bash |
9 |
no-host |
bin-true |
66,459 |
0 |
0 |
0 |
8 |
0 |
1,975 |
68 |
dash |
17 |
no-host |
bin-true |
778,760 |
0 |
0 |
0 |
8 |
0 |
1,986 |
418 |
osh-cpython |
25 |
no-host |
bin-true |
126,114 |
0 |
0 |
0 |
16 |
0 |
1,975 |
162 |
osh-native |
33 |
no-host |
bin-true |
127,192 |
0 |
0 |
0 |
16 |
0 |
1,980 |
76 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,000,518 |
0 |
0 |
0 |
32,952 |
0 |
14,229 |
1,354 |
bash |
10 |
no-host |
configure.cpython |
2,018,597 |
0 |
0 |
0 |
32,992 |
0 |
14,404 |
1,216 |
dash |
18 |
no-host |
configure.cpython |
6,044,876 |
0 |
0 |
0 |
27,512 |
0 |
13,055 |
1,238 |
osh-cpython |
26 |
no-host |
configure.cpython |
1,998,841 |
0 |
0 |
0 |
27,520 |
0 |
13,140 |
1,157 |
osh-native |
34 |
no-host |
configure.cpython |
1,988,943 |
0 |
0 |
0 |
27,520 |
0 |
13,037 |
1,118 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,288 |
0 |
0 |
0 |
5,120 |
0 |
1,949 |
169 |
bash |
12 |
no-host |
configure.ocaml |
354,226 |
0 |
0 |
0 |
5,112 |
0 |
1,936 |
188 |
dash |
20 |
no-host |
configure.ocaml |
611,146 |
0 |
0 |
0 |
5,112 |
0 |
1,855 |
184 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,902 |
0 |
0 |
0 |
5,120 |
0 |
1,930 |
207 |
osh-native |
36 |
no-host |
configure.ocaml |
375,286 |
0 |
0 |
0 |
5,120 |
0 |
1,923 |
185 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,088 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,007 |
0 |
0 |
0 |
96 |
0 |
46 |
3 |
dash |
21 |
no-host |
configure.tcc |
23,758 |
0 |
0 |
0 |
96 |
0 |
53 |
4 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,491 |
0 |
0 |
0 |
104 |
0 |
46 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,411 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,903,830 |
0 |
0 |
0 |
42,400 |
0 |
18,475 |
1,252 |
bash |
11 |
no-host |
configure.util-linux |
2,073,133 |
0 |
0 |
0 |
42,584 |
0 |
17,286 |
1,390 |
dash |
19 |
no-host |
configure.util-linux |
5,242,567 |
7 |
0 |
0 |
39,112 |
0 |
17,017 |
1,222 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,811,127 |
1 |
0 |
0 |
39,120 |
0 |
16,989 |
1,221 |
osh-native |
35 |
no-host |
configure.util-linux |
1,798,897 |
0 |
0 |
0 |
39,128 |
0 |
16,958 |
1,136 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,732 |
0 |
0 |
0 |
4,120 |
0 |
872 |
101 |
bash |
14 |
no-host |
configure.yash |
222,215 |
0 |
0 |
0 |
3,720 |
0 |
869 |
92 |
dash |
22 |
no-host |
configure.yash |
365,415 |
0 |
0 |
0 |
3,728 |
0 |
850 |
209 |
osh-cpython |
30 |
no-host |
configure.yash |
235,346 |
0 |
0 |
0 |
3,736 |
0 |
848 |
101 |
osh-native |
38 |
no-host |
configure.yash |
235,207 |
0 |
0 |
0 |
3,736 |
0 |
850 |
84 |
osh-native-souffle |
0 |
no-host |
hello-world |
148 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
77 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,998 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
343 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
338 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host