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 |
20 |
10 |
466 |
22 |
21 |
23.81 |
1.14 |
bin-true |
no-host |
681 |
553 |
2,340 |
829 |
813 |
3.44 |
1.22 |
configure.cpython |
no-host |
15,210 |
15,470 |
29,807 |
15,642 |
15,696 |
1.96 |
1.03 |
configure.ocaml |
no-host |
3,869 |
3,871 |
4,734 |
3,897 |
3,845 |
1.22 |
1.01 |
configure.tcc |
no-host |
49 |
43 |
204 |
52 |
49 |
4.20 |
1.08 |
configure.util-linux |
no-host |
14,187 |
15,422 |
32,574 |
14,840 |
14,560 |
2.30 |
1.05 |
configure.yash |
no-host |
1,875 |
1,834 |
2,504 |
1,882 |
1,842 |
1.34 |
1.00 |
hello-world |
no-host |
2 |
1 |
60 |
3 |
3 |
37.72 |
1.79 |
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,517 |
1,109 |
23,558 |
3,233 |
3,151 |
9.36 |
1.28 |
bin-true |
no-host |
105,301 |
66,432 |
764,635 |
128,116 |
126,229 |
7.26 |
1.22 |
configure.cpython |
no-host |
2,219,556 |
2,251,026 |
6,195,044 |
2,214,162 |
2,213,719 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,469 |
390,943 |
644,661 |
412,748 |
412,096 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,539 |
5,498 |
23,869 |
6,951 |
6,896 |
3.65 |
1.06 |
configure.util-linux |
no-host |
2,095,637 |
2,263,903 |
5,366,146 |
2,001,319 |
1,995,364 |
2.56 |
0.95 |
configure.yash |
no-host |
256,180 |
244,994 |
386,579 |
257,918 |
257,596 |
1.51 |
1.01 |
hello-world |
no-host |
154 |
80 |
3,949 |
344 |
337 |
25.64 |
2.23 |
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.3 |
3,789 |
3,789 |
0 |
694 |
1,861 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
829 |
1 |
2 |
2.6 |
8.1 |
153,753 |
12,329 |
2,894 |
8,743 |
76,325 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,642 |
1 |
66 |
14.9 |
27.3 |
1,771,800 |
49,612 |
28,519 |
85,427 |
878,134 |
808,239 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,840 |
3 |
64 |
21.2 |
30.0 |
2,702,546 |
53,773 |
65,698 |
108,699 |
1,290,651 |
1,303,196 |
32,241 |
41 |
131,396 |
1 |
configure.ocaml |
no-host |
3,897 |
1 |
2 |
2.6 |
20.4 |
150,087 |
11,119 |
5,214 |
7,508 |
70,972 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
52 |
0 |
0 |
1.3 |
19.3 |
30,593 |
30,593 |
0 |
1,518 |
14,644 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,882 |
1 |
2 |
2.5 |
24.2 |
139,419 |
8,031 |
6,693 |
5,989 |
67,945 |
65,485 |
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,532 |
54,439 |
57,328 |
277 |
3 |
85,240 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,788 |
3,788 |
0 |
695 |
1,861 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
813 |
1 |
2 |
2.6 |
7.6 |
153,752 |
12,118 |
2,832 |
8,744 |
76,325 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,696 |
1 |
64 |
14.9 |
27.5 |
1,771,799 |
49,070 |
28,457 |
85,428 |
878,134 |
808,237 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,560 |
3 |
64 |
21.2 |
30.3 |
2,702,546 |
53,700 |
65,636 |
108,701 |
1,290,651 |
1,303,194 |
32,241 |
41 |
131,272 |
1 |
configure.ocaml |
no-host |
3,845 |
1 |
2 |
2.6 |
20.6 |
150,087 |
11,057 |
5,152 |
7,510 |
70,972 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.4 |
30,593 |
30,593 |
0 |
1,520 |
14,644 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,842 |
1 |
2 |
2.5 |
24.4 |
139,419 |
7,969 |
6,631 |
5,991 |
67,945 |
65,483 |
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,533 |
54,439 |
57,326 |
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 |
20 |
17 |
3 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
5 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
466 |
429 |
40 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
20 |
3 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
20 |
2 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
681 |
502 |
210 |
2.9 |
bash |
9 |
no-host |
bin-true |
553 |
423 |
139 |
1.3 |
dash |
17 |
no-host |
bin-true |
2,340 |
1,516 |
1,086 |
18.3 |
osh-cpython |
25 |
no-host |
bin-true |
829 |
588 |
255 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
813 |
573 |
254 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,210 |
9,183 |
6,435 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,470 |
9,377 |
6,518 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,807 |
17,923 |
13,793 |
27.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,642 |
9,033 |
6,876 |
27.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,696 |
9,271 |
6,537 |
27.5 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,869 |
1,688 |
1,223 |
20.4 |
bash |
12 |
no-host |
configure.ocaml |
3,871 |
1,638 |
1,253 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,734 |
2,262 |
1,686 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,897 |
1,754 |
1,182 |
20.4 |
osh-native |
36 |
no-host |
configure.ocaml |
3,845 |
1,718 |
1,163 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
28 |
21 |
19.1 |
bash |
13 |
no-host |
configure.tcc |
43 |
27 |
16 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
204 |
170 |
37 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
52 |
40 |
12 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
37 |
12 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,187 |
8,916 |
5,750 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
15,422 |
9,375 |
6,547 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
32,574 |
21,463 |
12,237 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,840 |
8,859 |
6,155 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
14,560 |
8,710 |
6,046 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,875 |
1,096 |
783 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,834 |
1,019 |
818 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,504 |
1,521 |
1,025 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,882 |
1,125 |
761 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,842 |
1,022 |
824 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
60 |
28 |
31 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
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,517 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,109 |
0 |
0 |
0 |
8 |
0 |
39 |
2 |
dash |
23 |
no-host |
abuild-print-help |
23,558 |
0 |
0 |
0 |
8 |
0 |
45 |
14 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,233 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,151 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,301 |
0 |
0 |
0 |
8 |
0 |
1,991 |
68 |
bash |
9 |
no-host |
bin-true |
66,432 |
0 |
0 |
0 |
8 |
0 |
1,978 |
45 |
dash |
17 |
no-host |
bin-true |
764,635 |
0 |
0 |
0 |
8 |
0 |
1,996 |
115 |
osh-cpython |
25 |
no-host |
bin-true |
128,116 |
0 |
0 |
0 |
16 |
0 |
1,990 |
60 |
osh-native |
33 |
no-host |
bin-true |
126,229 |
0 |
0 |
0 |
16 |
0 |
1,987 |
50 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,219,556 |
0 |
0 |
0 |
32,928 |
0 |
14,490 |
969 |
bash |
10 |
no-host |
configure.cpython |
2,251,026 |
0 |
0 |
0 |
32,992 |
0 |
14,615 |
1,140 |
dash |
18 |
no-host |
configure.cpython |
6,195,044 |
0 |
0 |
0 |
27,512 |
0 |
13,243 |
1,195 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,214,162 |
0 |
0 |
0 |
27,520 |
0 |
13,200 |
919 |
osh-native |
34 |
no-host |
configure.cpython |
2,213,719 |
0 |
0 |
0 |
27,520 |
0 |
13,330 |
946 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,469 |
0 |
0 |
0 |
5,120 |
0 |
1,950 |
157 |
bash |
12 |
no-host |
configure.ocaml |
390,943 |
0 |
0 |
0 |
5,112 |
0 |
1,867 |
126 |
dash |
20 |
no-host |
configure.ocaml |
644,661 |
0 |
0 |
0 |
5,112 |
0 |
1,860 |
182 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,748 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
161 |
osh-native |
36 |
no-host |
configure.ocaml |
412,096 |
0 |
0 |
0 |
5,120 |
0 |
1,932 |
168 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,539 |
0 |
0 |
0 |
104 |
0 |
46 |
5 |
bash |
13 |
no-host |
configure.tcc |
5,498 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,869 |
0 |
0 |
0 |
96 |
0 |
52 |
8 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,951 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,896 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,095,637 |
0 |
0 |
0 |
42,400 |
0 |
18,669 |
1,021 |
bash |
11 |
no-host |
configure.util-linux |
2,263,903 |
1 |
0 |
0 |
42,584 |
0 |
17,314 |
1,007 |
dash |
19 |
no-host |
configure.util-linux |
5,366,146 |
9 |
0 |
0 |
39,152 |
0 |
16,996 |
1,170 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,001,319 |
0 |
0 |
0 |
39,128 |
0 |
17,014 |
855 |
osh-native |
35 |
no-host |
configure.util-linux |
1,995,364 |
2 |
0 |
0 |
39,136 |
0 |
17,059 |
1,093 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,180 |
0 |
0 |
0 |
4,120 |
0 |
879 |
93 |
bash |
14 |
no-host |
configure.yash |
244,994 |
0 |
0 |
0 |
3,720 |
0 |
867 |
69 |
dash |
22 |
no-host |
configure.yash |
386,579 |
0 |
0 |
0 |
3,728 |
0 |
856 |
92 |
osh-cpython |
30 |
no-host |
configure.yash |
257,918 |
0 |
0 |
0 |
3,736 |
0 |
849 |
71 |
osh-native |
38 |
no-host |
configure.yash |
257,596 |
0 |
0 |
0 |
3,736 |
0 |
853 |
83 |
osh-native-souffle |
0 |
no-host |
hello-world |
154 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
80 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,949 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
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