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 |
22 |
10 |
501 |
26 |
23 |
22.41 |
1.15 |
bin-true |
no-host |
683 |
578 |
2,858 |
849 |
822 |
4.19 |
1.24 |
configure.cpython |
no-host |
17,079 |
17,299 |
34,975 |
16,792 |
16,102 |
2.05 |
0.98 |
configure.ocaml |
no-host |
4,234 |
4,029 |
5,105 |
4,053 |
4,091 |
1.21 |
0.96 |
configure.tcc |
no-host |
51 |
45 |
231 |
52 |
53 |
4.51 |
1.02 |
configure.util-linux |
no-host |
16,044 |
16,732 |
36,716 |
15,388 |
15,490 |
2.29 |
0.96 |
configure.yash |
no-host |
2,045 |
1,987 |
2,797 |
1,956 |
1,976 |
1.37 |
0.96 |
hello-world |
no-host |
2 |
1 |
68 |
3 |
3 |
41.04 |
1.95 |
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,552 |
1,114 |
24,218 |
3,198 |
3,072 |
9.49 |
1.25 |
bin-true |
no-host |
104,320 |
66,378 |
801,345 |
127,214 |
125,250 |
7.68 |
1.22 |
configure.cpython |
no-host |
1,990,277 |
2,028,353 |
6,093,550 |
2,017,759 |
2,003,597 |
3.06 |
1.01 |
configure.ocaml |
no-host |
372,918 |
354,353 |
616,337 |
376,444 |
375,873 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,070 |
4,984 |
24,032 |
6,517 |
6,473 |
3.96 |
1.07 |
configure.util-linux |
no-host |
1,909,618 |
2,079,796 |
5,302,743 |
1,819,927 |
1,815,355 |
2.78 |
0.95 |
configure.yash |
no-host |
232,323 |
222,290 |
369,694 |
235,330 |
235,263 |
1.59 |
1.01 |
hello-world |
no-host |
147 |
75 |
3,973 |
346 |
345 |
27.03 |
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,805 |
3,805 |
0 |
700 |
1,870 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
849 |
1 |
2 |
2.6 |
8.1 |
156,772 |
15,414 |
2,901 |
8,752 |
77,337 |
70,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
16,792 |
2 |
88 |
15.5 |
29.2 |
1,785,013 |
30,559 |
28,526 |
91,505 |
887,089 |
806,419 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
15,388 |
3 |
78 |
21.6 |
30.3 |
2,709,214 |
53,761 |
65,705 |
114,372 |
1,296,230 |
1,298,612 |
32,241 |
41 |
131,410 |
1 |
configure.ocaml |
no-host |
4,053 |
1 |
2 |
2.6 |
22.6 |
149,859 |
11,178 |
5,221 |
7,733 |
70,879 |
71,247 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
52 |
0 |
0 |
1.3 |
19.6 |
30,575 |
30,575 |
0 |
1,542 |
14,636 |
14,397 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,956 |
1 |
2 |
2.6 |
26.5 |
139,881 |
8,045 |
6,700 |
6,397 |
68,350 |
65,134 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
26 |
1 |
2 |
2.8 |
9.2 |
116,337 |
64,419 |
42,627 |
4,544 |
54,462 |
57,331 |
277 |
3 |
85,254 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.0 |
3,804 |
3,804 |
0 |
701 |
1,870 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
822 |
1 |
2 |
2.6 |
7.7 |
156,771 |
15,409 |
2,896 |
8,753 |
77,337 |
70,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
16,102 |
2 |
84 |
15.4 |
29.2 |
1,785,012 |
30,546 |
28,521 |
91,506 |
887,089 |
806,417 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
15,490 |
4 |
80 |
21.6 |
30.2 |
2,709,214 |
53,738 |
65,700 |
114,374 |
1,296,230 |
1,298,610 |
32,241 |
41 |
131,400 |
1 |
configure.ocaml |
no-host |
4,091 |
1 |
2 |
2.6 |
22.6 |
149,859 |
11,173 |
5,216 |
7,735 |
70,879 |
71,245 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
53 |
0 |
0 |
1.3 |
19.5 |
30,575 |
30,575 |
0 |
1,544 |
14,636 |
14,395 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,976 |
1 |
2 |
2.6 |
26.4 |
139,881 |
8,034 |
6,689 |
6,399 |
68,350 |
65,132 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
8.5 |
116,336 |
64,414 |
42,622 |
4,545 |
54,462 |
57,329 |
277 |
3 |
85,244 |
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 |
22 |
15 |
7 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
5 |
6 |
3.3 |
dash |
23 |
no-host |
abuild-print-help |
501 |
436 |
69 |
22.9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
26 |
13 |
13 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
23 |
8 |
16 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
683 |
314 |
401 |
2.9 |
bash |
9 |
no-host |
bin-true |
578 |
282 |
308 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,858 |
999 |
2,169 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
849 |
286 |
581 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
822 |
311 |
528 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
17,079 |
7,498 |
10,052 |
29.3 |
bash |
10 |
no-host |
configure.cpython |
17,299 |
7,480 |
10,322 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
34,975 |
17,483 |
19,833 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
16,792 |
7,228 |
9,875 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
16,102 |
7,075 |
9,321 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
4,234 |
1,490 |
1,790 |
22.5 |
bash |
12 |
no-host |
configure.ocaml |
4,029 |
1,393 |
1,659 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
5,105 |
2,137 |
2,234 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
4,053 |
1,425 |
1,675 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
4,091 |
1,442 |
1,690 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
51 |
29 |
23 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
45 |
17 |
28 |
19.5 |
dash |
21 |
no-host |
configure.tcc |
231 |
159 |
76 |
19.7 |
osh-cpython |
29 |
no-host |
configure.tcc |
52 |
24 |
29 |
19.6 |
osh-native |
37 |
no-host |
configure.tcc |
53 |
25 |
28 |
19.5 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
16,044 |
6,754 |
9,837 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
16,732 |
6,774 |
10,543 |
30.2 |
dash |
19 |
no-host |
configure.util-linux |
36,716 |
20,591 |
17,437 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
15,388 |
6,208 |
9,420 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
15,490 |
6,078 |
9,645 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
2,045 |
994 |
1,057 |
26.3 |
bash |
14 |
no-host |
configure.yash |
1,987 |
1,005 |
987 |
26.2 |
dash |
22 |
no-host |
configure.yash |
2,797 |
1,531 |
1,316 |
26.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,956 |
1,012 |
949 |
26.5 |
osh-native |
38 |
no-host |
configure.yash |
1,976 |
1,006 |
972 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
68 |
45 |
23 |
18.5 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
2 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
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,552 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,114 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,218 |
0 |
0 |
0 |
8 |
0 |
45 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,198 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,072 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,320 |
0 |
0 |
0 |
8 |
0 |
1,982 |
80 |
bash |
9 |
no-host |
bin-true |
66,378 |
0 |
0 |
0 |
8 |
0 |
1,981 |
72 |
dash |
17 |
no-host |
bin-true |
801,345 |
0 |
0 |
0 |
8 |
0 |
1,986 |
179 |
osh-cpython |
25 |
no-host |
bin-true |
127,214 |
0 |
0 |
0 |
16 |
0 |
1,984 |
136 |
osh-native |
33 |
no-host |
bin-true |
125,250 |
0 |
0 |
0 |
16 |
0 |
1,964 |
83 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,990,277 |
0 |
0 |
0 |
32,928 |
0 |
14,174 |
1,048 |
bash |
10 |
no-host |
configure.cpython |
2,028,353 |
0 |
0 |
0 |
32,992 |
0 |
14,309 |
1,042 |
dash |
18 |
no-host |
configure.cpython |
6,093,550 |
0 |
0 |
0 |
27,536 |
0 |
13,054 |
1,135 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,017,759 |
0 |
0 |
0 |
27,520 |
0 |
13,090 |
1,025 |
osh-native |
34 |
no-host |
configure.cpython |
2,003,597 |
1 |
0 |
0 |
27,520 |
0 |
13,073 |
1,062 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
372,918 |
0 |
0 |
0 |
5,120 |
0 |
1,939 |
181 |
bash |
12 |
no-host |
configure.ocaml |
354,353 |
0 |
0 |
0 |
5,112 |
0 |
1,927 |
200 |
dash |
20 |
no-host |
configure.ocaml |
616,337 |
0 |
0 |
0 |
5,112 |
0 |
1,854 |
179 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,444 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
186 |
osh-native |
36 |
no-host |
configure.ocaml |
375,873 |
0 |
0 |
0 |
5,120 |
0 |
1,916 |
202 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,070 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
bash |
13 |
no-host |
configure.tcc |
4,984 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,032 |
0 |
0 |
0 |
96 |
0 |
53 |
4 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,517 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,473 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,909,618 |
1 |
0 |
0 |
42,408 |
0 |
18,567 |
1,108 |
bash |
11 |
no-host |
configure.util-linux |
2,079,796 |
3 |
0 |
0 |
42,592 |
0 |
17,348 |
1,273 |
dash |
19 |
no-host |
configure.util-linux |
5,302,743 |
7 |
0 |
0 |
39,128 |
0 |
17,002 |
1,362 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,819,927 |
2 |
0 |
0 |
39,128 |
0 |
17,096 |
1,087 |
osh-native |
35 |
no-host |
configure.util-linux |
1,815,355 |
5 |
0 |
0 |
39,136 |
0 |
16,932 |
1,011 |
osh-native-souffle |
6 |
no-host |
configure.yash |
232,323 |
0 |
0 |
0 |
4,120 |
0 |
869 |
81 |
bash |
14 |
no-host |
configure.yash |
222,290 |
0 |
0 |
0 |
3,720 |
0 |
862 |
87 |
dash |
22 |
no-host |
configure.yash |
369,694 |
0 |
0 |
0 |
3,728 |
0 |
852 |
76 |
osh-cpython |
30 |
no-host |
configure.yash |
235,330 |
0 |
0 |
0 |
3,736 |
0 |
847 |
92 |
osh-native |
38 |
no-host |
configure.yash |
235,263 |
0 |
0 |
0 |
3,736 |
0 |
847 |
94 |
osh-native-souffle |
0 |
no-host |
hello-world |
147 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
75 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,973 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host