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 |
488 |
21 |
20 |
26.16 |
1.15 |
bin-true |
no-host |
651 |
522 |
2,380 |
800 |
799 |
3.66 |
1.23 |
configure.cpython |
no-host |
14,619 |
14,663 |
28,705 |
14,837 |
15,008 |
1.96 |
1.01 |
configure.ocaml |
no-host |
3,763 |
3,695 |
4,634 |
3,760 |
3,804 |
1.23 |
1.00 |
configure.tcc |
no-host |
46 |
40 |
204 |
47 |
47 |
4.48 |
1.04 |
configure.util-linux |
no-host |
13,578 |
14,471 |
31,477 |
13,987 |
14,018 |
2.32 |
1.03 |
configure.yash |
no-host |
1,778 |
1,735 |
2,458 |
1,794 |
1,814 |
1.38 |
1.01 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
38.68 |
1.90 |
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,518 |
1,091 |
24,363 |
3,197 |
3,106 |
9.68 |
1.27 |
bin-true |
no-host |
106,346 |
66,439 |
808,604 |
127,186 |
127,051 |
7.60 |
1.20 |
configure.cpython |
no-host |
2,009,332 |
2,017,482 |
6,090,130 |
2,004,688 |
2,000,954 |
3.03 |
1.00 |
configure.ocaml |
no-host |
373,262 |
353,882 |
617,078 |
376,872 |
375,728 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,080 |
5,009 |
24,057 |
6,518 |
6,436 |
3.96 |
1.07 |
configure.util-linux |
no-host |
1,912,114 |
2,074,164 |
5,304,630 |
1,824,607 |
1,811,681 |
2.77 |
0.95 |
configure.yash |
no-host |
233,785 |
221,731 |
369,118 |
235,794 |
234,921 |
1.58 |
1.01 |
hello-world |
no-host |
146 |
77 |
3,977 |
344 |
340 |
27.24 |
2.36 |
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 |
800 |
1 |
2 |
2.6 |
8.1 |
153,772 |
12,413 |
2,901 |
8,752 |
76,337 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,837 |
1 |
62 |
15.3 |
29.3 |
1,773,763 |
49,828 |
28,526 |
91,505 |
881,465 |
800,793 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,987 |
3 |
62 |
21.6 |
30.2 |
2,704,674 |
53,757 |
65,725 |
114,372 |
1,293,957 |
1,296,345 |
32,241 |
41 |
131,450 |
1 |
configure.ocaml |
no-host |
3,760 |
1 |
2 |
2.6 |
22.6 |
149,788 |
11,154 |
5,221 |
7,733 |
70,844 |
71,211 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.7 |
30,573 |
30,573 |
0 |
1,542 |
14,635 |
14,396 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,794 |
1 |
2 |
2.6 |
26.4 |
139,684 |
8,041 |
6,700 |
6,395 |
68,253 |
65,036 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
9.2 |
116,321 |
64,419 |
42,627 |
4,544 |
54,454 |
57,323 |
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 |
799 |
1 |
2 |
2.6 |
7.6 |
153,771 |
12,332 |
2,896 |
8,753 |
76,337 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,008 |
1 |
63 |
15.3 |
29.2 |
1,773,762 |
49,823 |
28,521 |
91,506 |
881,465 |
800,791 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,018 |
3 |
64 |
21.6 |
30.2 |
2,704,674 |
53,734 |
65,720 |
114,374 |
1,293,957 |
1,296,343 |
32,241 |
41 |
131,440 |
1 |
configure.ocaml |
no-host |
3,804 |
1 |
2 |
2.6 |
22.6 |
149,788 |
11,149 |
5,216 |
7,735 |
70,844 |
71,209 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.4 |
30,573 |
30,573 |
0 |
1,544 |
14,635 |
14,394 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,814 |
1 |
2 |
2.6 |
26.3 |
139,684 |
8,030 |
6,689 |
6,397 |
68,253 |
65,034 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
20 |
1 |
2 |
2.8 |
8.7 |
116,320 |
64,414 |
42,622 |
4,545 |
54,454 |
57,321 |
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 |
19 |
10 |
9 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
6 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
488 |
428 |
63 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
21 |
12 |
10 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
12 |
8 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
651 |
309 |
376 |
3.0 |
bash |
9 |
no-host |
bin-true |
522 |
286 |
247 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,380 |
801 |
1,839 |
18.6 |
osh-cpython |
25 |
no-host |
bin-true |
800 |
299 |
519 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
799 |
283 |
533 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,619 |
6,639 |
8,395 |
29.3 |
bash |
10 |
no-host |
configure.cpython |
14,663 |
6,670 |
8,418 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
28,705 |
14,193 |
16,407 |
29.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,837 |
6,576 |
8,540 |
29.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,008 |
6,429 |
8,651 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,763 |
1,279 |
1,504 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,695 |
1,272 |
1,445 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,634 |
1,918 |
1,934 |
22.5 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,760 |
1,312 |
1,489 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,804 |
1,322 |
1,521 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
19 |
27 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
40 |
21 |
20 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
204 |
152 |
56 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
47 |
23 |
25 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
21 |
27 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,578 |
5,719 |
8,342 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
14,471 |
5,902 |
9,085 |
30.4 |
dash |
19 |
no-host |
configure.util-linux |
31,477 |
17,922 |
14,647 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
13,987 |
5,515 |
8,688 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
14,018 |
5,621 |
8,592 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,778 |
921 |
867 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,735 |
873 |
866 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,458 |
1,366 |
1,135 |
26.3 |
osh-cpython |
30 |
no-host |
configure.yash |
1,794 |
893 |
906 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,814 |
913 |
907 |
26.3 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
38 |
18 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
2 |
1 |
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,518 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,091 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,363 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,197 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,106 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,346 |
0 |
0 |
0 |
8 |
0 |
1,979 |
97 |
bash |
9 |
no-host |
bin-true |
66,439 |
0 |
0 |
0 |
8 |
0 |
1,974 |
74 |
dash |
17 |
no-host |
bin-true |
808,604 |
0 |
0 |
0 |
8 |
0 |
1,996 |
230 |
osh-cpython |
25 |
no-host |
bin-true |
127,186 |
0 |
0 |
0 |
16 |
0 |
1,977 |
125 |
osh-native |
33 |
no-host |
bin-true |
127,051 |
0 |
0 |
0 |
16 |
0 |
1,970 |
208 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,009,332 |
0 |
0 |
0 |
32,928 |
0 |
14,239 |
1,133 |
bash |
10 |
no-host |
configure.cpython |
2,017,482 |
1 |
0 |
0 |
32,992 |
0 |
14,315 |
1,194 |
dash |
18 |
no-host |
configure.cpython |
6,090,130 |
0 |
0 |
0 |
27,512 |
0 |
13,035 |
1,086 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,004,688 |
1 |
0 |
0 |
27,520 |
0 |
13,131 |
1,173 |
osh-native |
34 |
no-host |
configure.cpython |
2,000,954 |
0 |
0 |
0 |
27,520 |
0 |
13,113 |
998 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,262 |
0 |
0 |
0 |
5,120 |
0 |
1,944 |
212 |
bash |
12 |
no-host |
configure.ocaml |
353,882 |
0 |
0 |
0 |
5,112 |
0 |
1,940 |
180 |
dash |
20 |
no-host |
configure.ocaml |
617,078 |
1 |
0 |
0 |
5,112 |
0 |
1,852 |
212 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,872 |
0 |
0 |
0 |
5,120 |
0 |
1,915 |
206 |
osh-native |
36 |
no-host |
configure.ocaml |
375,728 |
0 |
0 |
0 |
5,120 |
0 |
1,923 |
245 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,080 |
0 |
0 |
0 |
104 |
0 |
48 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,009 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,057 |
0 |
0 |
0 |
96 |
0 |
52 |
5 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,518 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,436 |
0 |
0 |
0 |
104 |
0 |
47 |
12 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,912,114 |
0 |
0 |
0 |
42,408 |
0 |
18,435 |
1,178 |
bash |
11 |
no-host |
configure.util-linux |
2,074,164 |
1 |
0 |
0 |
42,592 |
0 |
17,305 |
1,365 |
dash |
19 |
no-host |
configure.util-linux |
5,304,630 |
5 |
0 |
0 |
39,136 |
0 |
17,037 |
1,367 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,824,607 |
1 |
0 |
0 |
39,120 |
0 |
17,032 |
1,147 |
osh-native |
35 |
no-host |
configure.util-linux |
1,811,681 |
3 |
0 |
0 |
39,136 |
0 |
16,989 |
1,190 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,785 |
0 |
0 |
0 |
4,120 |
0 |
866 |
95 |
bash |
14 |
no-host |
configure.yash |
221,731 |
0 |
0 |
0 |
3,720 |
0 |
870 |
72 |
dash |
22 |
no-host |
configure.yash |
369,118 |
0 |
0 |
0 |
3,728 |
0 |
855 |
89 |
osh-cpython |
30 |
no-host |
configure.yash |
235,794 |
0 |
0 |
0 |
3,736 |
0 |
845 |
86 |
osh-native |
38 |
no-host |
configure.yash |
234,921 |
0 |
0 |
0 |
3,736 |
0 |
851 |
97 |
osh-native-souffle |
0 |
no-host |
hello-world |
146 |
0 |
0 |
0 |
8 |
0 |
1 |
1 |
bash |
8 |
no-host |
hello-world |
77 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,977 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
340 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host