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 |
477 |
22 |
21 |
24.59 |
1.14 |
bin-true |
no-host |
682 |
550 |
2,355 |
822 |
822 |
3.45 |
1.20 |
configure.cpython |
no-host |
15,460 |
15,489 |
29,881 |
15,775 |
15,814 |
1.93 |
1.02 |
configure.ocaml |
no-host |
3,881 |
3,851 |
4,792 |
3,913 |
3,903 |
1.23 |
1.01 |
configure.tcc |
no-host |
48 |
43 |
208 |
49 |
49 |
4.32 |
1.02 |
configure.util-linux |
no-host |
14,372 |
15,372 |
32,748 |
14,839 |
14,802 |
2.28 |
1.03 |
configure.yash |
no-host |
1,875 |
1,834 |
2,560 |
1,868 |
1,881 |
1.37 |
1.00 |
hello-world |
no-host |
2 |
1 |
59 |
3 |
3 |
37.04 |
1.82 |
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,533 |
1,122 |
23,893 |
3,201 |
3,061 |
9.43 |
1.26 |
bin-true |
no-host |
104,299 |
65,402 |
773,604 |
125,281 |
127,328 |
7.42 |
1.20 |
configure.cpython |
no-host |
2,220,022 |
2,239,154 |
6,203,246 |
2,218,838 |
2,202,391 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,892 |
390,370 |
646,979 |
412,985 |
412,126 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,528 |
5,498 |
23,990 |
6,940 |
6,909 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,099,843 |
2,258,658 |
5,389,534 |
1,995,912 |
1,995,329 |
2.57 |
0.95 |
configure.yash |
no-host |
256,703 |
245,052 |
388,083 |
257,527 |
258,192 |
1.51 |
1.00 |
hello-world |
no-host |
152 |
81 |
3,945 |
343 |
336 |
25.95 |
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 |
822 |
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,775 |
1 |
67 |
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,839 |
3 |
65 |
21.2 |
30.3 |
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,913 |
1 |
2 |
2.6 |
20.4 |
150,080 |
11,112 |
5,207 |
7,508 |
70,969 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
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,868 |
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.6 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
822 |
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,814 |
1 |
65 |
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,802 |
3 |
65 |
21.2 |
30.3 |
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 |
3,903 |
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.3 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,881 |
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.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 |
13 |
7 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
9 |
1 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
477 |
436 |
45 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
14 |
8 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
19 |
3 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
682 |
523 |
193 |
2.9 |
bash |
9 |
no-host |
bin-true |
550 |
433 |
127 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,355 |
1,549 |
1,080 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
822 |
577 |
259 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
822 |
581 |
257 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,460 |
9,215 |
6,652 |
27.3 |
bash |
10 |
no-host |
configure.cpython |
15,489 |
9,455 |
6,471 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
29,881 |
18,216 |
13,619 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,775 |
9,147 |
6,903 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,814 |
9,156 |
6,786 |
27.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,881 |
1,651 |
1,272 |
20.4 |
bash |
12 |
no-host |
configure.ocaml |
3,851 |
1,572 |
1,298 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,792 |
2,275 |
1,735 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,913 |
1,633 |
1,321 |
20.4 |
osh-native |
36 |
no-host |
configure.ocaml |
3,903 |
1,711 |
1,230 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
29 |
20 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
43 |
32 |
12 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
208 |
137 |
74 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
32 |
18 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
28 |
20 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,372 |
9,071 |
5,792 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
15,372 |
9,351 |
6,522 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
32,748 |
21,850 |
12,043 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,839 |
8,731 |
6,308 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,802 |
8,866 |
6,134 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,875 |
1,057 |
827 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,834 |
1,130 |
708 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,560 |
1,575 |
1,029 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,868 |
1,028 |
843 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,881 |
1,077 |
808 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
59 |
47 |
12 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
5.6 |
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,533 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,122 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,893 |
0 |
0 |
0 |
8 |
0 |
45 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,201 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,061 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,299 |
0 |
0 |
0 |
8 |
0 |
1,989 |
106 |
bash |
9 |
no-host |
bin-true |
65,402 |
0 |
0 |
0 |
8 |
0 |
1,991 |
46 |
dash |
17 |
no-host |
bin-true |
773,604 |
0 |
0 |
0 |
8 |
0 |
1,992 |
151 |
osh-cpython |
25 |
no-host |
bin-true |
125,281 |
0 |
0 |
0 |
16 |
0 |
1,988 |
64 |
osh-native |
33 |
no-host |
bin-true |
127,328 |
0 |
0 |
0 |
16 |
0 |
1,983 |
51 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,220,022 |
1 |
0 |
0 |
32,928 |
0 |
14,488 |
1,060 |
bash |
10 |
no-host |
configure.cpython |
2,239,154 |
0 |
0 |
0 |
32,992 |
0 |
14,633 |
1,147 |
dash |
18 |
no-host |
configure.cpython |
6,203,246 |
0 |
0 |
0 |
27,512 |
0 |
13,236 |
1,251 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,218,838 |
0 |
0 |
0 |
27,520 |
0 |
13,255 |
989 |
osh-native |
34 |
no-host |
configure.cpython |
2,202,391 |
0 |
0 |
0 |
27,520 |
0 |
13,193 |
1,054 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,892 |
0 |
0 |
0 |
5,120 |
0 |
1,948 |
125 |
bash |
12 |
no-host |
configure.ocaml |
390,370 |
0 |
0 |
0 |
5,112 |
0 |
1,877 |
155 |
dash |
20 |
no-host |
configure.ocaml |
646,979 |
0 |
0 |
0 |
5,112 |
0 |
1,859 |
189 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,985 |
0 |
0 |
0 |
5,120 |
0 |
1,930 |
187 |
osh-native |
36 |
no-host |
configure.ocaml |
412,126 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
179 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,528 |
0 |
0 |
0 |
104 |
0 |
49 |
4 |
bash |
13 |
no-host |
configure.tcc |
5,498 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,990 |
0 |
0 |
0 |
96 |
0 |
53 |
14 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,940 |
0 |
0 |
0 |
104 |
0 |
47 |
11 |
osh-native |
37 |
no-host |
configure.tcc |
6,909 |
0 |
0 |
0 |
104 |
0 |
46 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,099,843 |
1 |
0 |
0 |
42,400 |
0 |
18,554 |
1,019 |
bash |
11 |
no-host |
configure.util-linux |
2,258,658 |
1 |
0 |
0 |
42,592 |
0 |
17,409 |
1,165 |
dash |
19 |
no-host |
configure.util-linux |
5,389,534 |
8 |
0 |
0 |
39,128 |
0 |
16,893 |
1,381 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,995,912 |
0 |
0 |
0 |
39,128 |
0 |
16,968 |
1,071 |
osh-native |
35 |
no-host |
configure.util-linux |
1,995,329 |
0 |
0 |
0 |
39,136 |
0 |
16,947 |
949 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,703 |
0 |
0 |
0 |
4,120 |
0 |
871 |
78 |
bash |
14 |
no-host |
configure.yash |
245,052 |
0 |
0 |
0 |
3,720 |
0 |
863 |
79 |
dash |
22 |
no-host |
configure.yash |
388,083 |
0 |
0 |
0 |
3,728 |
0 |
852 |
87 |
osh-cpython |
30 |
no-host |
configure.yash |
257,527 |
0 |
0 |
0 |
3,736 |
0 |
848 |
87 |
osh-native |
38 |
no-host |
configure.yash |
258,192 |
0 |
0 |
0 |
3,736 |
0 |
850 |
87 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
81 |
0 |
0 |
0 |
8 |
0 |
0 |
0 |
dash |
16 |
no-host |
hello-world |
3,945 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
343 |
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