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.43 |
1.15 |
bin-true |
no-host |
669 |
539 |
2,255 |
805 |
807 |
3.37 |
1.20 |
configure.cpython |
no-host |
14,814 |
14,851 |
28,340 |
14,970 |
15,087 |
1.91 |
1.01 |
configure.ocaml |
no-host |
3,782 |
3,684 |
4,606 |
3,781 |
3,785 |
1.22 |
1.00 |
configure.tcc |
no-host |
47 |
41 |
193 |
48 |
47 |
4.12 |
1.02 |
configure.util-linux |
no-host |
13,794 |
14,664 |
31,015 |
14,171 |
14,111 |
2.25 |
1.03 |
configure.yash |
no-host |
1,795 |
1,738 |
2,420 |
1,799 |
1,799 |
1.35 |
1.00 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
38.26 |
1.92 |
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,150 |
23,755 |
3,183 |
3,088 |
9.27 |
1.24 |
bin-true |
no-host |
106,344 |
65,332 |
771,469 |
127,266 |
125,152 |
7.25 |
1.20 |
configure.cpython |
no-host |
2,223,940 |
2,247,976 |
6,193,326 |
2,211,671 |
2,198,897 |
2.78 |
0.99 |
configure.ocaml |
no-host |
410,766 |
391,277 |
646,635 |
413,243 |
413,037 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,538 |
5,473 |
24,024 |
6,983 |
6,890 |
3.67 |
1.07 |
configure.util-linux |
no-host |
2,101,100 |
2,258,301 |
5,382,441 |
1,991,464 |
1,992,723 |
2.56 |
0.95 |
configure.yash |
no-host |
256,544 |
245,123 |
387,198 |
258,342 |
258,098 |
1.51 |
1.01 |
hello-world |
no-host |
151 |
82 |
3,942 |
342 |
336 |
26.11 |
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.3 |
3,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
805 |
1 |
2 |
2.6 |
8.1 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,970 |
1 |
58 |
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,171 |
2 |
56 |
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,781 |
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,799 |
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 |
8.8 |
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.7 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,087 |
1 |
56 |
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,111 |
2 |
57 |
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,785 |
0 |
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 |
47 |
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,799 |
1 |
2 |
2.5 |
24.5 |
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.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 |
16 |
3 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
5 |
6 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
462 |
413 |
54 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
17 |
5 |
8.8 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
12 |
9 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
669 |
526 |
173 |
2.9 |
bash |
9 |
no-host |
bin-true |
539 |
408 |
138 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,255 |
1,497 |
1,007 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
805 |
569 |
250 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
807 |
558 |
263 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,814 |
8,995 |
6,212 |
27.3 |
bash |
10 |
no-host |
configure.cpython |
14,851 |
8,810 |
6,465 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
28,340 |
17,406 |
12,752 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,970 |
8,954 |
6,285 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,087 |
8,778 |
6,448 |
27.5 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,782 |
1,631 |
1,181 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,684 |
1,533 |
1,170 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,606 |
2,271 |
1,541 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,781 |
1,605 |
1,216 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,785 |
1,674 |
1,148 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
22 |
26 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
26 |
15 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
193 |
135 |
61 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
26 |
23 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
27 |
21 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,794 |
8,848 |
5,417 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
14,664 |
9,114 |
6,054 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,015 |
20,858 |
11,211 |
30.0 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,171 |
8,584 |
5,782 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,111 |
8,509 |
5,801 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,795 |
1,040 |
761 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,738 |
1,025 |
717 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,420 |
1,510 |
949 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,799 |
1,058 |
745 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,799 |
1,030 |
773 |
24.5 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
41 |
15 |
18.1 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
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,563 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,150 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,755 |
0 |
0 |
0 |
8 |
0 |
45 |
13 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,183 |
0 |
0 |
0 |
16 |
0 |
38 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,088 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,344 |
0 |
0 |
0 |
8 |
0 |
1,986 |
54 |
bash |
9 |
no-host |
bin-true |
65,332 |
0 |
0 |
0 |
8 |
0 |
1,991 |
48 |
dash |
17 |
no-host |
bin-true |
771,469 |
0 |
0 |
0 |
8 |
0 |
1,995 |
81 |
osh-cpython |
25 |
no-host |
bin-true |
127,266 |
0 |
0 |
0 |
16 |
0 |
1,985 |
55 |
osh-native |
33 |
no-host |
bin-true |
125,152 |
0 |
0 |
0 |
16 |
0 |
1,993 |
57 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,223,940 |
0 |
0 |
0 |
32,928 |
0 |
14,410 |
1,049 |
bash |
10 |
no-host |
configure.cpython |
2,247,976 |
0 |
0 |
0 |
32,992 |
0 |
14,606 |
1,056 |
dash |
18 |
no-host |
configure.cpython |
6,193,326 |
1 |
0 |
0 |
27,512 |
0 |
13,250 |
1,113 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,211,671 |
0 |
0 |
0 |
27,520 |
0 |
13,295 |
1,142 |
osh-native |
34 |
no-host |
configure.cpython |
2,198,897 |
1 |
0 |
0 |
27,520 |
0 |
13,201 |
969 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,766 |
0 |
0 |
0 |
5,120 |
0 |
1,956 |
152 |
bash |
12 |
no-host |
configure.ocaml |
391,277 |
0 |
0 |
0 |
5,112 |
0 |
1,939 |
158 |
dash |
20 |
no-host |
configure.ocaml |
646,635 |
0 |
0 |
0 |
5,112 |
0 |
1,853 |
192 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,243 |
0 |
0 |
0 |
5,120 |
0 |
1,930 |
168 |
osh-native |
36 |
no-host |
configure.ocaml |
413,037 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
178 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,538 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,473 |
0 |
0 |
0 |
96 |
0 |
46 |
4 |
dash |
21 |
no-host |
configure.tcc |
24,024 |
0 |
0 |
0 |
96 |
0 |
53 |
5 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,983 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,890 |
0 |
0 |
0 |
104 |
0 |
46 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,101,100 |
0 |
0 |
0 |
42,400 |
0 |
18,502 |
1,093 |
bash |
11 |
no-host |
configure.util-linux |
2,258,301 |
0 |
0 |
0 |
42,584 |
0 |
17,501 |
1,025 |
dash |
19 |
no-host |
configure.util-linux |
5,382,441 |
18 |
0 |
0 |
39,112 |
0 |
16,961 |
1,221 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,991,464 |
0 |
0 |
0 |
39,120 |
0 |
17,103 |
1,013 |
osh-native |
35 |
no-host |
configure.util-linux |
1,992,723 |
0 |
0 |
0 |
39,136 |
0 |
17,111 |
974 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,544 |
0 |
0 |
0 |
4,120 |
0 |
866 |
83 |
bash |
14 |
no-host |
configure.yash |
245,123 |
0 |
0 |
0 |
3,720 |
0 |
870 |
84 |
dash |
22 |
no-host |
configure.yash |
387,198 |
0 |
0 |
0 |
3,728 |
0 |
853 |
97 |
osh-cpython |
30 |
no-host |
configure.yash |
258,342 |
0 |
0 |
0 |
3,736 |
0 |
845 |
82 |
osh-native |
38 |
no-host |
configure.yash |
258,098 |
0 |
0 |
0 |
3,736 |
0 |
849 |
79 |
osh-native-souffle |
0 |
no-host |
hello-world |
151 |
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,942 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
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