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-native |
osh-nosouffle |
osh-static |
osh bash ratio |
static bash ratio |
| abuild-print-help |
no-host |
15 |
9 |
20 |
22 |
19 |
1.32 |
1.23 |
| bin-true |
no-host |
627 |
441 |
802 |
846 |
658 |
1.28 |
1.05 |
| configure.cpython |
no-host |
14,029 |
13,935 |
13,647 |
13,818 |
13,288 |
0.97 |
0.95 |
| configure.ocaml |
no-host |
3,674 |
3,635 |
3,687 |
3,730 |
3,743 |
1.00 |
1.02 |
| configure.tcc |
no-host |
45 |
41 |
46 |
47 |
45 |
1.01 |
0.98 |
| configure.util-linux |
no-host |
12,704 |
13,366 |
12,613 |
12,715 |
12,395 |
0.99 |
0.98 |
| configure.yash |
no-host |
1,721 |
1,637 |
1,759 |
1,729 |
1,715 |
1.02 |
1.00 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.11 |
0.94 |
Minor Page Faults
| workload |
host name |
bash |
dash |
osh-native |
osh-nosouffle |
osh-static |
osh bash ratio |
static bash ratio |
| abuild-print-help |
no-host |
2,359 |
1,152 |
3,313 |
3,388 |
2,832 |
1.40 |
1.20 |
| bin-true |
no-host |
101,465 |
49,424 |
129,049 |
134,366 |
111,703 |
1.27 |
1.10 |
| configure.cpython |
no-host |
1,626,957 |
1,637,802 |
1,588,209 |
1,603,859 |
1,524,155 |
0.98 |
0.94 |
| configure.ocaml |
no-host |
298,761 |
280,635 |
305,380 |
306,384 |
300,269 |
1.02 |
1.01 |
| configure.tcc |
no-host |
5,216 |
4,203 |
5,575 |
5,651 |
5,138 |
1.07 |
0.99 |
| configure.util-linux |
no-host |
1,539,300 |
1,701,873 |
1,518,144 |
1,524,072 |
1,448,793 |
0.99 |
0.94 |
| configure.yash |
no-host |
172,989 |
159,497 |
176,465 |
177,068 |
173,029 |
1.02 |
1.00 |
| hello-world |
no-host |
151 |
87 |
394 |
399 |
181 |
2.61 |
1.20 |
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.3 |
6.6 |
3,913 |
3,913 |
0 |
723 |
1,921 |
1,269 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
802 |
1 |
2 |
3.5 |
8.8 |
151,898 |
10,761 |
2,975 |
14,782 |
72,395 |
64,721 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,647 |
1 |
67 |
14.8 |
34.5 |
1,750,825 |
35,396 |
28,951 |
93,078 |
869,762 |
787,985 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,613 |
3 |
66 |
21.6 |
39.6 |
2,705,391 |
37,468 |
66,339 |
119,746 |
1,291,872 |
1,293,773 |
32,527 |
42 |
132,678 |
1 |
| configure.ocaml |
no-host |
3,687 |
1 |
2 |
2.8 |
28.6 |
149,698 |
12,653 |
6,568 |
9,214 |
70,295 |
70,189 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
46 |
0 |
0 |
1.4 |
26.3 |
30,549 |
30,549 |
0 |
1,681 |
14,473 |
14,395 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,759 |
1 |
2 |
2.7 |
33.1 |
143,474 |
11,505 |
6,622 |
7,168 |
70,525 |
65,781 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
20 |
1 |
2 |
3.0 |
9.4 |
117,232 |
65,798 |
42,005 |
4,977 |
54,599 |
57,656 |
277 |
3 |
84,010 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
7.1 |
3,912 |
3,912 |
0 |
722 |
1,921 |
1,269 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
846 |
1 |
2 |
3.5 |
9.2 |
151,898 |
10,765 |
2,979 |
14,782 |
72,395 |
64,721 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,818 |
2 |
68 |
14.8 |
34.5 |
1,750,824 |
35,401 |
28,956 |
93,077 |
869,762 |
787,985 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,715 |
3 |
65 |
21.6 |
39.9 |
2,705,391 |
37,474 |
66,345 |
119,746 |
1,291,872 |
1,293,773 |
32,527 |
42 |
132,690 |
1 |
| configure.ocaml |
no-host |
3,730 |
1 |
2 |
2.8 |
28.7 |
149,698 |
12,658 |
6,573 |
9,214 |
70,295 |
70,189 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.2 |
30,549 |
30,549 |
0 |
1,681 |
14,473 |
14,395 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,729 |
1 |
2 |
2.7 |
33.4 |
143,474 |
11,509 |
6,626 |
7,168 |
70,525 |
65,781 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
22 |
1 |
2 |
3.0 |
10.1 |
117,232 |
65,802 |
42,009 |
4,977 |
54,599 |
57,656 |
277 |
3 |
84,018 |
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 |
15 |
7 |
9 |
4.7 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
3 |
6 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
20 |
7 |
14 |
9.4 |
osh-native |
| 31 |
no-host |
abuild-print-help |
22 |
11 |
11 |
10.1 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
19 |
14 |
6 |
6.3 |
osh-static |
| 1 |
no-host |
bin-true |
627 |
317 |
350 |
3.3 |
bash |
| 9 |
no-host |
bin-true |
441 |
277 |
171 |
1.4 |
dash |
| 17 |
no-host |
bin-true |
802 |
311 |
508 |
8.8 |
osh-native |
| 25 |
no-host |
bin-true |
846 |
311 |
553 |
9.2 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
658 |
313 |
362 |
5.1 |
osh-static |
| 2 |
no-host |
configure.cpython |
14,029 |
7,651 |
6,776 |
34.4 |
bash |
| 10 |
no-host |
configure.cpython |
13,935 |
7,691 |
6,650 |
34.7 |
dash |
| 18 |
no-host |
configure.cpython |
13,647 |
7,257 |
6,674 |
34.5 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,818 |
7,233 |
6,881 |
34.5 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
13,288 |
7,386 |
6,150 |
34.6 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,674 |
1,493 |
1,220 |
28.8 |
bash |
| 12 |
no-host |
configure.ocaml |
3,635 |
1,465 |
1,194 |
28.7 |
dash |
| 20 |
no-host |
configure.ocaml |
3,687 |
1,482 |
1,244 |
28.6 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,730 |
1,497 |
1,274 |
28.7 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,743 |
1,515 |
1,261 |
28.6 |
osh-static |
| 5 |
no-host |
configure.tcc |
45 |
28 |
18 |
26.1 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
24 |
17 |
26.2 |
dash |
| 21 |
no-host |
configure.tcc |
46 |
21 |
25 |
26.3 |
osh-native |
| 29 |
no-host |
configure.tcc |
47 |
22 |
26 |
26.2 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
45 |
20 |
25 |
26.3 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,704 |
6,714 |
6,460 |
39.5 |
bash |
| 11 |
no-host |
configure.util-linux |
13,366 |
6,606 |
7,257 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
12,613 |
6,173 |
6,667 |
39.6 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,715 |
6,279 |
6,666 |
39.9 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,395 |
6,316 |
6,302 |
39.5 |
osh-static |
| 6 |
no-host |
configure.yash |
1,721 |
970 |
759 |
33.4 |
bash |
| 14 |
no-host |
configure.yash |
1,637 |
933 |
706 |
33.4 |
dash |
| 22 |
no-host |
configure.yash |
1,759 |
993 |
768 |
33.1 |
osh-native |
| 30 |
no-host |
configure.yash |
1,729 |
987 |
744 |
33.4 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,715 |
937 |
780 |
33.4 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.0 |
bash |
| 8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
3 |
1 |
2 |
6.6 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
2 |
1 |
7.1 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
1 |
0 |
1 |
3.3 |
osh-static |
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,359 |
0 |
0 |
0 |
8 |
0 |
41 |
1 |
bash |
| 15 |
no-host |
abuild-print-help |
1,152 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,313 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,388 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,832 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
101,465 |
0 |
0 |
0 |
8 |
0 |
1,998 |
58 |
bash |
| 9 |
no-host |
bin-true |
49,424 |
0 |
0 |
0 |
8 |
0 |
2,997 |
47 |
dash |
| 17 |
no-host |
bin-true |
129,049 |
0 |
0 |
0 |
16 |
0 |
1,995 |
77 |
osh-native |
| 25 |
no-host |
bin-true |
134,366 |
0 |
0 |
0 |
16 |
0 |
1,996 |
78 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
111,703 |
0 |
0 |
0 |
8 |
0 |
1,998 |
78 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,626,957 |
0 |
0 |
0 |
25,272 |
0 |
14,065 |
1,022 |
bash |
| 10 |
no-host |
configure.cpython |
1,637,802 |
0 |
0 |
0 |
25,272 |
0 |
14,104 |
1,055 |
dash |
| 18 |
no-host |
configure.cpython |
1,588,209 |
0 |
0 |
0 |
25,280 |
0 |
11,300 |
853 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,603,859 |
0 |
0 |
0 |
25,280 |
0 |
11,292 |
923 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,524,155 |
0 |
0 |
0 |
25,272 |
0 |
11,296 |
873 |
osh-static |
| 4 |
no-host |
configure.ocaml |
298,761 |
0 |
0 |
0 |
4,432 |
0 |
2,018 |
208 |
bash |
| 12 |
no-host |
configure.ocaml |
280,635 |
0 |
0 |
0 |
4,432 |
0 |
2,103 |
195 |
dash |
| 20 |
no-host |
configure.ocaml |
305,380 |
0 |
0 |
0 |
4,440 |
0 |
2,001 |
243 |
osh-native |
| 28 |
no-host |
configure.ocaml |
306,384 |
0 |
0 |
0 |
4,440 |
0 |
1,998 |
195 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,269 |
0 |
0 |
0 |
4,432 |
0 |
2,001 |
234 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,216 |
0 |
0 |
0 |
80 |
0 |
49 |
3 |
bash |
| 13 |
no-host |
configure.tcc |
4,203 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
5,575 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,651 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,138 |
0 |
0 |
0 |
88 |
0 |
45 |
2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,539,300 |
1 |
0 |
0 |
35,944 |
0 |
18,958 |
1,059 |
bash |
| 11 |
no-host |
configure.util-linux |
1,701,873 |
1 |
0 |
496 |
35,936 |
0 |
17,117 |
1,291 |
dash |
| 19 |
no-host |
configure.util-linux |
1,518,144 |
0 |
0 |
0 |
35,952 |
0 |
16,160 |
931 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,524,072 |
0 |
0 |
0 |
35,944 |
0 |
16,221 |
950 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,448,793 |
0 |
0 |
0 |
35,936 |
0 |
16,174 |
912 |
osh-static |
| 6 |
no-host |
configure.yash |
172,989 |
0 |
0 |
0 |
3,616 |
0 |
875 |
109 |
bash |
| 14 |
no-host |
configure.yash |
159,497 |
0 |
0 |
0 |
3,616 |
0 |
1,001 |
110 |
dash |
| 22 |
no-host |
configure.yash |
176,465 |
0 |
0 |
0 |
3,632 |
0 |
855 |
108 |
osh-native |
| 30 |
no-host |
configure.yash |
177,068 |
0 |
0 |
0 |
3,624 |
0 |
856 |
98 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
173,029 |
0 |
0 |
0 |
3,616 |
0 |
856 |
97 |
osh-static |
| 0 |
no-host |
hello-world |
151 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
87 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
394 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 24 |
no-host |
hello-world |
399 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
181 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host