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 |
9 |
458 |
22 |
20 |
24.20 |
1.18 |
bin-true |
no-host |
671 |
536 |
2,286 |
812 |
803 |
3.41 |
1.21 |
configure.cpython |
no-host |
14,967 |
15,047 |
29,077 |
15,255 |
15,529 |
1.94 |
1.02 |
configure.ocaml |
no-host |
3,809 |
3,727 |
4,657 |
3,845 |
3,814 |
1.22 |
1.01 |
configure.tcc |
no-host |
47 |
41 |
202 |
50 |
48 |
4.26 |
1.06 |
configure.util-linux |
no-host |
14,041 |
14,826 |
31,433 |
14,394 |
14,389 |
2.24 |
1.03 |
configure.yash |
no-host |
1,810 |
1,774 |
2,473 |
1,874 |
1,820 |
1.37 |
1.03 |
hello-world |
no-host |
2 |
1 |
57 |
3 |
3 |
35.22 |
1.84 |
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,504 |
1,106 |
23,707 |
3,204 |
3,057 |
9.47 |
1.28 |
bin-true |
no-host |
105,324 |
66,437 |
775,751 |
127,278 |
125,236 |
7.37 |
1.21 |
configure.cpython |
no-host |
2,216,638 |
2,239,997 |
6,210,697 |
2,216,233 |
2,207,546 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,550 |
391,504 |
646,881 |
413,205 |
412,264 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,555 |
5,465 |
24,059 |
6,957 |
6,931 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,103,381 |
2,257,907 |
5,399,985 |
1,997,307 |
1,991,705 |
2.57 |
0.95 |
configure.yash |
no-host |
255,985 |
244,932 |
387,805 |
258,183 |
257,770 |
1.51 |
1.01 |
hello-world |
no-host |
153 |
83 |
3,947 |
343 |
340 |
25.80 |
2.24 |
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 |
812 |
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,255 |
1 |
60 |
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,394 |
2 |
60 |
21.2 |
30.0 |
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,845 |
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,874 |
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.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 |
803 |
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,529 |
1 |
61 |
14.9 |
27.3 |
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,389 |
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,814 |
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,820 |
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.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 |
2 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
5 |
4 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
458 |
423 |
38 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
19 |
4 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
17 |
3 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
671 |
499 |
205 |
2.9 |
bash |
9 |
no-host |
bin-true |
536 |
409 |
136 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,286 |
1,481 |
1,062 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
812 |
563 |
265 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
803 |
559 |
260 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,967 |
9,149 |
6,215 |
27.5 |
bash |
10 |
no-host |
configure.cpython |
15,047 |
9,113 |
6,355 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
29,077 |
17,819 |
13,143 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,255 |
9,042 |
6,474 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,529 |
9,123 |
6,497 |
27.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,809 |
1,590 |
1,247 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,727 |
1,623 |
1,123 |
20.4 |
dash |
20 |
no-host |
configure.ocaml |
4,657 |
2,243 |
1,626 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,845 |
1,641 |
1,244 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,814 |
1,607 |
1,243 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
29 |
19 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
31 |
10 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
202 |
130 |
75 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
31 |
20 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
32 |
17 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,041 |
8,806 |
5,711 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,826 |
9,107 |
6,204 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,433 |
20,720 |
11,805 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,394 |
8,700 |
5,888 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
14,389 |
8,608 |
5,972 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,810 |
1,039 |
780 |
24.5 |
bash |
14 |
no-host |
configure.yash |
1,774 |
1,011 |
761 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,473 |
1,486 |
1,030 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,874 |
1,092 |
785 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,820 |
1,058 |
766 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
57 |
48 |
8 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.4 |
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,504 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,106 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,707 |
0 |
0 |
0 |
8 |
0 |
45 |
14 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,204 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,057 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,324 |
0 |
0 |
0 |
8 |
0 |
1,983 |
96 |
bash |
9 |
no-host |
bin-true |
66,437 |
0 |
0 |
0 |
8 |
0 |
1,979 |
51 |
dash |
17 |
no-host |
bin-true |
775,751 |
0 |
0 |
0 |
8 |
0 |
1,995 |
187 |
osh-cpython |
25 |
no-host |
bin-true |
127,278 |
0 |
0 |
0 |
16 |
0 |
1,991 |
78 |
osh-native |
33 |
no-host |
bin-true |
125,236 |
0 |
0 |
0 |
16 |
0 |
1,987 |
46 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,216,638 |
0 |
0 |
0 |
32,928 |
0 |
14,436 |
987 |
bash |
10 |
no-host |
configure.cpython |
2,239,997 |
1 |
0 |
0 |
32,992 |
0 |
14,644 |
1,139 |
dash |
18 |
no-host |
configure.cpython |
6,210,697 |
1 |
0 |
0 |
27,512 |
0 |
13,334 |
1,214 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,216,233 |
1 |
0 |
0 |
27,520 |
0 |
13,322 |
1,130 |
osh-native |
34 |
no-host |
configure.cpython |
2,207,546 |
0 |
0 |
0 |
27,520 |
0 |
13,210 |
1,062 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,550 |
0 |
0 |
0 |
5,120 |
0 |
1,972 |
172 |
bash |
12 |
no-host |
configure.ocaml |
391,504 |
0 |
0 |
0 |
5,112 |
0 |
1,926 |
142 |
dash |
20 |
no-host |
configure.ocaml |
646,881 |
0 |
0 |
0 |
5,112 |
0 |
1,852 |
195 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,205 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
178 |
osh-native |
36 |
no-host |
configure.ocaml |
412,264 |
0 |
0 |
0 |
5,120 |
0 |
1,935 |
154 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,555 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,465 |
0 |
0 |
0 |
96 |
0 |
48 |
0 |
dash |
21 |
no-host |
configure.tcc |
24,059 |
0 |
0 |
0 |
96 |
0 |
53 |
6 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,957 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,931 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,103,381 |
0 |
0 |
0 |
42,408 |
0 |
18,709 |
882 |
bash |
11 |
no-host |
configure.util-linux |
2,257,907 |
1 |
0 |
0 |
42,592 |
0 |
17,466 |
919 |
dash |
19 |
no-host |
configure.util-linux |
5,399,985 |
5 |
0 |
0 |
39,112 |
0 |
16,877 |
1,071 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,997,307 |
0 |
0 |
0 |
39,120 |
0 |
16,967 |
1,197 |
osh-native |
35 |
no-host |
configure.util-linux |
1,991,705 |
1 |
0 |
0 |
39,128 |
0 |
16,968 |
901 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,985 |
0 |
0 |
0 |
4,120 |
0 |
874 |
71 |
bash |
14 |
no-host |
configure.yash |
244,932 |
0 |
0 |
0 |
3,720 |
0 |
869 |
82 |
dash |
22 |
no-host |
configure.yash |
387,805 |
0 |
0 |
0 |
3,728 |
0 |
855 |
101 |
osh-cpython |
30 |
no-host |
configure.yash |
258,183 |
0 |
0 |
0 |
3,736 |
0 |
848 |
91 |
osh-native |
38 |
no-host |
configure.yash |
257,770 |
0 |
0 |
0 |
3,736 |
0 |
849 |
86 |
osh-native-souffle |
0 |
no-host |
hello-world |
153 |
0 |
0 |
0 |
8 |
0 |
0 |
1 |
bash |
8 |
no-host |
hello-world |
83 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,947 |
0 |
0 |
0 |
8 |
0 |
7 |
6 |
osh-cpython |
24 |
no-host |
hello-world |
343 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
340 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host