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.79 |
1.17 |
bin-true |
no-host |
653 |
527 |
2,292 |
793 |
799 |
3.51 |
1.21 |
configure.cpython |
no-host |
14,737 |
14,766 |
28,600 |
14,962 |
14,953 |
1.94 |
1.02 |
configure.ocaml |
no-host |
3,751 |
3,708 |
4,618 |
3,798 |
3,822 |
1.23 |
1.01 |
configure.tcc |
no-host |
46 |
40 |
203 |
48 |
48 |
4.39 |
1.04 |
configure.util-linux |
no-host |
13,696 |
14,516 |
31,296 |
14,180 |
14,010 |
2.29 |
1.04 |
configure.yash |
no-host |
1,796 |
1,766 |
2,450 |
1,816 |
1,821 |
1.36 |
1.01 |
hello-world |
no-host |
1 |
1 |
58 |
3 |
3 |
43.05 |
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,531 |
1,099 |
23,931 |
3,183 |
3,128 |
9.46 |
1.26 |
bin-true |
no-host |
106,339 |
65,377 |
779,007 |
127,213 |
127,277 |
7.33 |
1.20 |
configure.cpython |
no-host |
2,000,300 |
2,016,792 |
6,052,807 |
2,001,524 |
1,994,596 |
3.03 |
1.00 |
configure.ocaml |
no-host |
372,892 |
353,530 |
611,221 |
376,438 |
375,460 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,068 |
4,995 |
23,787 |
6,477 |
6,429 |
3.92 |
1.07 |
configure.util-linux |
no-host |
1,899,961 |
2,070,517 |
5,238,212 |
1,810,836 |
1,797,499 |
2.76 |
0.95 |
configure.yash |
no-host |
233,999 |
221,693 |
366,964 |
234,858 |
235,216 |
1.57 |
1.00 |
hello-world |
no-host |
147 |
76 |
3,992 |
342 |
338 |
27.16 |
2.33 |
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 |
793 |
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,962 |
2 |
66 |
14.9 |
29.1 |
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,180 |
3 |
64 |
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,798 |
1 |
2 |
2.6 |
22.5 |
149,553 |
11,119 |
5,214 |
7,509 |
70,616 |
71,428 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
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,816 |
1 |
2 |
2.5 |
26.3 |
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.2 |
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 |
799 |
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,953 |
1 |
68 |
14.9 |
29.2 |
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,010 |
3 |
64 |
21.2 |
30.3 |
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,822 |
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.5 |
30,539 |
30,539 |
0 |
1,521 |
14,608 |
14,410 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,821 |
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.8 |
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 |
11 |
8 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
478 |
418 |
64 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
12 |
10 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
9 |
12 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
653 |
319 |
370 |
3.0 |
bash |
9 |
no-host |
bin-true |
527 |
279 |
260 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,292 |
748 |
1,809 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
793 |
312 |
500 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
799 |
303 |
512 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,737 |
6,633 |
8,524 |
28.9 |
bash |
10 |
no-host |
configure.cpython |
14,766 |
6,631 |
8,527 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
28,600 |
14,193 |
16,314 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,962 |
6,690 |
8,562 |
29.1 |
osh-native |
34 |
no-host |
configure.cpython |
14,953 |
6,685 |
8,548 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,751 |
1,313 |
1,478 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,708 |
1,293 |
1,436 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,618 |
1,844 |
1,989 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,798 |
1,343 |
1,496 |
22.5 |
osh-native |
36 |
no-host |
configure.ocaml |
3,822 |
1,322 |
1,538 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
24 |
23 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
40 |
20 |
20 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
203 |
140 |
67 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
21 |
28 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
22 |
26 |
19.5 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,696 |
5,762 |
8,435 |
30.4 |
bash |
11 |
no-host |
configure.util-linux |
14,516 |
5,856 |
9,183 |
30.5 |
dash |
19 |
no-host |
configure.util-linux |
31,296 |
17,761 |
14,632 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,180 |
5,743 |
8,651 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,010 |
5,587 |
8,638 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,796 |
929 |
877 |
26.3 |
bash |
14 |
no-host |
configure.yash |
1,766 |
897 |
873 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,450 |
1,338 |
1,155 |
26.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,816 |
901 |
920 |
26.3 |
osh-native |
38 |
no-host |
configure.yash |
1,821 |
911 |
915 |
26.3 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
58 |
32 |
25 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.2 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,531 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,099 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,931 |
0 |
0 |
0 |
8 |
0 |
45 |
11 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,183 |
0 |
0 |
0 |
16 |
0 |
38 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,128 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,339 |
0 |
0 |
0 |
8 |
0 |
1,985 |
116 |
bash |
9 |
no-host |
bin-true |
65,377 |
0 |
0 |
0 |
8 |
0 |
1,976 |
116 |
dash |
17 |
no-host |
bin-true |
779,007 |
0 |
0 |
0 |
8 |
0 |
1,973 |
243 |
osh-cpython |
25 |
no-host |
bin-true |
127,213 |
0 |
0 |
0 |
16 |
0 |
1,988 |
143 |
osh-native |
33 |
no-host |
bin-true |
127,277 |
0 |
0 |
0 |
16 |
0 |
1,975 |
175 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,000,300 |
0 |
0 |
0 |
32,928 |
0 |
14,238 |
1,216 |
bash |
10 |
no-host |
configure.cpython |
2,016,792 |
1 |
0 |
0 |
32,992 |
0 |
14,330 |
1,254 |
dash |
18 |
no-host |
configure.cpython |
6,052,807 |
1 |
0 |
0 |
27,512 |
0 |
13,036 |
1,109 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,001,524 |
0 |
0 |
0 |
27,520 |
0 |
13,069 |
1,049 |
osh-native |
34 |
no-host |
configure.cpython |
1,994,596 |
0 |
0 |
0 |
27,520 |
0 |
13,021 |
1,066 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
372,892 |
0 |
0 |
0 |
5,120 |
0 |
1,950 |
193 |
bash |
12 |
no-host |
configure.ocaml |
353,530 |
0 |
0 |
0 |
5,112 |
0 |
1,925 |
194 |
dash |
20 |
no-host |
configure.ocaml |
611,221 |
0 |
0 |
0 |
5,112 |
0 |
1,852 |
204 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,438 |
0 |
0 |
0 |
5,120 |
0 |
1,924 |
210 |
osh-native |
36 |
no-host |
configure.ocaml |
375,460 |
0 |
0 |
0 |
5,120 |
0 |
1,925 |
217 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,068 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
4,995 |
0 |
0 |
0 |
96 |
0 |
46 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,787 |
0 |
0 |
0 |
96 |
0 |
53 |
5 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,477 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,429 |
0 |
0 |
0 |
104 |
0 |
47 |
9 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,899,961 |
0 |
0 |
0 |
42,400 |
0 |
18,518 |
1,294 |
bash |
11 |
no-host |
configure.util-linux |
2,070,517 |
1 |
0 |
0 |
42,584 |
0 |
17,265 |
1,429 |
dash |
19 |
no-host |
configure.util-linux |
5,238,212 |
6 |
0 |
0 |
39,128 |
0 |
17,003 |
1,429 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,810,836 |
0 |
0 |
0 |
39,120 |
0 |
16,994 |
1,130 |
osh-native |
35 |
no-host |
configure.util-linux |
1,797,499 |
0 |
0 |
0 |
39,128 |
0 |
16,980 |
1,251 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,999 |
0 |
0 |
0 |
4,120 |
0 |
869 |
84 |
bash |
14 |
no-host |
configure.yash |
221,693 |
0 |
0 |
0 |
3,720 |
0 |
872 |
89 |
dash |
22 |
no-host |
configure.yash |
366,964 |
0 |
0 |
0 |
3,728 |
0 |
851 |
88 |
osh-cpython |
30 |
no-host |
configure.yash |
234,858 |
0 |
0 |
0 |
3,736 |
0 |
849 |
72 |
osh-native |
38 |
no-host |
configure.yash |
235,216 |
0 |
0 |
0 |
3,736 |
0 |
851 |
91 |
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,992 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
338 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host