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 |
465 |
22 |
21 |
24.63 |
1.15 |
bin-true |
no-host |
674 |
540 |
2,317 |
813 |
806 |
3.44 |
1.21 |
configure.cpython |
no-host |
15,012 |
15,043 |
28,819 |
15,238 |
15,358 |
1.92 |
1.02 |
configure.ocaml |
no-host |
3,789 |
3,748 |
4,656 |
3,827 |
3,809 |
1.23 |
1.01 |
configure.tcc |
no-host |
48 |
41 |
205 |
48 |
48 |
4.30 |
1.01 |
configure.util-linux |
no-host |
13,996 |
14,885 |
31,549 |
14,328 |
14,359 |
2.25 |
1.02 |
configure.yash |
no-host |
1,954 |
1,755 |
2,496 |
1,824 |
1,817 |
1.28 |
0.93 |
hello-world |
no-host |
2 |
1 |
56 |
3 |
3 |
37.37 |
1.89 |
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,537 |
1,115 |
23,869 |
3,209 |
3,079 |
9.41 |
1.26 |
bin-true |
no-host |
104,334 |
65,394 |
769,632 |
126,253 |
125,222 |
7.38 |
1.21 |
configure.cpython |
no-host |
2,225,189 |
2,242,123 |
6,242,232 |
2,216,992 |
2,210,787 |
2.81 |
1.00 |
configure.ocaml |
no-host |
410,465 |
391,358 |
647,324 |
412,437 |
412,602 |
1.58 |
1.00 |
configure.tcc |
no-host |
6,561 |
5,485 |
24,117 |
6,962 |
6,917 |
3.68 |
1.06 |
configure.util-linux |
no-host |
2,105,211 |
2,264,277 |
5,394,805 |
1,995,155 |
1,987,183 |
2.56 |
0.95 |
configure.yash |
no-host |
256,078 |
245,018 |
389,302 |
258,333 |
257,861 |
1.52 |
1.01 |
hello-world |
no-host |
150 |
82 |
3,940 |
343 |
339 |
26.27 |
2.29 |
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 |
813 |
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,238 |
1 |
61 |
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,328 |
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,827 |
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.4 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,824 |
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 |
806 |
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,358 |
1 |
61 |
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,359 |
3 |
60 |
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.4 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,817 |
1 |
2 |
2.5 |
24.4 |
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.3 |
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 |
15 |
5 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
8 |
1 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
465 |
418 |
50 |
22.4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
15 |
7 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
19 |
2 |
8.3 |
osh-native-souffle |
1 |
no-host |
bin-true |
674 |
485 |
218 |
3.0 |
bash |
9 |
no-host |
bin-true |
540 |
411 |
140 |
1.3 |
dash |
17 |
no-host |
bin-true |
2,317 |
1,478 |
1,106 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
813 |
587 |
241 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
806 |
566 |
254 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,012 |
9,034 |
6,377 |
27.1 |
bash |
10 |
no-host |
configure.cpython |
15,043 |
9,063 |
6,396 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
28,819 |
17,556 |
13,108 |
27.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,238 |
9,052 |
6,449 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,358 |
8,931 |
6,536 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,789 |
1,564 |
1,263 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,748 |
1,607 |
1,160 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,656 |
2,269 |
1,596 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,827 |
1,565 |
1,300 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,809 |
1,595 |
1,251 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
30 |
19 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
22 |
19 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
205 |
148 |
60 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
41 |
8 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
27 |
22 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,996 |
8,858 |
5,591 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,885 |
9,214 |
6,140 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,549 |
21,001 |
11,619 |
30.0 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,328 |
8,562 |
5,955 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,359 |
8,512 |
5,965 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,954 |
1,056 |
779 |
24.5 |
bash |
14 |
no-host |
configure.yash |
1,755 |
1,089 |
668 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,496 |
1,510 |
1,028 |
24.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,824 |
999 |
830 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,817 |
1,053 |
767 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
16 |
no-host |
hello-world |
56 |
36 |
20 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.2 |
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,537 |
0 |
0 |
0 |
16 |
0 |
40 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,115 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,869 |
0 |
0 |
0 |
8 |
0 |
45 |
14 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,209 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,079 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,334 |
0 |
0 |
0 |
8 |
0 |
1,996 |
181 |
bash |
9 |
no-host |
bin-true |
65,394 |
0 |
0 |
0 |
8 |
0 |
1,988 |
36 |
dash |
17 |
no-host |
bin-true |
769,632 |
0 |
0 |
0 |
8 |
0 |
1,993 |
184 |
osh-cpython |
25 |
no-host |
bin-true |
126,253 |
0 |
0 |
0 |
16 |
0 |
1,988 |
93 |
osh-native |
33 |
no-host |
bin-true |
125,222 |
0 |
0 |
0 |
16 |
0 |
1,992 |
92 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,225,189 |
0 |
0 |
0 |
32,928 |
0 |
14,460 |
1,115 |
bash |
10 |
no-host |
configure.cpython |
2,242,123 |
0 |
0 |
0 |
32,992 |
0 |
14,587 |
919 |
dash |
18 |
no-host |
configure.cpython |
6,242,232 |
0 |
0 |
0 |
27,512 |
0 |
13,235 |
1,167 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,216,992 |
0 |
0 |
0 |
27,520 |
0 |
13,252 |
975 |
osh-native |
34 |
no-host |
configure.cpython |
2,210,787 |
0 |
0 |
0 |
27,520 |
0 |
13,240 |
1,180 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,465 |
0 |
0 |
0 |
5,120 |
0 |
1,940 |
160 |
bash |
12 |
no-host |
configure.ocaml |
391,358 |
0 |
0 |
0 |
5,112 |
0 |
1,881 |
181 |
dash |
20 |
no-host |
configure.ocaml |
647,324 |
0 |
0 |
0 |
5,112 |
0 |
1,859 |
191 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,437 |
0 |
0 |
0 |
5,120 |
0 |
1,933 |
156 |
osh-native |
36 |
no-host |
configure.ocaml |
412,602 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
178 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,561 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,485 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
24,117 |
0 |
0 |
0 |
96 |
0 |
53 |
19 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,962 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native |
37 |
no-host |
configure.tcc |
6,917 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,105,211 |
3 |
0 |
0 |
42,400 |
0 |
18,499 |
989 |
bash |
11 |
no-host |
configure.util-linux |
2,264,277 |
1 |
0 |
0 |
42,584 |
0 |
17,483 |
1,025 |
dash |
19 |
no-host |
configure.util-linux |
5,394,805 |
3 |
0 |
0 |
39,112 |
0 |
16,953 |
1,223 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,995,155 |
1 |
0 |
0 |
39,120 |
0 |
16,979 |
999 |
osh-native |
35 |
no-host |
configure.util-linux |
1,987,183 |
0 |
0 |
0 |
39,136 |
0 |
16,962 |
895 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,078 |
0 |
0 |
0 |
4,120 |
0 |
893 |
86 |
bash |
14 |
no-host |
configure.yash |
245,018 |
0 |
0 |
0 |
3,720 |
0 |
867 |
75 |
dash |
22 |
no-host |
configure.yash |
389,302 |
0 |
0 |
0 |
3,728 |
0 |
855 |
114 |
osh-cpython |
30 |
no-host |
configure.yash |
258,333 |
0 |
0 |
0 |
3,736 |
0 |
849 |
72 |
osh-native |
38 |
no-host |
configure.yash |
257,861 |
0 |
0 |
0 |
3,736 |
0 |
847 |
91 |
osh-native-souffle |
0 |
no-host |
hello-world |
150 |
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,940 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
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