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 |
10 |
468 |
22 |
21 |
24.61 |
1.14 |
bin-true |
no-host |
676 |
549 |
2,269 |
807 |
804 |
3.35 |
1.19 |
configure.cpython |
no-host |
14,843 |
15,096 |
28,948 |
15,049 |
15,218 |
1.95 |
1.01 |
configure.ocaml |
no-host |
3,834 |
3,765 |
4,669 |
3,784 |
3,785 |
1.22 |
0.99 |
configure.tcc |
no-host |
47 |
41 |
204 |
48 |
48 |
4.34 |
1.02 |
configure.util-linux |
no-host |
13,889 |
14,841 |
31,392 |
14,224 |
14,135 |
2.26 |
1.02 |
configure.yash |
no-host |
1,822 |
1,768 |
2,454 |
1,808 |
1,798 |
1.35 |
0.99 |
hello-world |
no-host |
1 |
1 |
55 |
3 |
3 |
38.14 |
2.02 |
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,540 |
1,121 |
23,324 |
3,178 |
3,100 |
9.18 |
1.25 |
bin-true |
no-host |
104,404 |
66,472 |
768,628 |
125,160 |
124,093 |
7.36 |
1.20 |
configure.cpython |
no-host |
2,216,591 |
2,243,748 |
6,199,131 |
2,216,402 |
2,223,461 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,911 |
390,683 |
644,227 |
413,306 |
412,177 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,562 |
5,467 |
23,950 |
6,948 |
6,900 |
3.65 |
1.06 |
configure.util-linux |
no-host |
2,094,760 |
2,269,851 |
5,363,368 |
2,008,005 |
1,989,668 |
2.56 |
0.96 |
configure.yash |
no-host |
256,163 |
245,149 |
387,414 |
257,765 |
258,402 |
1.51 |
1.01 |
hello-world |
no-host |
152 |
83 |
3,951 |
343 |
341 |
25.99 |
2.26 |
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,790 |
3,790 |
0 |
695 |
1,862 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
807 |
1 |
2 |
2.6 |
8.4 |
153,754 |
12,330 |
2,895 |
8,744 |
76,326 |
68,684 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,049 |
1 |
60 |
14.9 |
27.4 |
1,771,801 |
49,613 |
28,520 |
85,428 |
878,135 |
808,238 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,224 |
2 |
58 |
21.2 |
30.1 |
2,702,547 |
45,808 |
65,719 |
108,700 |
1,290,652 |
1,303,195 |
32,241 |
41 |
131,438 |
1 |
configure.ocaml |
no-host |
3,784 |
0 |
2 |
2.6 |
20.4 |
150,088 |
11,120 |
5,215 |
7,509 |
70,973 |
71,606 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,594 |
30,594 |
0 |
1,519 |
14,645 |
14,430 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,808 |
1 |
2 |
2.5 |
24.2 |
139,420 |
8,032 |
6,694 |
5,990 |
67,946 |
65,484 |
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,533 |
54,440 |
57,327 |
277 |
3 |
85,242 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,789 |
3,789 |
0 |
696 |
1,862 |
1,231 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
804 |
1 |
2 |
2.6 |
7.5 |
153,753 |
12,119 |
2,833 |
8,745 |
76,326 |
68,682 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,218 |
1 |
58 |
14.9 |
27.3 |
1,771,800 |
49,071 |
28,458 |
85,429 |
878,135 |
808,236 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,135 |
3 |
58 |
21.2 |
30.1 |
2,702,547 |
53,701 |
65,657 |
108,702 |
1,290,652 |
1,303,193 |
32,241 |
41 |
131,314 |
1 |
configure.ocaml |
no-host |
3,785 |
0 |
2 |
2.6 |
20.6 |
150,088 |
11,058 |
5,153 |
7,511 |
70,973 |
71,604 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,594 |
30,594 |
0 |
1,521 |
14,645 |
14,428 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,798 |
1 |
2 |
2.5 |
24.2 |
139,420 |
7,970 |
6,632 |
5,992 |
67,946 |
65,482 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.5 |
116,299 |
64,349 |
42,559 |
4,534 |
54,440 |
57,325 |
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 |
19 |
11 |
9 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
9 |
1 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
468 |
406 |
64 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
19 |
3 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
18 |
3 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
676 |
505 |
201 |
2.9 |
bash |
9 |
no-host |
bin-true |
549 |
420 |
137 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,269 |
1,512 |
1,018 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
807 |
560 |
260 |
8.4 |
osh-native |
33 |
no-host |
bin-true |
804 |
565 |
254 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,843 |
8,880 |
6,358 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,096 |
9,082 |
6,437 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
28,948 |
17,654 |
13,164 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,049 |
8,865 |
6,445 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,218 |
8,944 |
6,413 |
27.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,834 |
1,635 |
1,240 |
20.7 |
bash |
12 |
no-host |
configure.ocaml |
3,765 |
1,659 |
1,125 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,669 |
2,295 |
1,584 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,784 |
1,578 |
1,246 |
20.4 |
osh-native |
36 |
no-host |
configure.ocaml |
3,785 |
1,585 |
1,235 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
30 |
18 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
24 |
18 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
204 |
164 |
43 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
19 |
30 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
26 |
23 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,889 |
8,847 |
5,516 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,841 |
9,128 |
6,215 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,392 |
20,674 |
11,801 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,224 |
8,520 |
5,906 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,135 |
8,497 |
5,838 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,822 |
1,006 |
826 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,768 |
1,055 |
716 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,454 |
1,508 |
986 |
24.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,808 |
1,066 |
744 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,798 |
1,054 |
749 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
55 |
32 |
23 |
18.4 |
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,540 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,121 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,324 |
0 |
0 |
0 |
8 |
0 |
45 |
11 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,178 |
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 |
104,404 |
0 |
0 |
0 |
8 |
0 |
1,993 |
109 |
bash |
9 |
no-host |
bin-true |
66,472 |
0 |
0 |
0 |
8 |
0 |
1,992 |
112 |
dash |
17 |
no-host |
bin-true |
768,628 |
0 |
0 |
0 |
8 |
0 |
1,998 |
86 |
osh-cpython |
25 |
no-host |
bin-true |
125,160 |
0 |
0 |
0 |
16 |
0 |
1,990 |
72 |
osh-native |
33 |
no-host |
bin-true |
124,093 |
0 |
0 |
0 |
16 |
0 |
1,987 |
101 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,216,591 |
0 |
0 |
0 |
32,928 |
0 |
14,530 |
1,131 |
bash |
10 |
no-host |
configure.cpython |
2,243,748 |
0 |
0 |
0 |
32,992 |
0 |
14,655 |
1,018 |
dash |
18 |
no-host |
configure.cpython |
6,199,131 |
0 |
0 |
0 |
27,512 |
0 |
13,244 |
1,098 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,216,402 |
0 |
0 |
0 |
27,520 |
0 |
13,305 |
922 |
osh-native |
34 |
no-host |
configure.cpython |
2,223,461 |
0 |
0 |
0 |
27,520 |
0 |
13,313 |
1,068 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,911 |
0 |
0 |
0 |
5,120 |
0 |
1,951 |
156 |
bash |
12 |
no-host |
configure.ocaml |
390,683 |
0 |
0 |
0 |
5,112 |
0 |
1,943 |
171 |
dash |
20 |
no-host |
configure.ocaml |
644,227 |
0 |
0 |
0 |
5,112 |
0 |
1,857 |
175 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,306 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
167 |
osh-native |
36 |
no-host |
configure.ocaml |
412,177 |
0 |
0 |
0 |
5,120 |
0 |
1,935 |
159 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,562 |
0 |
0 |
0 |
104 |
0 |
49 |
4 |
bash |
13 |
no-host |
configure.tcc |
5,467 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
23,950 |
0 |
0 |
0 |
96 |
0 |
53 |
12 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,948 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,900 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,094,760 |
1 |
0 |
0 |
42,400 |
0 |
18,760 |
1,022 |
bash |
11 |
no-host |
configure.util-linux |
2,269,851 |
0 |
0 |
0 |
42,584 |
0 |
17,423 |
1,004 |
dash |
19 |
no-host |
configure.util-linux |
5,363,368 |
8 |
0 |
0 |
39,112 |
0 |
16,935 |
1,338 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,008,005 |
0 |
0 |
0 |
39,120 |
0 |
16,991 |
911 |
osh-native |
35 |
no-host |
configure.util-linux |
1,989,668 |
1 |
0 |
0 |
39,128 |
0 |
16,965 |
1,028 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,163 |
0 |
0 |
0 |
4,120 |
0 |
870 |
89 |
bash |
14 |
no-host |
configure.yash |
245,149 |
0 |
0 |
0 |
3,720 |
0 |
865 |
94 |
dash |
22 |
no-host |
configure.yash |
387,414 |
0 |
0 |
0 |
3,728 |
0 |
851 |
82 |
osh-cpython |
30 |
no-host |
configure.yash |
257,765 |
0 |
0 |
0 |
3,736 |
0 |
848 |
61 |
osh-native |
38 |
no-host |
configure.yash |
258,402 |
0 |
0 |
0 |
3,736 |
0 |
847 |
77 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
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,951 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
343 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
341 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host