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 |
471 |
23 |
23 |
24.48 |
1.17 |
bin-true |
no-host |
674 |
552 |
2,301 |
824 |
818 |
3.41 |
1.22 |
configure.cpython |
no-host |
14,938 |
15,517 |
28,974 |
15,737 |
15,899 |
1.94 |
1.05 |
configure.ocaml |
no-host |
3,881 |
3,785 |
4,745 |
3,889 |
4,004 |
1.22 |
1.00 |
configure.tcc |
no-host |
47 |
45 |
205 |
50 |
54 |
4.32 |
1.06 |
configure.util-linux |
no-host |
14,677 |
15,299 |
32,095 |
15,085 |
14,875 |
2.19 |
1.03 |
configure.yash |
no-host |
1,842 |
1,795 |
2,498 |
1,894 |
1,908 |
1.36 |
1.03 |
hello-world |
no-host |
2 |
1 |
57 |
3 |
3 |
37.68 |
1.91 |
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,558 |
1,137 |
23,857 |
3,220 |
3,071 |
9.33 |
1.26 |
bin-true |
no-host |
107,310 |
66,466 |
770,616 |
125,294 |
125,219 |
7.18 |
1.17 |
configure.cpython |
no-host |
2,217,178 |
2,244,446 |
6,241,831 |
2,218,390 |
2,206,875 |
2.82 |
1.00 |
configure.ocaml |
no-host |
410,734 |
390,793 |
647,550 |
413,003 |
412,225 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,532 |
5,481 |
24,127 |
6,990 |
6,906 |
3.69 |
1.07 |
configure.util-linux |
no-host |
2,114,218 |
2,260,570 |
5,392,461 |
1,996,894 |
1,989,795 |
2.55 |
0.94 |
configure.yash |
no-host |
256,617 |
244,056 |
389,234 |
258,546 |
258,185 |
1.52 |
1.01 |
hello-world |
no-host |
151 |
83 |
3,936 |
343 |
339 |
26.07 |
2.27 |
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 |
824 |
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 |
15,737 |
1 |
65 |
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 |
15,085 |
3 |
68 |
21.2 |
30.0 |
2,702,513 |
53,766 |
65,691 |
108,691 |
1,290,640 |
1,303,182 |
32,239 |
41 |
131,382 |
1 |
configure.ocaml |
no-host |
3,889 |
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 |
50 |
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,894 |
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 |
23 |
1 |
2 |
2.8 |
9.2 |
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 |
818 |
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,899 |
1 |
63 |
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,875 |
3 |
63 |
21.2 |
30.0 |
2,702,513 |
53,693 |
65,629 |
108,693 |
1,290,640 |
1,303,180 |
32,239 |
41 |
131,258 |
1 |
configure.ocaml |
no-host |
4,004 |
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 |
54 |
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,908 |
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 |
23 |
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 |
9 |
1 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
471 |
408 |
66 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
13 |
10 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
23 |
12 |
10 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
674 |
501 |
204 |
3.0 |
bash |
9 |
no-host |
bin-true |
552 |
429 |
134 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,301 |
1,487 |
1,075 |
18.1 |
osh-cpython |
25 |
no-host |
bin-true |
824 |
577 |
261 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
818 |
579 |
252 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,938 |
9,149 |
6,190 |
27.5 |
bash |
10 |
no-host |
configure.cpython |
15,517 |
9,354 |
6,594 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,974 |
17,735 |
13,114 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,737 |
9,144 |
6,849 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,899 |
9,276 |
6,745 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,881 |
1,615 |
1,307 |
20.4 |
bash |
12 |
no-host |
configure.ocaml |
3,785 |
1,570 |
1,236 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,745 |
2,293 |
1,664 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,889 |
1,648 |
1,281 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
4,004 |
1,671 |
1,364 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
26 |
21 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
45 |
34 |
11 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
205 |
150 |
58 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
27 |
24 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
54 |
44 |
9 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,677 |
9,261 |
5,904 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
15,299 |
9,362 |
6,431 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
32,095 |
21,493 |
11,689 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
15,085 |
8,931 |
6,320 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
14,875 |
8,969 |
6,102 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,842 |
1,079 |
771 |
24.5 |
bash |
14 |
no-host |
configure.yash |
1,795 |
1,080 |
718 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,498 |
1,537 |
1,004 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,894 |
1,048 |
850 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,908 |
1,097 |
813 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
57 |
22 |
35 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,558 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,137 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,857 |
0 |
0 |
0 |
8 |
0 |
45 |
16 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,220 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,071 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,310 |
0 |
0 |
0 |
8 |
0 |
1,994 |
63 |
bash |
9 |
no-host |
bin-true |
66,466 |
0 |
0 |
0 |
8 |
0 |
1,985 |
72 |
dash |
17 |
no-host |
bin-true |
770,616 |
0 |
0 |
0 |
8 |
0 |
1,992 |
82 |
osh-cpython |
25 |
no-host |
bin-true |
125,294 |
0 |
0 |
0 |
16 |
0 |
1,984 |
63 |
osh-native |
33 |
no-host |
bin-true |
125,219 |
0 |
0 |
0 |
16 |
0 |
1,992 |
53 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,217,178 |
0 |
0 |
0 |
32,928 |
0 |
14,530 |
1,009 |
bash |
10 |
no-host |
configure.cpython |
2,244,446 |
0 |
0 |
0 |
32,992 |
0 |
14,582 |
1,112 |
dash |
18 |
no-host |
configure.cpython |
6,241,831 |
0 |
0 |
0 |
27,512 |
0 |
13,256 |
1,169 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,218,390 |
0 |
0 |
0 |
27,520 |
0 |
13,263 |
1,082 |
osh-native |
34 |
no-host |
configure.cpython |
2,206,875 |
0 |
0 |
0 |
27,520 |
0 |
13,253 |
1,004 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,734 |
0 |
0 |
0 |
5,120 |
0 |
1,942 |
169 |
bash |
12 |
no-host |
configure.ocaml |
390,793 |
0 |
0 |
0 |
5,112 |
0 |
1,889 |
174 |
dash |
20 |
no-host |
configure.ocaml |
647,550 |
0 |
0 |
0 |
5,112 |
0 |
1,855 |
178 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,003 |
0 |
0 |
0 |
5,120 |
0 |
1,923 |
170 |
osh-native |
36 |
no-host |
configure.ocaml |
412,225 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
149 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,532 |
0 |
0 |
0 |
104 |
0 |
48 |
4 |
bash |
13 |
no-host |
configure.tcc |
5,481 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
24,127 |
0 |
0 |
0 |
96 |
0 |
53 |
11 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,990 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native |
37 |
no-host |
configure.tcc |
6,906 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,114,218 |
0 |
0 |
0 |
42,400 |
0 |
18,503 |
1,070 |
bash |
11 |
no-host |
configure.util-linux |
2,260,570 |
0 |
0 |
0 |
42,592 |
0 |
17,520 |
1,030 |
dash |
19 |
no-host |
configure.util-linux |
5,392,461 |
10 |
0 |
0 |
39,120 |
0 |
16,985 |
1,257 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,996,894 |
2 |
0 |
0 |
39,128 |
0 |
16,976 |
1,049 |
osh-native |
35 |
no-host |
configure.util-linux |
1,989,795 |
2 |
0 |
0 |
39,136 |
0 |
16,964 |
1,003 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,617 |
0 |
0 |
0 |
4,120 |
0 |
868 |
123 |
bash |
14 |
no-host |
configure.yash |
244,056 |
0 |
0 |
0 |
3,720 |
0 |
868 |
84 |
dash |
22 |
no-host |
configure.yash |
389,234 |
0 |
0 |
0 |
3,728 |
0 |
856 |
90 |
osh-cpython |
30 |
no-host |
configure.yash |
258,546 |
0 |
0 |
0 |
3,736 |
0 |
847 |
81 |
osh-native |
38 |
no-host |
configure.yash |
258,185 |
0 |
0 |
0 |
3,736 |
0 |
849 |
78 |
osh-native-souffle |
0 |
no-host |
hello-world |
151 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
83 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,936 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
343 |
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