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 |
462 |
22 |
20 |
24.07 |
1.15 |
bin-true |
no-host |
672 |
551 |
2,292 |
815 |
807 |
3.41 |
1.21 |
configure.cpython |
no-host |
15,021 |
15,091 |
29,134 |
15,110 |
15,207 |
1.94 |
1.01 |
configure.ocaml |
no-host |
3,830 |
3,715 |
4,649 |
3,818 |
3,809 |
1.21 |
1.00 |
configure.tcc |
no-host |
48 |
41 |
201 |
49 |
48 |
4.22 |
1.03 |
configure.util-linux |
no-host |
14,012 |
14,892 |
31,545 |
14,277 |
14,265 |
2.25 |
1.02 |
configure.yash |
no-host |
1,851 |
1,763 |
2,467 |
1,822 |
1,823 |
1.33 |
0.98 |
hello-world |
no-host |
2 |
1 |
58 |
3 |
3 |
37.85 |
1.86 |
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,563 |
1,136 |
23,677 |
3,205 |
3,077 |
9.24 |
1.25 |
bin-true |
no-host |
106,245 |
65,407 |
776,679 |
125,196 |
124,230 |
7.31 |
1.18 |
configure.cpython |
no-host |
2,225,907 |
2,243,571 |
6,201,961 |
2,218,986 |
2,204,195 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,439 |
391,228 |
646,772 |
413,607 |
412,465 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,553 |
5,494 |
24,060 |
6,979 |
6,916 |
3.67 |
1.07 |
configure.util-linux |
no-host |
2,112,114 |
2,258,181 |
5,391,593 |
1,994,520 |
1,992,604 |
2.55 |
0.94 |
configure.yash |
no-host |
256,360 |
244,483 |
389,460 |
258,113 |
257,538 |
1.52 |
1.01 |
hello-world |
no-host |
151 |
79 |
3,950 |
342 |
339 |
26.16 |
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,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
815 |
1 |
2 |
2.6 |
8.0 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,110 |
1 |
61 |
14.9 |
27.5 |
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,277 |
3 |
60 |
21.2 |
30.1 |
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,818 |
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,822 |
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 |
22 |
1 |
2 |
2.8 |
9.0 |
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 |
807 |
1 |
2 |
2.6 |
7.5 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,207 |
1 |
60 |
14.9 |
27.4 |
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,265 |
3 |
59 |
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,809 |
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,823 |
1 |
2 |
2.5 |
24.2 |
139,412 |
7,962 |
6,624 |
5,991 |
67,942 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
20 |
1 |
2 |
2.8 |
8.5 |
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 |
9 |
1 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
462 |
427 |
37 |
22.4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
16 |
7 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
11 |
10 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
672 |
491 |
211 |
3.0 |
bash |
9 |
no-host |
bin-true |
551 |
428 |
128 |
1.3 |
dash |
17 |
no-host |
bin-true |
2,292 |
1,470 |
1,081 |
18.2 |
osh-cpython |
25 |
no-host |
bin-true |
815 |
579 |
249 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
807 |
580 |
242 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,021 |
8,929 |
6,493 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,091 |
9,147 |
6,363 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
29,134 |
17,679 |
13,347 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,110 |
9,076 |
6,305 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,207 |
8,916 |
6,428 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,830 |
1,672 |
1,199 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,715 |
1,519 |
1,214 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,649 |
2,202 |
1,651 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,818 |
1,615 |
1,244 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,809 |
1,617 |
1,229 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
25 |
23 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
28 |
14 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
201 |
131 |
74 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
24 |
26 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
42 |
7 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,012 |
8,784 |
5,713 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
14,892 |
9,123 |
6,266 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,545 |
20,837 |
11,798 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,277 |
8,734 |
5,738 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,265 |
8,574 |
5,886 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,851 |
1,071 |
789 |
24.5 |
bash |
14 |
no-host |
configure.yash |
1,763 |
1,070 |
695 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,467 |
1,524 |
986 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,822 |
1,024 |
802 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,823 |
1,011 |
815 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
58 |
42 |
16 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.2 |
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,563 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,136 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,677 |
0 |
0 |
0 |
8 |
0 |
45 |
9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,205 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,077 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,245 |
0 |
0 |
0 |
8 |
0 |
1,990 |
63 |
bash |
9 |
no-host |
bin-true |
65,407 |
0 |
0 |
0 |
8 |
0 |
1,987 |
38 |
dash |
17 |
no-host |
bin-true |
776,679 |
0 |
0 |
0 |
8 |
0 |
1,999 |
165 |
osh-cpython |
25 |
no-host |
bin-true |
125,196 |
0 |
0 |
0 |
16 |
0 |
1,993 |
293 |
osh-native |
33 |
no-host |
bin-true |
124,230 |
0 |
0 |
0 |
16 |
0 |
1,997 |
174 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,225,907 |
0 |
0 |
0 |
32,928 |
0 |
14,518 |
1,024 |
bash |
10 |
no-host |
configure.cpython |
2,243,571 |
0 |
0 |
0 |
32,992 |
0 |
14,662 |
1,031 |
dash |
18 |
no-host |
configure.cpython |
6,201,961 |
1 |
0 |
0 |
27,512 |
0 |
13,258 |
1,244 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,218,986 |
0 |
0 |
0 |
27,520 |
0 |
13,305 |
1,089 |
osh-native |
34 |
no-host |
configure.cpython |
2,204,195 |
0 |
0 |
0 |
27,520 |
0 |
13,115 |
988 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,439 |
0 |
0 |
0 |
5,120 |
0 |
1,946 |
174 |
bash |
12 |
no-host |
configure.ocaml |
391,228 |
0 |
0 |
0 |
5,112 |
0 |
1,901 |
147 |
dash |
20 |
no-host |
configure.ocaml |
646,772 |
0 |
0 |
0 |
5,112 |
0 |
1,855 |
191 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,607 |
0 |
0 |
0 |
5,120 |
0 |
1,938 |
154 |
osh-native |
36 |
no-host |
configure.ocaml |
412,465 |
0 |
0 |
0 |
5,120 |
0 |
1,932 |
163 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,553 |
0 |
0 |
0 |
104 |
0 |
48 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,494 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,060 |
0 |
0 |
0 |
96 |
0 |
53 |
10 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,979 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,916 |
0 |
0 |
0 |
104 |
0 |
47 |
10 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,112,114 |
1 |
0 |
0 |
42,400 |
0 |
18,602 |
1,049 |
bash |
11 |
no-host |
configure.util-linux |
2,258,181 |
0 |
0 |
0 |
42,584 |
0 |
17,358 |
1,061 |
dash |
19 |
no-host |
configure.util-linux |
5,391,593 |
8 |
0 |
0 |
39,120 |
0 |
16,977 |
1,325 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,994,520 |
0 |
0 |
0 |
39,120 |
0 |
17,003 |
1,049 |
osh-native |
35 |
no-host |
configure.util-linux |
1,992,604 |
1 |
0 |
0 |
39,128 |
0 |
17,096 |
965 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,360 |
0 |
0 |
0 |
4,120 |
0 |
870 |
76 |
bash |
14 |
no-host |
configure.yash |
244,483 |
0 |
0 |
0 |
3,720 |
0 |
870 |
88 |
dash |
22 |
no-host |
configure.yash |
389,460 |
0 |
0 |
0 |
3,728 |
0 |
854 |
85 |
osh-cpython |
30 |
no-host |
configure.yash |
258,113 |
0 |
0 |
0 |
3,736 |
0 |
849 |
76 |
osh-native |
38 |
no-host |
configure.yash |
257,538 |
0 |
0 |
0 |
3,736 |
0 |
849 |
95 |
osh-native-souffle |
0 |
no-host |
hello-world |
151 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
79 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,950 |
0 |
0 |
0 |
8 |
0 |
7 |
7 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
339 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host