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 |
21 |
22 |
18 |
1.35 |
1.16 |
| bin-true |
no-host |
621 |
450 |
803 |
810 |
660 |
1.29 |
1.06 |
| configure.cpython |
no-host |
13,991 |
14,086 |
13,612 |
13,711 |
13,128 |
0.97 |
0.94 |
| configure.ocaml |
no-host |
3,687 |
3,656 |
3,728 |
3,762 |
3,688 |
1.01 |
1.00 |
| configure.tcc |
no-host |
45 |
41 |
47 |
47 |
44 |
1.04 |
0.96 |
| configure.util-linux |
no-host |
12,761 |
13,489 |
12,557 |
12,744 |
12,286 |
0.98 |
0.96 |
| configure.yash |
no-host |
1,714 |
1,664 |
1,729 |
1,726 |
1,702 |
1.01 |
0.99 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.51 |
1.07 |
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,376 |
1,159 |
3,304 |
3,391 |
2,850 |
1.39 |
1.20 |
| bin-true |
no-host |
98,486 |
49,386 |
131,007 |
133,381 |
112,708 |
1.33 |
1.14 |
| configure.cpython |
no-host |
1,619,910 |
1,632,785 |
1,590,095 |
1,604,966 |
1,521,620 |
0.98 |
0.94 |
| configure.ocaml |
no-host |
299,227 |
281,359 |
306,442 |
307,700 |
300,477 |
1.02 |
1.00 |
| configure.tcc |
no-host |
5,201 |
4,195 |
5,629 |
5,667 |
5,147 |
1.08 |
0.99 |
| configure.util-linux |
no-host |
1,541,429 |
1,703,210 |
1,500,267 |
1,507,010 |
1,476,940 |
0.97 |
0.96 |
| configure.yash |
no-host |
173,243 |
159,546 |
176,491 |
177,355 |
172,988 |
1.02 |
1.00 |
| hello-world |
no-host |
153 |
85 |
391 |
400 |
184 |
2.56 |
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.4 |
3,909 |
3,909 |
0 |
722 |
1,923 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
803 |
1 |
2 |
3.5 |
8.8 |
151,894 |
10,757 |
2,971 |
14,781 |
72,397 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,612 |
1 |
67 |
14.8 |
34.5 |
1,750,756 |
35,385 |
28,942 |
93,077 |
869,714 |
787,965 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,557 |
3 |
66 |
21.6 |
39.6 |
2,705,292 |
37,457 |
66,330 |
119,745 |
1,291,809 |
1,293,738 |
32,527 |
42 |
132,660 |
1 |
| configure.ocaml |
no-host |
3,728 |
1 |
2 |
2.8 |
28.5 |
149,694 |
12,649 |
6,564 |
9,213 |
70,297 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.1 |
30,543 |
30,543 |
0 |
1,680 |
14,474 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,729 |
1 |
2 |
2.7 |
33.4 |
143,456 |
11,462 |
6,618 |
7,166 |
70,510 |
65,780 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
21 |
1 |
2 |
3.0 |
9.4 |
117,225 |
65,791 |
42,001 |
4,975 |
54,599 |
57,651 |
277 |
3 |
84,002 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
7.2 |
3,908 |
3,908 |
0 |
721 |
1,923 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
810 |
1 |
2 |
3.5 |
9.2 |
151,894 |
10,761 |
2,975 |
14,781 |
72,397 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,711 |
2 |
69 |
14.8 |
34.5 |
1,750,755 |
35,390 |
28,947 |
93,076 |
869,714 |
787,965 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,744 |
3 |
68 |
21.6 |
39.7 |
2,705,292 |
37,463 |
66,336 |
119,745 |
1,291,809 |
1,293,738 |
32,527 |
42 |
132,672 |
1 |
| configure.ocaml |
no-host |
3,762 |
1 |
2 |
2.8 |
28.8 |
149,694 |
12,654 |
6,569 |
9,213 |
70,297 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.3 |
30,543 |
30,543 |
0 |
1,680 |
14,474 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,726 |
1 |
2 |
2.7 |
33.4 |
143,456 |
11,466 |
6,622 |
7,166 |
70,510 |
65,780 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
22 |
1 |
2 |
3.0 |
10.0 |
117,225 |
65,795 |
42,005 |
4,975 |
54,599 |
57,651 |
277 |
3 |
84,010 |
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 |
11 |
5 |
4.8 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
5 |
5 |
3.8 |
dash |
| 23 |
no-host |
abuild-print-help |
21 |
13 |
9 |
9.4 |
osh-native |
| 31 |
no-host |
abuild-print-help |
22 |
14 |
8 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
18 |
15 |
4 |
6.4 |
osh-static |
| 1 |
no-host |
bin-true |
621 |
308 |
351 |
3.1 |
bash |
| 9 |
no-host |
bin-true |
450 |
286 |
170 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
803 |
314 |
506 |
8.8 |
osh-native |
| 25 |
no-host |
bin-true |
810 |
311 |
514 |
9.2 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
660 |
345 |
331 |
5.4 |
osh-static |
| 2 |
no-host |
configure.cpython |
13,991 |
7,700 |
6,685 |
34.7 |
bash |
| 10 |
no-host |
configure.cpython |
14,086 |
7,712 |
6,756 |
34.6 |
dash |
| 18 |
no-host |
configure.cpython |
13,612 |
7,164 |
6,714 |
34.5 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,711 |
7,300 |
6,700 |
34.5 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
13,128 |
7,229 |
6,133 |
34.1 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,687 |
1,487 |
1,242 |
28.8 |
bash |
| 12 |
no-host |
configure.ocaml |
3,656 |
1,508 |
1,173 |
28.6 |
dash |
| 20 |
no-host |
configure.ocaml |
3,728 |
1,487 |
1,281 |
28.5 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,762 |
1,504 |
1,300 |
28.8 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,688 |
1,488 |
1,232 |
28.6 |
osh-static |
| 5 |
no-host |
configure.tcc |
45 |
19 |
28 |
26.2 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
21 |
21 |
26.1 |
dash |
| 21 |
no-host |
configure.tcc |
47 |
27 |
21 |
26.1 |
osh-native |
| 29 |
no-host |
configure.tcc |
47 |
26 |
22 |
26.3 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
44 |
22 |
22 |
26.3 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,761 |
6,677 |
6,555 |
39.9 |
bash |
| 11 |
no-host |
configure.util-linux |
13,489 |
6,581 |
7,400 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
12,557 |
6,140 |
6,636 |
39.6 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,744 |
6,393 |
6,578 |
39.7 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,286 |
6,359 |
6,140 |
39.6 |
osh-static |
| 6 |
no-host |
configure.yash |
1,714 |
947 |
776 |
33.4 |
bash |
| 14 |
no-host |
configure.yash |
1,664 |
935 |
730 |
33.4 |
dash |
| 22 |
no-host |
configure.yash |
1,729 |
967 |
765 |
33.4 |
osh-native |
| 30 |
no-host |
configure.yash |
1,726 |
935 |
794 |
33.4 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,702 |
974 |
731 |
33.2 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
1 |
0 |
3.1 |
bash |
| 8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
3 |
3 |
0 |
6.4 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
1 |
2 |
7.2 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
1 |
1 |
0 |
3.4 |
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,376 |
0 |
0 |
0 |
8 |
0 |
41 |
2 |
bash |
| 15 |
no-host |
abuild-print-help |
1,159 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,304 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,391 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,850 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
98,486 |
0 |
0 |
0 |
8 |
0 |
1,999 |
60 |
bash |
| 9 |
no-host |
bin-true |
49,386 |
0 |
0 |
0 |
8 |
0 |
2,994 |
48 |
dash |
| 17 |
no-host |
bin-true |
131,007 |
0 |
0 |
0 |
16 |
0 |
1,994 |
72 |
osh-native |
| 25 |
no-host |
bin-true |
133,381 |
0 |
0 |
0 |
16 |
0 |
2,000 |
70 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
112,708 |
0 |
0 |
0 |
8 |
0 |
1,998 |
96 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,619,910 |
0 |
0 |
0 |
25,272 |
0 |
14,088 |
1,007 |
bash |
| 10 |
no-host |
configure.cpython |
1,632,785 |
0 |
0 |
0 |
25,272 |
0 |
14,131 |
985 |
dash |
| 18 |
no-host |
configure.cpython |
1,590,095 |
0 |
0 |
0 |
25,280 |
0 |
11,299 |
801 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,604,966 |
0 |
0 |
0 |
25,280 |
0 |
11,298 |
871 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,521,620 |
1 |
0 |
0 |
25,272 |
0 |
11,311 |
865 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,227 |
0 |
0 |
0 |
4,432 |
0 |
2,019 |
198 |
bash |
| 12 |
no-host |
configure.ocaml |
281,359 |
0 |
0 |
0 |
4,432 |
0 |
2,104 |
209 |
dash |
| 20 |
no-host |
configure.ocaml |
306,442 |
0 |
0 |
0 |
4,440 |
0 |
2,002 |
239 |
osh-native |
| 28 |
no-host |
configure.ocaml |
307,700 |
0 |
0 |
0 |
4,440 |
0 |
1,998 |
203 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,477 |
0 |
0 |
0 |
4,432 |
0 |
1,999 |
221 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,201 |
0 |
0 |
0 |
80 |
0 |
49 |
2 |
bash |
| 13 |
no-host |
configure.tcc |
4,195 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
5,629 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,667 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,147 |
0 |
0 |
0 |
88 |
0 |
45 |
2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,541,429 |
2 |
0 |
232 |
35,944 |
0 |
18,912 |
1,079 |
bash |
| 11 |
no-host |
configure.util-linux |
1,703,210 |
3 |
0 |
0 |
35,936 |
0 |
17,021 |
1,247 |
dash |
| 19 |
no-host |
configure.util-linux |
1,500,267 |
1 |
0 |
0 |
35,952 |
0 |
16,184 |
897 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,507,010 |
0 |
0 |
0 |
35,944 |
0 |
16,190 |
910 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,476,940 |
4 |
0 |
0 |
35,936 |
0 |
16,182 |
908 |
osh-static |
| 6 |
no-host |
configure.yash |
173,243 |
0 |
0 |
0 |
3,616 |
0 |
876 |
89 |
bash |
| 14 |
no-host |
configure.yash |
159,546 |
0 |
0 |
0 |
3,616 |
0 |
1,002 |
121 |
dash |
| 22 |
no-host |
configure.yash |
176,491 |
0 |
0 |
0 |
3,624 |
0 |
855 |
99 |
osh-native |
| 30 |
no-host |
configure.yash |
177,355 |
0 |
0 |
0 |
3,624 |
0 |
858 |
103 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
172,988 |
0 |
0 |
0 |
3,624 |
0 |
858 |
95 |
osh-static |
| 0 |
no-host |
hello-world |
153 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
85 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
391 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 24 |
no-host |
hello-world |
400 |
0 |
0 |
0 |
16 |
0 |
0 |
1 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
184 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host