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 |
461 |
23 |
21 |
24.07 |
1.18 |
bin-true |
no-host |
670 |
542 |
2,291 |
818 |
809 |
3.42 |
1.22 |
configure.cpython |
no-host |
15,248 |
15,170 |
29,176 |
15,347 |
15,452 |
1.91 |
1.01 |
configure.ocaml |
no-host |
3,852 |
3,774 |
4,727 |
3,843 |
3,850 |
1.23 |
1.00 |
configure.tcc |
no-host |
48 |
42 |
203 |
49 |
48 |
4.24 |
1.03 |
configure.util-linux |
no-host |
14,170 |
15,011 |
31,792 |
14,475 |
14,403 |
2.24 |
1.02 |
configure.yash |
no-host |
1,835 |
1,778 |
2,482 |
1,842 |
1,837 |
1.35 |
1.00 |
hello-world |
no-host |
2 |
1 |
56 |
3 |
3 |
33.18 |
1.67 |
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,521 |
1,099 |
23,740 |
3,190 |
3,094 |
9.42 |
1.27 |
bin-true |
no-host |
105,297 |
66,461 |
770,495 |
124,223 |
126,262 |
7.32 |
1.18 |
configure.cpython |
no-host |
2,224,683 |
2,240,927 |
6,195,869 |
2,219,526 |
2,203,754 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,728 |
391,218 |
645,928 |
413,544 |
412,750 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,549 |
5,489 |
24,019 |
6,987 |
6,916 |
3.67 |
1.07 |
configure.util-linux |
no-host |
2,101,698 |
2,258,918 |
5,399,239 |
1,999,091 |
1,990,131 |
2.57 |
0.95 |
configure.yash |
no-host |
256,744 |
244,543 |
388,792 |
257,715 |
257,539 |
1.51 |
1.00 |
hello-world |
no-host |
154 |
84 |
3,942 |
341 |
336 |
25.60 |
2.21 |
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,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
818 |
1 |
2 |
2.6 |
8.3 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,347 |
1 |
63 |
14.9 |
27.4 |
1,771,747 |
49,125 |
28,512 |
85,415 |
878,115 |
808,217 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,475 |
3 |
61 |
21.2 |
30.4 |
2,702,513 |
45,898 |
65,711 |
108,691 |
1,290,640 |
1,303,182 |
32,239 |
41 |
131,422 |
1 |
configure.ocaml |
no-host |
3,843 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,112 |
5,207 |
7,508 |
70,969 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,842 |
1 |
2 |
2.5 |
24.4 |
139,412 |
8,024 |
6,686 |
5,989 |
67,942 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
8.9 |
116,292 |
64,403 |
42,613 |
4,532 |
54,436 |
57,324 |
277 |
3 |
85,226 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
809 |
1 |
2 |
2.6 |
7.6 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,452 |
1 |
62 |
14.9 |
27.5 |
1,771,746 |
44,577 |
28,450 |
85,416 |
878,115 |
808,215 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,403 |
3 |
60 |
21.2 |
30.1 |
2,702,513 |
53,693 |
65,649 |
108,693 |
1,290,640 |
1,303,180 |
32,239 |
41 |
131,298 |
1 |
configure.ocaml |
no-host |
3,850 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,050 |
5,145 |
7,510 |
70,969 |
71,601 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,837 |
1 |
2 |
2.5 |
24.4 |
139,412 |
7,962 |
6,624 |
5,991 |
67,942 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,291 |
64,341 |
42,551 |
4,533 |
54,436 |
57,322 |
277 |
3 |
85,102 |
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 |
17 |
3 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
8 |
2 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
461 |
421 |
42 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
20 |
3 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
15 |
7 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
670 |
493 |
208 |
3.0 |
bash |
9 |
no-host |
bin-true |
542 |
416 |
136 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,291 |
1,443 |
1,102 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
818 |
601 |
231 |
8.3 |
osh-native |
33 |
no-host |
bin-true |
809 |
558 |
264 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,248 |
9,349 |
6,306 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,170 |
9,163 |
6,432 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
29,176 |
17,621 |
13,422 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,347 |
9,178 |
6,439 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,452 |
8,900 |
6,691 |
27.5 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,852 |
1,640 |
1,249 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,774 |
1,662 |
1,131 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,727 |
2,346 |
1,593 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,843 |
1,649 |
1,234 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,850 |
1,700 |
1,187 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
33 |
16 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
42 |
27 |
15 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
203 |
146 |
61 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
30 |
20 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
16 |
33 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,170 |
8,969 |
5,674 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
15,011 |
9,353 |
6,157 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,792 |
21,055 |
11,821 |
30.0 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,475 |
8,706 |
5,968 |
30.4 |
osh-native |
35 |
no-host |
configure.util-linux |
14,403 |
8,690 |
5,915 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,835 |
1,096 |
748 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,778 |
1,025 |
756 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,482 |
1,616 |
907 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,842 |
968 |
878 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,837 |
1,032 |
809 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
44 |
12 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.4 |
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,521 |
0 |
0 |
0 |
16 |
0 |
41 |
4 |
bash |
15 |
no-host |
abuild-print-help |
1,099 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,740 |
0 |
0 |
0 |
8 |
0 |
45 |
5 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,190 |
0 |
0 |
0 |
16 |
0 |
38 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,094 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,297 |
0 |
0 |
0 |
8 |
0 |
1,997 |
47 |
bash |
9 |
no-host |
bin-true |
66,461 |
0 |
0 |
0 |
8 |
0 |
1,986 |
41 |
dash |
17 |
no-host |
bin-true |
770,495 |
0 |
0 |
0 |
8 |
0 |
2,002 |
160 |
osh-cpython |
25 |
no-host |
bin-true |
124,223 |
0 |
0 |
0 |
16 |
0 |
1,987 |
122 |
osh-native |
33 |
no-host |
bin-true |
126,262 |
0 |
0 |
0 |
16 |
0 |
1,987 |
127 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,224,683 |
0 |
0 |
0 |
32,928 |
0 |
14,442 |
1,057 |
bash |
10 |
no-host |
configure.cpython |
2,240,927 |
0 |
0 |
0 |
32,992 |
0 |
14,593 |
932 |
dash |
18 |
no-host |
configure.cpython |
6,195,869 |
1 |
0 |
0 |
27,512 |
0 |
13,368 |
1,300 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,219,526 |
0 |
0 |
0 |
27,520 |
0 |
13,211 |
1,116 |
osh-native |
34 |
no-host |
configure.cpython |
2,203,754 |
0 |
0 |
0 |
27,520 |
0 |
13,182 |
985 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,728 |
0 |
0 |
0 |
5,120 |
0 |
1,961 |
144 |
bash |
12 |
no-host |
configure.ocaml |
391,218 |
0 |
0 |
0 |
5,112 |
0 |
1,932 |
159 |
dash |
20 |
no-host |
configure.ocaml |
645,928 |
0 |
0 |
0 |
5,112 |
0 |
1,857 |
187 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,544 |
0 |
0 |
0 |
5,120 |
0 |
1,935 |
150 |
osh-native |
36 |
no-host |
configure.ocaml |
412,750 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
164 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,549 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,489 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
24,019 |
0 |
0 |
0 |
96 |
0 |
53 |
6 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,987 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,916 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,101,698 |
0 |
0 |
0 |
42,400 |
0 |
18,562 |
1,185 |
bash |
11 |
no-host |
configure.util-linux |
2,258,918 |
0 |
0 |
0 |
42,584 |
0 |
17,439 |
1,077 |
dash |
19 |
no-host |
configure.util-linux |
5,399,239 |
10 |
0 |
0 |
39,112 |
0 |
16,950 |
1,176 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,999,091 |
1 |
0 |
0 |
39,128 |
0 |
16,990 |
995 |
osh-native |
35 |
no-host |
configure.util-linux |
1,990,131 |
0 |
0 |
0 |
39,136 |
0 |
16,956 |
997 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,744 |
0 |
0 |
0 |
4,120 |
0 |
869 |
79 |
bash |
14 |
no-host |
configure.yash |
244,543 |
0 |
0 |
0 |
3,720 |
0 |
868 |
75 |
dash |
22 |
no-host |
configure.yash |
388,792 |
0 |
0 |
0 |
3,728 |
0 |
851 |
93 |
osh-cpython |
30 |
no-host |
configure.yash |
257,715 |
0 |
0 |
0 |
3,736 |
0 |
848 |
93 |
osh-native |
38 |
no-host |
configure.yash |
257,539 |
0 |
0 |
0 |
3,736 |
0 |
846 |
78 |
osh-native-souffle |
0 |
no-host |
hello-world |
154 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
84 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,942 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
341 |
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