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 |
20 |
21 |
18 |
1.31 |
1.15 |
| bin-true |
no-host |
613 |
437 |
802 |
797 |
650 |
1.31 |
1.06 |
| configure.cpython |
no-host |
13,616 |
13,795 |
13,473 |
13,366 |
12,821 |
0.99 |
0.94 |
| configure.ocaml |
no-host |
3,636 |
3,587 |
3,666 |
3,681 |
3,638 |
1.01 |
1.00 |
| configure.tcc |
no-host |
46 |
41 |
47 |
47 |
43 |
1.03 |
0.94 |
| configure.util-linux |
no-host |
12,385 |
13,188 |
12,347 |
12,336 |
12,025 |
1.00 |
0.97 |
| configure.yash |
no-host |
1,714 |
1,625 |
1,683 |
1,691 |
1,670 |
0.98 |
0.97 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.51 |
1.04 |
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,385 |
1,187 |
3,329 |
3,376 |
2,812 |
1.40 |
1.18 |
| bin-true |
no-host |
100,467 |
49,399 |
130,365 |
130,984 |
110,045 |
1.30 |
1.10 |
| configure.cpython |
no-host |
1,619,870 |
1,634,643 |
1,586,235 |
1,597,570 |
1,523,446 |
0.98 |
0.94 |
| configure.ocaml |
no-host |
298,710 |
280,746 |
305,942 |
306,532 |
300,651 |
1.02 |
1.01 |
| configure.tcc |
no-host |
5,231 |
4,209 |
5,584 |
5,696 |
5,121 |
1.07 |
0.98 |
| configure.util-linux |
no-host |
1,537,029 |
1,700,228 |
1,495,976 |
1,514,336 |
1,457,927 |
0.97 |
0.95 |
| configure.yash |
no-host |
173,478 |
159,523 |
176,613 |
177,009 |
173,119 |
1.02 |
1.00 |
| hello-world |
no-host |
154 |
87 |
390 |
396 |
183 |
2.53 |
1.19 |
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,896 |
3,896 |
0 |
716 |
1,916 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
802 |
1 |
2 |
3.5 |
8.5 |
151,881 |
10,750 |
2,964 |
14,775 |
72,390 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,473 |
1 |
67 |
14.8 |
34.5 |
1,750,743 |
35,378 |
28,935 |
93,071 |
869,707 |
787,965 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,347 |
3 |
65 |
21.6 |
39.7 |
2,705,279 |
37,450 |
66,323 |
119,739 |
1,291,802 |
1,293,738 |
32,527 |
42 |
132,646 |
1 |
| configure.ocaml |
no-host |
3,666 |
1 |
2 |
2.8 |
28.6 |
149,681 |
12,642 |
6,557 |
9,207 |
70,290 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.1 |
30,530 |
30,530 |
0 |
1,674 |
14,467 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,683 |
1 |
2 |
2.7 |
33.2 |
143,443 |
11,455 |
6,611 |
7,160 |
70,503 |
65,780 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
20 |
1 |
2 |
3.0 |
9.3 |
117,212 |
65,784 |
41,994 |
4,969 |
54,592 |
57,651 |
277 |
3 |
83,988 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.9 |
3,895 |
3,895 |
0 |
715 |
1,916 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
797 |
1 |
2 |
3.5 |
9.0 |
151,881 |
10,754 |
2,968 |
14,775 |
72,390 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,366 |
1 |
65 |
14.8 |
34.5 |
1,750,742 |
35,383 |
28,940 |
93,070 |
869,707 |
787,965 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,336 |
3 |
63 |
21.6 |
39.7 |
2,705,279 |
37,456 |
66,329 |
119,739 |
1,291,802 |
1,293,738 |
32,527 |
42 |
132,658 |
1 |
| configure.ocaml |
no-host |
3,681 |
1 |
2 |
2.8 |
28.8 |
149,681 |
12,647 |
6,562 |
9,207 |
70,290 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.3 |
30,530 |
30,530 |
0 |
1,674 |
14,467 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,691 |
1 |
2 |
2.7 |
33.4 |
143,443 |
11,459 |
6,615 |
7,160 |
70,503 |
65,780 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
21 |
1 |
2 |
3.0 |
10.1 |
117,212 |
65,788 |
41,998 |
4,969 |
54,592 |
57,651 |
277 |
3 |
83,996 |
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 |
6 |
10 |
4.7 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
6 |
3 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
20 |
14 |
7 |
9.3 |
osh-native |
| 31 |
no-host |
abuild-print-help |
21 |
13 |
9 |
10.1 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
18 |
10 |
8 |
6.4 |
osh-static |
| 1 |
no-host |
bin-true |
613 |
315 |
335 |
3.3 |
bash |
| 9 |
no-host |
bin-true |
437 |
278 |
166 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
802 |
306 |
512 |
8.5 |
osh-native |
| 25 |
no-host |
bin-true |
797 |
304 |
510 |
9.0 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
650 |
339 |
328 |
5.4 |
osh-static |
| 2 |
no-host |
configure.cpython |
13,616 |
7,360 |
6,637 |
34.5 |
bash |
| 10 |
no-host |
configure.cpython |
13,795 |
7,593 |
6,594 |
34.5 |
dash |
| 18 |
no-host |
configure.cpython |
13,473 |
7,127 |
6,617 |
34.5 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,366 |
7,139 |
6,505 |
34.5 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
12,821 |
7,059 |
5,998 |
34.5 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,636 |
1,489 |
1,187 |
28.7 |
bash |
| 12 |
no-host |
configure.ocaml |
3,587 |
1,440 |
1,172 |
28.6 |
dash |
| 20 |
no-host |
configure.ocaml |
3,666 |
1,464 |
1,241 |
28.6 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,681 |
1,452 |
1,270 |
28.8 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,638 |
1,474 |
1,195 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
46 |
24 |
22 |
26.0 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
22 |
19 |
26.3 |
dash |
| 21 |
no-host |
configure.tcc |
47 |
22 |
25 |
26.1 |
osh-native |
| 29 |
no-host |
configure.tcc |
47 |
28 |
20 |
26.3 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
43 |
23 |
20 |
26.1 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,385 |
6,544 |
6,295 |
39.6 |
bash |
| 11 |
no-host |
configure.util-linux |
13,188 |
6,379 |
7,296 |
39.5 |
dash |
| 19 |
no-host |
configure.util-linux |
12,347 |
6,124 |
6,441 |
39.7 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,336 |
6,067 |
6,494 |
39.7 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,025 |
6,144 |
6,081 |
39.7 |
osh-static |
| 6 |
no-host |
configure.yash |
1,714 |
939 |
748 |
33.1 |
bash |
| 14 |
no-host |
configure.yash |
1,625 |
947 |
680 |
33.4 |
dash |
| 22 |
no-host |
configure.yash |
1,683 |
946 |
741 |
33.2 |
osh-native |
| 30 |
no-host |
configure.yash |
1,691 |
948 |
746 |
33.4 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,670 |
935 |
731 |
33.2 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.1 |
bash |
| 8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
3 |
0 |
3 |
6.6 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
0 |
3 |
6.9 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
1 |
0 |
1 |
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,385 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,187 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,329 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,376 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,812 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
100,467 |
0 |
0 |
0 |
8 |
0 |
1,999 |
61 |
bash |
| 9 |
no-host |
bin-true |
49,399 |
0 |
0 |
0 |
8 |
0 |
2,996 |
63 |
dash |
| 17 |
no-host |
bin-true |
130,365 |
0 |
0 |
0 |
16 |
0 |
1,998 |
88 |
osh-native |
| 25 |
no-host |
bin-true |
130,984 |
0 |
0 |
0 |
16 |
0 |
2,000 |
92 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
110,045 |
0 |
0 |
0 |
8 |
0 |
1,999 |
65 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,619,870 |
0 |
0 |
0 |
25,272 |
0 |
14,052 |
1,033 |
bash |
| 10 |
no-host |
configure.cpython |
1,634,643 |
0 |
0 |
0 |
25,272 |
0 |
14,112 |
1,032 |
dash |
| 18 |
no-host |
configure.cpython |
1,586,235 |
0 |
0 |
0 |
25,280 |
0 |
11,310 |
867 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,597,570 |
0 |
0 |
0 |
25,280 |
0 |
11,310 |
853 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,523,446 |
0 |
0 |
0 |
25,272 |
0 |
11,315 |
866 |
osh-static |
| 4 |
no-host |
configure.ocaml |
298,710 |
0 |
0 |
0 |
4,432 |
0 |
2,020 |
176 |
bash |
| 12 |
no-host |
configure.ocaml |
280,746 |
0 |
0 |
0 |
4,432 |
0 |
2,107 |
162 |
dash |
| 20 |
no-host |
configure.ocaml |
305,942 |
0 |
0 |
0 |
4,440 |
0 |
2,004 |
213 |
osh-native |
| 28 |
no-host |
configure.ocaml |
306,532 |
0 |
0 |
0 |
4,440 |
0 |
1,997 |
203 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,651 |
0 |
0 |
0 |
4,432 |
0 |
1,998 |
231 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,231 |
0 |
0 |
0 |
80 |
0 |
49 |
2 |
bash |
| 13 |
no-host |
configure.tcc |
4,209 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
5,584 |
0 |
0 |
0 |
96 |
0 |
45 |
6 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,696 |
0 |
0 |
0 |
96 |
0 |
45 |
4 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,121 |
0 |
0 |
0 |
88 |
0 |
45 |
2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,537,029 |
0 |
0 |
232 |
35,944 |
0 |
19,002 |
1,087 |
bash |
| 11 |
no-host |
configure.util-linux |
1,700,228 |
1 |
0 |
0 |
35,936 |
0 |
17,127 |
1,163 |
dash |
| 19 |
no-host |
configure.util-linux |
1,495,976 |
1 |
0 |
0 |
35,960 |
0 |
16,144 |
978 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,514,336 |
2 |
0 |
0 |
35,952 |
0 |
16,142 |
991 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,457,927 |
3 |
0 |
0 |
35,944 |
0 |
16,229 |
879 |
osh-static |
| 6 |
no-host |
configure.yash |
173,478 |
0 |
0 |
0 |
3,616 |
0 |
880 |
97 |
bash |
| 14 |
no-host |
configure.yash |
159,523 |
0 |
0 |
0 |
3,624 |
0 |
1,003 |
106 |
dash |
| 22 |
no-host |
configure.yash |
176,613 |
0 |
0 |
0 |
3,624 |
0 |
858 |
92 |
osh-native |
| 30 |
no-host |
configure.yash |
177,009 |
0 |
0 |
0 |
3,624 |
0 |
857 |
102 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
173,119 |
0 |
0 |
0 |
3,616 |
0 |
859 |
105 |
osh-static |
| 0 |
no-host |
hello-world |
154 |
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 |
390 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 24 |
no-host |
hello-world |
396 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
183 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host