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 |
463 |
22 |
21 |
24.51 |
1.16 |
bin-true |
no-host |
671 |
537 |
2,319 |
801 |
808 |
3.46 |
1.19 |
configure.cpython |
no-host |
14,883 |
14,954 |
28,551 |
15,107 |
15,150 |
1.92 |
1.02 |
configure.ocaml |
no-host |
3,810 |
3,711 |
4,599 |
3,804 |
3,787 |
1.21 |
1.00 |
configure.tcc |
no-host |
47 |
41 |
201 |
48 |
49 |
4.26 |
1.03 |
configure.util-linux |
no-host |
13,850 |
14,693 |
31,217 |
14,285 |
14,158 |
2.25 |
1.03 |
configure.yash |
no-host |
1,800 |
1,761 |
2,441 |
1,804 |
1,816 |
1.36 |
1.00 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
37.65 |
1.93 |
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,569 |
1,106 |
23,860 |
3,205 |
3,056 |
9.29 |
1.25 |
bin-true |
no-host |
104,293 |
66,439 |
769,562 |
126,230 |
127,258 |
7.38 |
1.21 |
configure.cpython |
no-host |
2,226,497 |
2,240,271 |
6,241,536 |
2,217,765 |
2,207,016 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,892 |
390,904 |
647,663 |
413,499 |
412,369 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,534 |
5,488 |
24,120 |
6,950 |
6,910 |
3.69 |
1.06 |
configure.util-linux |
no-host |
2,099,277 |
2,265,028 |
5,398,180 |
1,999,054 |
1,989,045 |
2.57 |
0.95 |
configure.yash |
no-host |
256,238 |
245,045 |
388,559 |
258,288 |
257,564 |
1.52 |
1.01 |
hello-world |
no-host |
149 |
81 |
3,944 |
346 |
335 |
26.47 |
2.32 |
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 |
801 |
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,107 |
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,285 |
2 |
60 |
21.2 |
30.3 |
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,804 |
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 |
48 |
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,804 |
1 |
2 |
2.5 |
24.2 |
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 |
808 |
1 |
2 |
2.6 |
7.7 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,150 |
1 |
59 |
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,158 |
3 |
58 |
21.2 |
30.3 |
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,787 |
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 |
49 |
0 |
0 |
1.3 |
19.4 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,816 |
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 |
21 |
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.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
5 |
6 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
463 |
423 |
43 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
19 |
4 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
16 |
5 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
671 |
502 |
200 |
2.9 |
bash |
9 |
no-host |
bin-true |
537 |
416 |
131 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,319 |
1,547 |
1,031 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
801 |
568 |
245 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
808 |
578 |
245 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,883 |
9,103 |
6,183 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
14,954 |
9,019 |
6,356 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
28,551 |
17,514 |
12,894 |
27.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,107 |
8,797 |
6,586 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,150 |
9,086 |
6,202 |
27.5 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,810 |
1,670 |
1,153 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,711 |
1,570 |
1,162 |
20.4 |
dash |
20 |
no-host |
configure.ocaml |
4,599 |
2,284 |
1,524 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,804 |
1,656 |
1,187 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,787 |
1,582 |
1,241 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
28 |
20 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
21 |
20 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
201 |
148 |
56 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
29 |
20 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
38 |
11 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,850 |
8,761 |
5,565 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,693 |
9,122 |
6,076 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,217 |
20,720 |
11,577 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,285 |
8,561 |
5,922 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,158 |
8,621 |
5,738 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,800 |
1,084 |
725 |
24.5 |
bash |
14 |
no-host |
configure.yash |
1,761 |
983 |
782 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,441 |
1,617 |
865 |
24.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,804 |
1,078 |
730 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,816 |
1,045 |
775 |
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 |
56 |
32 |
23 |
18.1 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
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,569 |
0 |
0 |
0 |
16 |
0 |
41 |
5 |
bash |
15 |
no-host |
abuild-print-help |
1,106 |
0 |
0 |
0 |
8 |
0 |
39 |
3 |
dash |
23 |
no-host |
abuild-print-help |
23,860 |
0 |
0 |
0 |
8 |
0 |
45 |
9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,205 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,056 |
0 |
0 |
0 |
16 |
0 |
39 |
6 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,293 |
0 |
0 |
0 |
8 |
0 |
1,993 |
116 |
bash |
9 |
no-host |
bin-true |
66,439 |
0 |
0 |
0 |
8 |
0 |
1,988 |
93 |
dash |
17 |
no-host |
bin-true |
769,562 |
0 |
0 |
0 |
8 |
0 |
1,999 |
305 |
osh-cpython |
25 |
no-host |
bin-true |
126,230 |
0 |
0 |
0 |
16 |
0 |
1,987 |
47 |
osh-native |
33 |
no-host |
bin-true |
127,258 |
0 |
0 |
0 |
16 |
0 |
1,992 |
51 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,226,497 |
0 |
0 |
0 |
32,928 |
0 |
14,516 |
1,108 |
bash |
10 |
no-host |
configure.cpython |
2,240,271 |
0 |
0 |
0 |
32,992 |
0 |
14,668 |
1,205 |
dash |
18 |
no-host |
configure.cpython |
6,241,536 |
0 |
0 |
0 |
27,512 |
0 |
13,244 |
1,345 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,217,765 |
0 |
0 |
0 |
27,520 |
0 |
13,203 |
990 |
osh-native |
34 |
no-host |
configure.cpython |
2,207,016 |
1 |
0 |
0 |
27,520 |
0 |
13,242 |
1,178 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,892 |
0 |
0 |
0 |
5,120 |
0 |
1,959 |
218 |
bash |
12 |
no-host |
configure.ocaml |
390,904 |
0 |
0 |
0 |
5,112 |
0 |
1,937 |
162 |
dash |
20 |
no-host |
configure.ocaml |
647,663 |
0 |
0 |
0 |
5,112 |
0 |
1,858 |
152 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,499 |
0 |
0 |
0 |
5,120 |
0 |
1,923 |
163 |
osh-native |
36 |
no-host |
configure.ocaml |
412,369 |
0 |
0 |
0 |
5,120 |
0 |
1,933 |
144 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,534 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,488 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,120 |
0 |
0 |
0 |
96 |
0 |
53 |
7 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,950 |
0 |
0 |
0 |
104 |
0 |
47 |
6 |
osh-native |
37 |
no-host |
configure.tcc |
6,910 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,099,277 |
1 |
0 |
0 |
42,400 |
0 |
18,618 |
1,103 |
bash |
11 |
no-host |
configure.util-linux |
2,265,028 |
0 |
0 |
0 |
42,584 |
0 |
17,484 |
1,040 |
dash |
19 |
no-host |
configure.util-linux |
5,398,180 |
7 |
0 |
0 |
39,112 |
0 |
17,004 |
1,227 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,999,054 |
0 |
0 |
0 |
39,120 |
0 |
16,987 |
1,164 |
osh-native |
35 |
no-host |
configure.util-linux |
1,989,045 |
1 |
0 |
0 |
39,128 |
0 |
16,938 |
911 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,238 |
0 |
0 |
0 |
4,120 |
0 |
869 |
76 |
bash |
14 |
no-host |
configure.yash |
245,045 |
0 |
0 |
0 |
3,720 |
0 |
871 |
74 |
dash |
22 |
no-host |
configure.yash |
388,559 |
0 |
0 |
0 |
3,728 |
0 |
857 |
87 |
osh-cpython |
30 |
no-host |
configure.yash |
258,288 |
0 |
0 |
0 |
3,736 |
0 |
850 |
80 |
osh-native |
38 |
no-host |
configure.yash |
257,564 |
0 |
0 |
0 |
3,736 |
0 |
848 |
68 |
osh-native-souffle |
0 |
no-host |
hello-world |
149 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
81 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,944 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
335 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host