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 |
474 |
22 |
21 |
24.69 |
1.17 |
bin-true |
no-host |
684 |
547 |
2,312 |
807 |
817 |
3.38 |
1.18 |
configure.cpython |
no-host |
15,338 |
15,398 |
29,400 |
15,602 |
16,046 |
1.92 |
1.02 |
configure.ocaml |
no-host |
3,868 |
3,789 |
4,753 |
3,912 |
3,877 |
1.23 |
1.01 |
configure.tcc |
no-host |
49 |
43 |
203 |
50 |
49 |
4.17 |
1.04 |
configure.util-linux |
no-host |
14,292 |
15,130 |
31,892 |
14,646 |
14,603 |
2.23 |
1.02 |
configure.yash |
no-host |
1,847 |
1,794 |
2,505 |
1,877 |
1,860 |
1.36 |
1.02 |
hello-world |
no-host |
1 |
1 |
57 |
3 |
3 |
38.69 |
1.94 |
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,516 |
1,096 |
23,545 |
3,203 |
3,091 |
9.36 |
1.27 |
bin-true |
no-host |
105,287 |
65,561 |
768,790 |
124,227 |
127,145 |
7.30 |
1.18 |
configure.cpython |
no-host |
2,223,468 |
2,240,087 |
6,191,055 |
2,217,036 |
2,220,011 |
2.78 |
1.00 |
configure.ocaml |
no-host |
410,183 |
390,852 |
643,993 |
412,670 |
413,015 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,582 |
5,457 |
23,992 |
6,949 |
6,904 |
3.65 |
1.06 |
configure.util-linux |
no-host |
2,092,027 |
2,268,322 |
5,357,066 |
2,001,169 |
1,993,565 |
2.56 |
0.96 |
configure.yash |
no-host |
256,585 |
244,468 |
387,177 |
256,024 |
258,220 |
1.51 |
1.00 |
hello-world |
no-host |
152 |
82 |
3,957 |
346 |
336 |
26.03 |
2.28 |
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,793 |
3,793 |
0 |
694 |
1,865 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
807 |
1 |
2 |
2.6 |
8.1 |
153,757 |
12,333 |
2,898 |
8,743 |
76,329 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,602 |
1 |
64 |
14.9 |
27.5 |
1,771,758 |
49,616 |
28,523 |
85,415 |
878,122 |
808,221 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,646 |
3 |
64 |
21.2 |
30.1 |
2,702,524 |
53,777 |
65,702 |
108,691 |
1,290,647 |
1,303,186 |
32,239 |
41 |
131,404 |
1 |
configure.ocaml |
no-host |
3,912 |
1 |
2 |
2.6 |
20.6 |
150,091 |
11,123 |
5,218 |
7,508 |
70,976 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.1 |
30,597 |
30,597 |
0 |
1,518 |
14,648 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,877 |
1 |
2 |
2.5 |
24.1 |
139,423 |
8,035 |
6,697 |
5,989 |
67,949 |
65,485 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
116,303 |
64,414 |
42,624 |
4,532 |
54,443 |
57,328 |
277 |
3 |
85,248 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,792 |
3,792 |
0 |
695 |
1,865 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
817 |
1 |
2 |
2.6 |
7.7 |
153,756 |
12,122 |
2,836 |
8,744 |
76,329 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
16,046 |
2 |
65 |
14.9 |
27.4 |
1,771,757 |
49,074 |
28,461 |
85,416 |
878,122 |
808,219 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,603 |
3 |
62 |
21.2 |
30.0 |
2,702,524 |
53,704 |
65,640 |
108,693 |
1,290,647 |
1,303,184 |
32,239 |
41 |
131,280 |
1 |
configure.ocaml |
no-host |
3,877 |
1 |
2 |
2.6 |
20.6 |
150,091 |
11,061 |
5,156 |
7,510 |
70,976 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.0 |
30,597 |
30,597 |
0 |
1,520 |
14,648 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,860 |
1 |
2 |
2.5 |
24.2 |
139,423 |
7,973 |
6,635 |
5,991 |
67,949 |
65,483 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,302 |
64,352 |
42,562 |
4,533 |
54,443 |
57,326 |
277 |
3 |
85,124 |
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 |
19 |
0 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
8 |
2 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
474 |
426 |
51 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
15 |
8 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
14 |
7 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
684 |
515 |
204 |
3.0 |
bash |
9 |
no-host |
bin-true |
547 |
421 |
134 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,312 |
1,462 |
1,118 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
807 |
569 |
254 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
817 |
587 |
246 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,338 |
9,214 |
6,526 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,398 |
9,116 |
6,706 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,400 |
17,438 |
13,870 |
28.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,602 |
9,300 |
6,571 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
16,046 |
9,306 |
6,652 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,868 |
1,663 |
1,243 |
20.4 |
bash |
12 |
no-host |
configure.ocaml |
3,789 |
1,597 |
1,211 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,753 |
2,376 |
1,593 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,912 |
1,627 |
1,324 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,877 |
1,719 |
1,194 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
38 |
11 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
43 |
25 |
18 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
203 |
149 |
58 |
19.1 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
34 |
17 |
19.1 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
25 |
24 |
19.0 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,292 |
9,134 |
5,628 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
15,130 |
9,172 |
6,458 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,892 |
21,269 |
11,738 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,646 |
8,881 |
5,955 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,603 |
8,784 |
6,018 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,847 |
1,109 |
747 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,794 |
1,072 |
726 |
24.1 |
dash |
22 |
no-host |
configure.yash |
2,505 |
1,534 |
1,014 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,877 |
1,094 |
788 |
24.1 |
osh-native |
38 |
no-host |
configure.yash |
1,860 |
1,011 |
853 |
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.6 |
dash |
16 |
no-host |
hello-world |
57 |
41 |
16 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
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,516 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,096 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,545 |
0 |
0 |
0 |
8 |
0 |
45 |
3 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,203 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,091 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,287 |
0 |
0 |
0 |
8 |
0 |
1,986 |
163 |
bash |
9 |
no-host |
bin-true |
65,561 |
0 |
0 |
0 |
8 |
0 |
1,982 |
65 |
dash |
17 |
no-host |
bin-true |
768,790 |
0 |
0 |
0 |
8 |
0 |
1,997 |
109 |
osh-cpython |
25 |
no-host |
bin-true |
124,227 |
0 |
0 |
0 |
16 |
0 |
1,989 |
58 |
osh-native |
33 |
no-host |
bin-true |
127,145 |
0 |
0 |
0 |
16 |
0 |
1,994 |
58 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,223,468 |
0 |
0 |
0 |
32,928 |
0 |
14,527 |
1,098 |
bash |
10 |
no-host |
configure.cpython |
2,240,087 |
0 |
0 |
0 |
32,992 |
0 |
14,548 |
1,032 |
dash |
18 |
no-host |
configure.cpython |
6,191,055 |
0 |
0 |
0 |
27,512 |
0 |
13,209 |
1,264 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,217,036 |
0 |
0 |
0 |
27,520 |
0 |
13,285 |
1,061 |
osh-native |
34 |
no-host |
configure.cpython |
2,220,011 |
0 |
0 |
0 |
27,520 |
0 |
13,271 |
940 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,183 |
0 |
0 |
0 |
5,120 |
0 |
1,949 |
167 |
bash |
12 |
no-host |
configure.ocaml |
390,852 |
0 |
0 |
0 |
5,112 |
0 |
1,876 |
147 |
dash |
20 |
no-host |
configure.ocaml |
643,993 |
0 |
0 |
0 |
5,112 |
0 |
1,853 |
169 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,670 |
0 |
0 |
0 |
5,120 |
0 |
1,932 |
178 |
osh-native |
36 |
no-host |
configure.ocaml |
413,015 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
171 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,582 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,457 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,992 |
0 |
0 |
0 |
96 |
0 |
53 |
10 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,949 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,904 |
0 |
0 |
0 |
104 |
0 |
47 |
6 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,092,027 |
0 |
0 |
0 |
42,400 |
0 |
18,543 |
1,007 |
bash |
11 |
no-host |
configure.util-linux |
2,268,322 |
1 |
0 |
0 |
42,584 |
0 |
17,396 |
1,091 |
dash |
19 |
no-host |
configure.util-linux |
5,357,066 |
1 |
0 |
0 |
39,144 |
0 |
17,089 |
1,236 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,001,169 |
0 |
0 |
0 |
39,128 |
0 |
16,992 |
993 |
osh-native |
35 |
no-host |
configure.util-linux |
1,993,565 |
1 |
0 |
0 |
39,136 |
0 |
16,926 |
1,145 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,585 |
0 |
0 |
0 |
4,120 |
0 |
864 |
76 |
bash |
14 |
no-host |
configure.yash |
244,468 |
0 |
0 |
0 |
3,720 |
0 |
871 |
76 |
dash |
22 |
no-host |
configure.yash |
387,177 |
0 |
0 |
0 |
3,728 |
0 |
853 |
82 |
osh-cpython |
30 |
no-host |
configure.yash |
256,024 |
0 |
0 |
0 |
3,736 |
0 |
849 |
86 |
osh-native |
38 |
no-host |
configure.yash |
258,220 |
0 |
0 |
0 |
3,736 |
0 |
849 |
68 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
82 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,957 |
0 |
0 |
0 |
8 |
0 |
7 |
6 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
336 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host