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 |
16 |
9 |
22 |
23 |
19 |
1.37 |
1.16 |
| bin-true |
no-host |
609 |
443 |
814 |
811 |
658 |
1.34 |
1.08 |
| configure.cpython |
no-host |
13,660 |
13,622 |
13,240 |
14,083 |
13,182 |
0.97 |
0.97 |
| configure.ocaml |
no-host |
3,736 |
3,576 |
3,792 |
3,773 |
3,738 |
1.01 |
1.00 |
| configure.tcc |
no-host |
45 |
41 |
48 |
48 |
44 |
1.07 |
0.97 |
| configure.util-linux |
no-host |
12,560 |
13,083 |
12,461 |
12,656 |
12,492 |
0.99 |
0.99 |
| configure.yash |
no-host |
1,661 |
1,613 |
1,726 |
1,704 |
1,733 |
1.04 |
1.04 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.54 |
1.05 |
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,391 |
1,193 |
3,315 |
3,387 |
2,810 |
1.39 |
1.18 |
| bin-true |
no-host |
99,468 |
49,407 |
133,034 |
131,317 |
112,714 |
1.34 |
1.13 |
| configure.cpython |
no-host |
1,624,906 |
1,637,211 |
1,581,505 |
1,594,666 |
1,520,514 |
0.97 |
0.94 |
| configure.ocaml |
no-host |
299,260 |
280,614 |
306,215 |
307,365 |
300,137 |
1.02 |
1.00 |
| configure.tcc |
no-host |
5,198 |
4,198 |
5,584 |
5,691 |
5,135 |
1.07 |
0.99 |
| configure.util-linux |
no-host |
1,544,772 |
1,702,759 |
1,496,876 |
1,511,574 |
1,470,723 |
0.97 |
0.95 |
| configure.yash |
no-host |
173,201 |
159,565 |
176,663 |
177,459 |
173,133 |
1.02 |
1.00 |
| hello-world |
no-host |
151 |
87 |
394 |
397 |
182 |
2.61 |
1.21 |
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,910 |
3,910 |
0 |
722 |
1,918 |
1,270 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
814 |
1 |
2 |
3.5 |
8.8 |
151,895 |
10,758 |
2,972 |
14,781 |
72,392 |
64,722 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,240 |
1 |
67 |
14.8 |
34.5 |
1,750,787 |
35,388 |
28,943 |
93,077 |
869,724 |
787,986 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,461 |
3 |
67 |
21.6 |
39.6 |
2,705,353 |
37,460 |
66,331 |
119,745 |
1,291,834 |
1,293,774 |
32,527 |
42 |
132,662 |
1 |
| configure.ocaml |
no-host |
3,792 |
1 |
2 |
2.8 |
28.5 |
149,695 |
12,650 |
6,565 |
9,213 |
70,292 |
70,190 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
48 |
0 |
0 |
1.4 |
26.1 |
30,546 |
30,546 |
0 |
1,680 |
14,470 |
14,396 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,726 |
1 |
2 |
2.7 |
33.3 |
143,471 |
11,502 |
6,619 |
7,169 |
70,512 |
65,790 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
22 |
1 |
2 |
3.0 |
9.6 |
117,226 |
65,792 |
42,002 |
4,975 |
54,594 |
57,657 |
277 |
3 |
84,004 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.8 |
3,909 |
3,909 |
0 |
721 |
1,918 |
1,270 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
811 |
1 |
2 |
3.5 |
9.2 |
151,895 |
10,762 |
2,976 |
14,781 |
72,392 |
64,722 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,083 |
1 |
70 |
14.8 |
34.5 |
1,750,786 |
35,393 |
28,948 |
93,076 |
869,724 |
787,986 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,656 |
3 |
68 |
21.6 |
39.6 |
2,705,353 |
37,466 |
66,337 |
119,745 |
1,291,834 |
1,293,774 |
32,527 |
42 |
132,674 |
1 |
| configure.ocaml |
no-host |
3,773 |
1 |
2 |
2.8 |
28.8 |
149,695 |
12,655 |
6,570 |
9,213 |
70,292 |
70,190 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
48 |
0 |
0 |
1.4 |
26.2 |
30,546 |
30,546 |
0 |
1,680 |
14,470 |
14,396 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,704 |
1 |
2 |
2.7 |
33.2 |
143,471 |
11,506 |
6,623 |
7,169 |
70,512 |
65,790 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
23 |
1 |
2 |
3.0 |
10.1 |
117,226 |
65,796 |
42,006 |
4,975 |
54,594 |
57,657 |
277 |
3 |
84,012 |
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 |
16 |
10 |
6 |
4.8 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
5 |
4 |
4.1 |
dash |
| 23 |
no-host |
abuild-print-help |
22 |
11 |
12 |
9.6 |
osh-native |
| 31 |
no-host |
abuild-print-help |
23 |
14 |
10 |
10.1 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
19 |
11 |
9 |
6.4 |
osh-static |
| 1 |
no-host |
bin-true |
609 |
313 |
333 |
3.1 |
bash |
| 9 |
no-host |
bin-true |
443 |
281 |
165 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
814 |
305 |
525 |
8.8 |
osh-native |
| 25 |
no-host |
bin-true |
811 |
305 |
524 |
9.2 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
658 |
324 |
353 |
5.1 |
osh-static |
| 2 |
no-host |
configure.cpython |
13,660 |
7,479 |
6,571 |
34.5 |
bash |
| 10 |
no-host |
configure.cpython |
13,622 |
7,536 |
6,482 |
34.5 |
dash |
| 18 |
no-host |
configure.cpython |
13,240 |
7,067 |
6,453 |
34.5 |
osh-native |
| 26 |
no-host |
configure.cpython |
14,083 |
7,414 |
6,964 |
34.5 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
13,182 |
7,265 |
6,158 |
34.7 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,736 |
1,522 |
1,255 |
28.7 |
bash |
| 12 |
no-host |
configure.ocaml |
3,576 |
1,387 |
1,213 |
28.6 |
dash |
| 20 |
no-host |
configure.ocaml |
3,792 |
1,505 |
1,328 |
28.5 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,773 |
1,497 |
1,321 |
28.8 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,738 |
1,481 |
1,290 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
45 |
22 |
24 |
26.2 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
26 |
15 |
26.2 |
dash |
| 21 |
no-host |
configure.tcc |
48 |
25 |
24 |
26.1 |
osh-native |
| 29 |
no-host |
configure.tcc |
48 |
25 |
24 |
26.2 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
44 |
22 |
23 |
26.4 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,560 |
6,631 |
6,399 |
39.9 |
bash |
| 11 |
no-host |
configure.util-linux |
13,083 |
6,487 |
7,094 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
12,461 |
6,153 |
6,530 |
39.6 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,656 |
6,276 |
6,610 |
39.6 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,492 |
6,332 |
6,391 |
39.8 |
osh-static |
| 6 |
no-host |
configure.yash |
1,661 |
939 |
730 |
33.3 |
bash |
| 14 |
no-host |
configure.yash |
1,613 |
921 |
694 |
33.1 |
dash |
| 22 |
no-host |
configure.yash |
1,726 |
983 |
746 |
33.3 |
osh-native |
| 30 |
no-host |
configure.yash |
1,704 |
945 |
762 |
33.2 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,733 |
986 |
750 |
33.4 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
1 |
0 |
3.1 |
bash |
| 8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
| 16 |
no-host |
hello-world |
3 |
1 |
2 |
6.6 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
2 |
1 |
6.8 |
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,391 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,193 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,315 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,387 |
0 |
0 |
0 |
16 |
0 |
38 |
1 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,810 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
99,468 |
0 |
0 |
0 |
8 |
0 |
1,998 |
70 |
bash |
| 9 |
no-host |
bin-true |
49,407 |
0 |
0 |
0 |
8 |
0 |
2,994 |
69 |
dash |
| 17 |
no-host |
bin-true |
133,034 |
0 |
0 |
0 |
16 |
0 |
1,999 |
88 |
osh-native |
| 25 |
no-host |
bin-true |
131,317 |
0 |
0 |
0 |
16 |
0 |
1,996 |
66 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
112,714 |
0 |
0 |
0 |
8 |
0 |
2,000 |
56 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,624,906 |
0 |
0 |
0 |
25,272 |
0 |
14,069 |
1,038 |
bash |
| 10 |
no-host |
configure.cpython |
1,637,211 |
0 |
0 |
0 |
25,272 |
0 |
14,113 |
1,036 |
dash |
| 18 |
no-host |
configure.cpython |
1,581,505 |
0 |
0 |
0 |
25,280 |
0 |
11,311 |
865 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,594,666 |
0 |
0 |
0 |
25,280 |
0 |
11,317 |
865 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,520,514 |
0 |
0 |
0 |
25,272 |
0 |
11,310 |
885 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,260 |
0 |
0 |
0 |
4,432 |
0 |
2,015 |
183 |
bash |
| 12 |
no-host |
configure.ocaml |
280,614 |
0 |
0 |
0 |
4,432 |
0 |
2,106 |
249 |
dash |
| 20 |
no-host |
configure.ocaml |
306,215 |
0 |
0 |
0 |
4,440 |
0 |
2,003 |
205 |
osh-native |
| 28 |
no-host |
configure.ocaml |
307,365 |
0 |
0 |
0 |
4,440 |
0 |
2,002 |
193 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,137 |
0 |
0 |
0 |
4,432 |
0 |
2,000 |
207 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,198 |
0 |
0 |
0 |
80 |
0 |
49 |
3 |
bash |
| 13 |
no-host |
configure.tcc |
4,198 |
0 |
0 |
0 |
88 |
0 |
52 |
3 |
dash |
| 21 |
no-host |
configure.tcc |
5,584 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,691 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,135 |
0 |
0 |
0 |
88 |
0 |
45 |
2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,544,772 |
0 |
0 |
0 |
35,944 |
0 |
18,995 |
1,048 |
bash |
| 11 |
no-host |
configure.util-linux |
1,702,759 |
1 |
0 |
496 |
35,936 |
0 |
17,116 |
1,151 |
dash |
| 19 |
no-host |
configure.util-linux |
1,496,876 |
0 |
0 |
0 |
35,952 |
0 |
16,126 |
904 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,511,574 |
1 |
0 |
0 |
35,944 |
0 |
16,140 |
970 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,470,723 |
2 |
0 |
0 |
35,936 |
0 |
16,203 |
906 |
osh-static |
| 6 |
no-host |
configure.yash |
173,201 |
0 |
0 |
0 |
3,616 |
0 |
877 |
101 |
bash |
| 14 |
no-host |
configure.yash |
159,565 |
0 |
0 |
0 |
3,624 |
0 |
1,000 |
108 |
dash |
| 22 |
no-host |
configure.yash |
176,663 |
0 |
0 |
0 |
3,624 |
0 |
858 |
102 |
osh-native |
| 30 |
no-host |
configure.yash |
177,459 |
0 |
0 |
0 |
3,624 |
0 |
857 |
92 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
173,133 |
0 |
0 |
0 |
3,624 |
0 |
857 |
108 |
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 |
397 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
182 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host