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 |
22 |
19 |
1.33 |
1.17 |
| bin-true |
no-host |
631 |
447 |
809 |
851 |
677 |
1.28 |
1.07 |
| configure.cpython |
no-host |
14,619 |
14,716 |
14,231 |
14,267 |
13,610 |
0.97 |
0.93 |
| configure.ocaml |
no-host |
3,838 |
3,793 |
3,914 |
3,889 |
3,820 |
1.02 |
1.00 |
| configure.tcc |
no-host |
48 |
44 |
49 |
51 |
45 |
1.01 |
0.94 |
| configure.util-linux |
no-host |
13,309 |
14,067 |
13,442 |
13,398 |
12,818 |
1.01 |
0.96 |
| configure.yash |
no-host |
1,793 |
1,733 |
1,776 |
1,805 |
1,762 |
0.99 |
0.98 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.28 |
0.97 |
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,401 |
1,165 |
3,301 |
3,403 |
2,846 |
1.37 |
1.19 |
| bin-true |
no-host |
100,462 |
49,388 |
127,992 |
135,413 |
111,709 |
1.27 |
1.11 |
| configure.cpython |
no-host |
1,615,450 |
1,633,172 |
1,591,860 |
1,594,892 |
1,518,199 |
0.99 |
0.94 |
| configure.ocaml |
no-host |
299,221 |
280,703 |
306,889 |
306,750 |
300,014 |
1.03 |
1.00 |
| configure.tcc |
no-host |
5,196 |
4,216 |
5,596 |
5,702 |
5,117 |
1.08 |
0.98 |
| configure.util-linux |
no-host |
1,539,874 |
1,699,665 |
1,512,625 |
1,521,631 |
1,476,768 |
0.98 |
0.96 |
| configure.yash |
no-host |
173,378 |
159,503 |
176,281 |
176,851 |
172,815 |
1.02 |
1.00 |
| hello-world |
no-host |
153 |
84 |
393 |
399 |
181 |
2.57 |
1.18 |
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,915 |
3,915 |
0 |
723 |
1,921 |
1,271 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
809 |
1 |
2 |
3.5 |
8.5 |
151,900 |
10,763 |
2,977 |
14,782 |
72,395 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,231 |
2 |
73 |
14.8 |
34.6 |
1,750,827 |
35,398 |
28,953 |
93,078 |
869,762 |
787,987 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
13,442 |
3 |
72 |
21.6 |
39.6 |
2,705,393 |
37,470 |
66,341 |
119,746 |
1,291,872 |
1,293,775 |
32,527 |
42 |
132,682 |
1 |
| configure.ocaml |
no-host |
3,914 |
1 |
2 |
2.8 |
28.6 |
149,700 |
12,655 |
6,570 |
9,214 |
70,295 |
70,191 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
49 |
0 |
0 |
1.4 |
26.2 |
30,551 |
30,551 |
0 |
1,681 |
14,473 |
14,397 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,776 |
1 |
2 |
2.7 |
33.3 |
143,476 |
11,507 |
6,624 |
7,168 |
70,525 |
65,783 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
22 |
1 |
2 |
3.0 |
9.3 |
117,234 |
65,800 |
42,007 |
4,977 |
54,599 |
57,658 |
277 |
3 |
84,014 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.9 |
3,914 |
3,914 |
0 |
722 |
1,921 |
1,271 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
851 |
1 |
2 |
3.5 |
9.0 |
151,900 |
10,767 |
2,981 |
14,782 |
72,395 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,267 |
1 |
69 |
14.8 |
34.4 |
1,750,826 |
36,457 |
28,958 |
93,077 |
869,762 |
787,987 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
13,398 |
6 |
74 |
21.6 |
39.5 |
2,705,393 |
37,476 |
66,347 |
119,746 |
1,291,872 |
1,293,775 |
32,527 |
42 |
132,694 |
1 |
| configure.ocaml |
no-host |
3,889 |
1 |
2 |
2.8 |
28.7 |
149,700 |
12,660 |
6,575 |
9,214 |
70,295 |
70,191 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
51 |
0 |
0 |
1.4 |
26.0 |
30,551 |
30,551 |
0 |
1,681 |
14,473 |
14,397 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,805 |
1 |
2 |
2.7 |
33.4 |
143,476 |
11,511 |
6,628 |
7,168 |
70,525 |
65,783 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
22 |
1 |
2 |
3.0 |
10.0 |
117,234 |
65,804 |
42,011 |
4,977 |
54,599 |
57,658 |
277 |
3 |
84,022 |
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 |
7 |
10 |
4.7 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
5 |
4 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
22 |
11 |
11 |
9.3 |
osh-native |
| 31 |
no-host |
abuild-print-help |
22 |
12 |
11 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
19 |
13 |
7 |
6.3 |
osh-static |
| 1 |
no-host |
bin-true |
631 |
319 |
351 |
3.1 |
bash |
| 9 |
no-host |
bin-true |
447 |
270 |
183 |
1.7 |
dash |
| 17 |
no-host |
bin-true |
809 |
309 |
515 |
8.5 |
osh-native |
| 25 |
no-host |
bin-true |
851 |
291 |
564 |
9.0 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
677 |
336 |
355 |
5.1 |
osh-static |
| 2 |
no-host |
configure.cpython |
14,619 |
7,881 |
7,075 |
34.5 |
bash |
| 10 |
no-host |
configure.cpython |
14,716 |
7,978 |
7,105 |
34.7 |
dash |
| 18 |
no-host |
configure.cpython |
14,231 |
7,465 |
7,014 |
34.6 |
osh-native |
| 26 |
no-host |
configure.cpython |
14,267 |
7,556 |
6,968 |
34.4 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
13,610 |
7,437 |
6,362 |
34.5 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,838 |
1,579 |
1,300 |
28.5 |
bash |
| 12 |
no-host |
configure.ocaml |
3,793 |
1,518 |
1,284 |
28.7 |
dash |
| 20 |
no-host |
configure.ocaml |
3,914 |
1,528 |
1,419 |
28.6 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,889 |
1,579 |
1,349 |
28.7 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,820 |
1,551 |
1,301 |
28.5 |
osh-static |
| 5 |
no-host |
configure.tcc |
48 |
28 |
21 |
26.0 |
bash |
| 13 |
no-host |
configure.tcc |
44 |
25 |
19 |
26.2 |
dash |
| 21 |
no-host |
configure.tcc |
49 |
28 |
21 |
26.2 |
osh-native |
| 29 |
no-host |
configure.tcc |
51 |
29 |
22 |
26.0 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
45 |
23 |
23 |
26.1 |
osh-static |
| 3 |
no-host |
configure.util-linux |
13,309 |
6,819 |
6,889 |
39.8 |
bash |
| 11 |
no-host |
configure.util-linux |
14,067 |
6,756 |
7,776 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
13,442 |
6,522 |
7,026 |
39.6 |
osh-native |
| 27 |
no-host |
configure.util-linux |
13,398 |
6,498 |
7,065 |
39.5 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,818 |
6,532 |
6,469 |
39.5 |
osh-static |
| 6 |
no-host |
configure.yash |
1,793 |
1,002 |
791 |
33.1 |
bash |
| 14 |
no-host |
configure.yash |
1,733 |
973 |
756 |
33.4 |
dash |
| 22 |
no-host |
configure.yash |
1,776 |
977 |
799 |
33.3 |
osh-native |
| 30 |
no-host |
configure.yash |
1,805 |
963 |
841 |
33.4 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,762 |
976 |
784 |
33.4 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.1 |
bash |
| 8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
| 16 |
no-host |
hello-world |
3 |
1 |
2 |
6.6 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
2 |
1 |
6.9 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
1 |
1 |
0 |
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,401 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,165 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,301 |
0 |
0 |
0 |
16 |
0 |
38 |
0 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,403 |
0 |
0 |
0 |
16 |
0 |
38 |
0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,846 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
100,462 |
0 |
0 |
0 |
8 |
0 |
1,998 |
71 |
bash |
| 9 |
no-host |
bin-true |
49,388 |
0 |
0 |
0 |
8 |
0 |
2,996 |
53 |
dash |
| 17 |
no-host |
bin-true |
127,992 |
0 |
0 |
0 |
16 |
0 |
2,000 |
70 |
osh-native |
| 25 |
no-host |
bin-true |
135,413 |
0 |
0 |
0 |
16 |
0 |
2,000 |
84 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
111,709 |
0 |
0 |
0 |
8 |
0 |
1,999 |
67 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,615,450 |
0 |
0 |
0 |
25,272 |
0 |
14,087 |
1,125 |
bash |
| 10 |
no-host |
configure.cpython |
1,633,172 |
1 |
0 |
0 |
25,272 |
0 |
14,123 |
1,106 |
dash |
| 18 |
no-host |
configure.cpython |
1,591,860 |
0 |
0 |
0 |
25,280 |
0 |
11,297 |
798 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,594,892 |
0 |
0 |
0 |
25,280 |
0 |
11,305 |
820 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,518,199 |
0 |
0 |
0 |
25,272 |
0 |
11,252 |
886 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,221 |
0 |
0 |
0 |
4,432 |
0 |
2,017 |
194 |
bash |
| 12 |
no-host |
configure.ocaml |
280,703 |
0 |
0 |
0 |
4,432 |
0 |
2,109 |
226 |
dash |
| 20 |
no-host |
configure.ocaml |
306,889 |
0 |
0 |
0 |
4,440 |
0 |
1,999 |
230 |
osh-native |
| 28 |
no-host |
configure.ocaml |
306,750 |
0 |
0 |
0 |
4,440 |
0 |
1,995 |
199 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,014 |
0 |
0 |
0 |
4,432 |
0 |
2,002 |
217 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,196 |
0 |
0 |
0 |
80 |
0 |
47 |
2 |
bash |
| 13 |
no-host |
configure.tcc |
4,216 |
0 |
0 |
0 |
88 |
0 |
52 |
3 |
dash |
| 21 |
no-host |
configure.tcc |
5,596 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,702 |
0 |
0 |
0 |
96 |
0 |
45 |
1 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,117 |
0 |
0 |
0 |
88 |
0 |
45 |
4 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,539,874 |
1 |
0 |
0 |
35,944 |
0 |
19,062 |
1,046 |
bash |
| 11 |
no-host |
configure.util-linux |
1,699,665 |
1 |
0 |
496 |
35,936 |
0 |
17,152 |
1,290 |
dash |
| 19 |
no-host |
configure.util-linux |
1,512,625 |
2 |
0 |
0 |
35,952 |
0 |
16,152 |
907 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,521,631 |
0 |
0 |
0 |
35,944 |
0 |
16,206 |
1,031 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,476,768 |
2 |
0 |
0 |
35,936 |
0 |
16,171 |
858 |
osh-static |
| 6 |
no-host |
configure.yash |
173,378 |
0 |
0 |
0 |
3,616 |
0 |
880 |
88 |
bash |
| 14 |
no-host |
configure.yash |
159,503 |
0 |
0 |
0 |
3,616 |
0 |
1,003 |
101 |
dash |
| 22 |
no-host |
configure.yash |
176,281 |
0 |
0 |
0 |
3,624 |
0 |
857 |
109 |
osh-native |
| 30 |
no-host |
configure.yash |
176,851 |
0 |
0 |
0 |
3,624 |
0 |
855 |
102 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
172,815 |
0 |
0 |
0 |
3,616 |
0 |
858 |
101 |
osh-static |
| 0 |
no-host |
hello-world |
153 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
84 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
393 |
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