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 |
9 |
468 |
22 |
21 |
23.31 |
1.11 |
bin-true |
no-host |
690 |
551 |
2,395 |
807 |
796 |
3.47 |
1.17 |
configure.cpython |
no-host |
15,954 |
15,879 |
29,697 |
15,386 |
15,498 |
1.86 |
0.96 |
configure.ocaml |
no-host |
3,983 |
3,881 |
4,730 |
3,912 |
3,808 |
1.19 |
0.98 |
configure.tcc |
no-host |
49 |
42 |
212 |
49 |
48 |
4.36 |
1.01 |
configure.util-linux |
no-host |
14,918 |
15,677 |
32,112 |
14,705 |
14,359 |
2.15 |
0.99 |
configure.yash |
no-host |
1,913 |
1,822 |
2,562 |
1,865 |
1,820 |
1.34 |
0.97 |
hello-world |
no-host |
2 |
1 |
59 |
3 |
3 |
36.83 |
1.75 |
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,561 |
1,104 |
23,607 |
3,197 |
3,113 |
9.22 |
1.25 |
bin-true |
no-host |
104,367 |
65,409 |
780,384 |
127,119 |
123,223 |
7.48 |
1.22 |
configure.cpython |
no-host |
2,212,594 |
2,248,088 |
6,244,165 |
2,217,986 |
2,217,885 |
2.82 |
1.00 |
configure.ocaml |
no-host |
410,775 |
390,995 |
647,020 |
413,481 |
412,222 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,573 |
5,471 |
23,994 |
6,954 |
6,886 |
3.65 |
1.06 |
configure.util-linux |
no-host |
2,094,623 |
2,263,770 |
5,375,786 |
1,998,848 |
1,989,702 |
2.57 |
0.95 |
configure.yash |
no-host |
256,209 |
245,132 |
386,538 |
257,722 |
257,577 |
1.51 |
1.01 |
hello-world |
no-host |
150 |
83 |
3,960 |
345 |
336 |
26.40 |
2.30 |
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.4 |
3,790 |
3,790 |
0 |
694 |
1,862 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
807 |
1 |
2 |
2.6 |
7.9 |
153,754 |
12,330 |
2,895 |
8,743 |
76,326 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,386 |
1 |
62 |
14.9 |
27.4 |
1,771,755 |
49,613 |
28,520 |
85,415 |
878,119 |
808,221 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,705 |
3 |
61 |
21.2 |
30.1 |
2,702,521 |
45,808 |
65,719 |
108,691 |
1,290,644 |
1,303,186 |
32,239 |
41 |
131,438 |
1 |
configure.ocaml |
no-host |
3,912 |
1 |
2 |
2.6 |
20.6 |
150,088 |
11,120 |
5,215 |
7,508 |
70,973 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.4 |
30,594 |
30,594 |
0 |
1,518 |
14,645 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,865 |
1 |
2 |
2.5 |
24.4 |
139,420 |
8,032 |
6,694 |
5,989 |
67,946 |
65,485 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
116,300 |
64,411 |
42,621 |
4,532 |
54,440 |
57,328 |
277 |
3 |
85,242 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,789 |
3,789 |
0 |
695 |
1,862 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
796 |
1 |
2 |
2.6 |
7.7 |
153,753 |
12,119 |
2,833 |
8,744 |
76,326 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,498 |
1 |
61 |
14.9 |
27.4 |
1,771,754 |
49,071 |
28,458 |
85,416 |
878,119 |
808,219 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,359 |
3 |
60 |
21.2 |
30.3 |
2,702,521 |
53,701 |
65,657 |
108,693 |
1,290,644 |
1,303,184 |
32,239 |
41 |
131,314 |
1 |
configure.ocaml |
no-host |
3,808 |
0 |
2 |
2.6 |
20.6 |
150,088 |
11,058 |
5,153 |
7,510 |
70,973 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,594 |
30,594 |
0 |
1,520 |
14,645 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,820 |
1 |
2 |
2.5 |
24.2 |
139,420 |
7,970 |
6,632 |
5,991 |
67,946 |
65,483 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,299 |
64,349 |
42,559 |
4,533 |
54,440 |
57,326 |
277 |
3 |
85,118 |
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 |
6 |
15 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
8 |
1 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
468 |
423 |
48 |
22.8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
13 |
10 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
17 |
5 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
690 |
506 |
213 |
2.9 |
bash |
9 |
no-host |
bin-true |
551 |
423 |
137 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,395 |
1,572 |
1,110 |
18.3 |
osh-cpython |
25 |
no-host |
bin-true |
807 |
584 |
239 |
7.9 |
osh-native |
33 |
no-host |
bin-true |
796 |
568 |
244 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,954 |
9,382 |
6,976 |
27.3 |
bash |
10 |
no-host |
configure.cpython |
15,879 |
9,427 |
6,886 |
27.7 |
dash |
18 |
no-host |
configure.cpython |
29,697 |
17,858 |
13,803 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,386 |
9,047 |
6,601 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,498 |
9,047 |
6,566 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,983 |
1,654 |
1,371 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,881 |
1,628 |
1,272 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,730 |
2,408 |
1,541 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,912 |
1,618 |
1,331 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,808 |
1,551 |
1,291 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
28 |
22 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
42 |
25 |
18 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
212 |
153 |
63 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
28 |
22 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
29 |
19 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,918 |
9,118 |
6,281 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
15,677 |
9,628 |
6,542 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
32,112 |
21,300 |
11,943 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,705 |
8,768 |
6,119 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,359 |
8,568 |
5,982 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,913 |
1,095 |
828 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,822 |
1,111 |
715 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,562 |
1,522 |
1,086 |
24.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,865 |
1,098 |
770 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,820 |
1,080 |
744 |
24.2 |
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 |
59 |
44 |
16 |
18.0 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.4 |
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,561 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,104 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,607 |
0 |
0 |
0 |
8 |
0 |
44 |
9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,197 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,113 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,367 |
0 |
0 |
0 |
8 |
0 |
1,981 |
51 |
bash |
9 |
no-host |
bin-true |
65,409 |
0 |
0 |
0 |
8 |
0 |
1,985 |
36 |
dash |
17 |
no-host |
bin-true |
780,384 |
0 |
0 |
0 |
8 |
0 |
1,996 |
122 |
osh-cpython |
25 |
no-host |
bin-true |
127,119 |
0 |
0 |
0 |
16 |
0 |
1,992 |
59 |
osh-native |
33 |
no-host |
bin-true |
123,223 |
0 |
0 |
0 |
16 |
0 |
1,993 |
51 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,212,594 |
0 |
0 |
0 |
32,952 |
0 |
14,495 |
950 |
bash |
10 |
no-host |
configure.cpython |
2,248,088 |
1 |
0 |
0 |
32,992 |
0 |
14,600 |
1,006 |
dash |
18 |
no-host |
configure.cpython |
6,244,165 |
0 |
0 |
0 |
27,512 |
0 |
13,213 |
1,070 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,217,986 |
0 |
0 |
0 |
27,520 |
0 |
13,232 |
1,025 |
osh-native |
34 |
no-host |
configure.cpython |
2,217,885 |
0 |
0 |
0 |
27,520 |
0 |
13,266 |
895 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,775 |
0 |
0 |
0 |
5,120 |
0 |
1,937 |
133 |
bash |
12 |
no-host |
configure.ocaml |
390,995 |
0 |
0 |
0 |
5,112 |
0 |
1,935 |
152 |
dash |
20 |
no-host |
configure.ocaml |
647,020 |
0 |
0 |
0 |
5,112 |
0 |
1,851 |
174 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,481 |
0 |
0 |
0 |
5,120 |
0 |
1,930 |
163 |
osh-native |
36 |
no-host |
configure.ocaml |
412,222 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
168 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,573 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,471 |
0 |
0 |
0 |
96 |
0 |
46 |
1 |
dash |
21 |
no-host |
configure.tcc |
23,994 |
0 |
0 |
0 |
96 |
0 |
53 |
9 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,954 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,886 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,094,623 |
0 |
0 |
0 |
42,400 |
0 |
18,621 |
976 |
bash |
11 |
no-host |
configure.util-linux |
2,263,770 |
0 |
0 |
0 |
42,584 |
0 |
17,402 |
1,134 |
dash |
19 |
no-host |
configure.util-linux |
5,375,786 |
9 |
0 |
0 |
39,120 |
0 |
16,981 |
1,193 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,998,848 |
0 |
0 |
0 |
39,128 |
0 |
16,998 |
1,116 |
osh-native |
35 |
no-host |
configure.util-linux |
1,989,702 |
3 |
0 |
0 |
39,136 |
0 |
16,973 |
905 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,209 |
0 |
0 |
0 |
4,120 |
0 |
864 |
83 |
bash |
14 |
no-host |
configure.yash |
245,132 |
0 |
0 |
0 |
3,720 |
0 |
868 |
66 |
dash |
22 |
no-host |
configure.yash |
386,538 |
0 |
0 |
0 |
3,728 |
0 |
852 |
92 |
osh-cpython |
30 |
no-host |
configure.yash |
257,722 |
0 |
0 |
0 |
3,736 |
0 |
852 |
75 |
osh-native |
38 |
no-host |
configure.yash |
257,577 |
0 |
0 |
0 |
3,736 |
0 |
848 |
88 |
osh-native-souffle |
0 |
no-host |
hello-world |
150 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
83 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,960 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
336 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host