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 |
21 |
18 |
1.32 |
1.20 |
| bin-true |
no-host |
619 |
440 |
795 |
811 |
648 |
1.28 |
1.05 |
| configure.cpython |
no-host |
13,784 |
13,830 |
13,383 |
13,532 |
13,020 |
0.97 |
0.94 |
| configure.ocaml |
no-host |
3,654 |
3,605 |
3,709 |
3,702 |
3,681 |
1.01 |
1.01 |
| configure.tcc |
no-host |
51 |
41 |
46 |
47 |
44 |
0.90 |
0.85 |
| configure.util-linux |
no-host |
12,475 |
13,197 |
12,493 |
12,521 |
12,187 |
1.00 |
0.98 |
| configure.yash |
no-host |
1,718 |
1,642 |
1,689 |
1,690 |
1,665 |
0.98 |
0.97 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.44 |
1.03 |
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,381 |
1,157 |
3,311 |
3,424 |
2,838 |
1.39 |
1.19 |
| bin-true |
no-host |
103,446 |
49,416 |
131,021 |
135,411 |
110,705 |
1.27 |
1.07 |
| configure.cpython |
no-host |
1,624,678 |
1,639,283 |
1,577,569 |
1,604,778 |
1,516,916 |
0.97 |
0.93 |
| configure.ocaml |
no-host |
299,249 |
281,224 |
306,308 |
307,356 |
299,950 |
1.02 |
1.00 |
| configure.tcc |
no-host |
5,203 |
4,212 |
5,592 |
5,666 |
5,127 |
1.07 |
0.99 |
| configure.util-linux |
no-host |
1,539,087 |
1,700,114 |
1,521,840 |
1,513,918 |
1,477,911 |
0.99 |
0.96 |
| configure.yash |
no-host |
173,167 |
159,524 |
176,030 |
176,909 |
172,840 |
1.02 |
1.00 |
| hello-world |
no-host |
153 |
84 |
391 |
400 |
181 |
2.56 |
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.4 |
3,915 |
3,915 |
0 |
723 |
1,921 |
1,271 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
795 |
1 |
2 |
3.5 |
8.7 |
151,900 |
10,763 |
2,977 |
14,782 |
72,395 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,383 |
1 |
64 |
14.8 |
34.3 |
1,750,827 |
35,398 |
28,953 |
93,078 |
869,762 |
787,987 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,493 |
3 |
65 |
21.6 |
39.5 |
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,709 |
1 |
2 |
2.8 |
28.7 |
149,700 |
12,655 |
6,570 |
9,214 |
70,295 |
70,191 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
46 |
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,689 |
1 |
2 |
2.7 |
33.2 |
143,476 |
11,507 |
6,624 |
7,168 |
70,525 |
65,783 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
20 |
1 |
2 |
3.0 |
9.6 |
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 |
811 |
1 |
2 |
3.5 |
9.2 |
151,900 |
10,767 |
2,981 |
14,782 |
72,395 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,532 |
2 |
65 |
14.8 |
34.5 |
1,750,826 |
36,457 |
28,958 |
93,077 |
869,762 |
787,987 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,521 |
3 |
64 |
21.6 |
39.6 |
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,702 |
1 |
2 |
2.8 |
28.5 |
149,700 |
12,660 |
6,575 |
9,214 |
70,295 |
70,191 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.3 |
30,551 |
30,551 |
0 |
1,681 |
14,473 |
14,397 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,690 |
1 |
2 |
2.7 |
33.3 |
143,476 |
11,511 |
6,628 |
7,168 |
70,525 |
65,783 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
21 |
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 |
15 |
7 |
9 |
4.7 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
2 |
7 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
20 |
9 |
12 |
9.6 |
osh-native |
| 31 |
no-host |
abuild-print-help |
21 |
11 |
11 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
18 |
14 |
5 |
6.3 |
osh-static |
| 1 |
no-host |
bin-true |
619 |
307 |
350 |
3.1 |
bash |
| 9 |
no-host |
bin-true |
440 |
275 |
169 |
1.4 |
dash |
| 17 |
no-host |
bin-true |
795 |
324 |
487 |
8.7 |
osh-native |
| 25 |
no-host |
bin-true |
811 |
309 |
520 |
9.2 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
648 |
311 |
352 |
5.1 |
osh-static |
| 2 |
no-host |
configure.cpython |
13,784 |
7,577 |
6,566 |
34.7 |
bash |
| 10 |
no-host |
configure.cpython |
13,830 |
7,532 |
6,653 |
34.6 |
dash |
| 18 |
no-host |
configure.cpython |
13,383 |
7,159 |
6,476 |
34.3 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,532 |
7,201 |
6,596 |
34.5 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
13,020 |
7,166 |
6,027 |
34.7 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,654 |
1,442 |
1,254 |
28.5 |
bash |
| 12 |
no-host |
configure.ocaml |
3,605 |
1,444 |
1,186 |
28.8 |
dash |
| 20 |
no-host |
configure.ocaml |
3,709 |
1,449 |
1,299 |
28.7 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,702 |
1,477 |
1,265 |
28.5 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,681 |
1,491 |
1,216 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
51 |
24 |
28 |
26.1 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
25 |
16 |
26.2 |
dash |
| 21 |
no-host |
configure.tcc |
46 |
25 |
22 |
26.2 |
osh-native |
| 29 |
no-host |
configure.tcc |
47 |
26 |
22 |
26.3 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
44 |
22 |
22 |
26.4 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,475 |
6,538 |
6,406 |
39.7 |
bash |
| 11 |
no-host |
configure.util-linux |
13,197 |
6,500 |
7,179 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
12,493 |
6,128 |
6,581 |
39.5 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,521 |
6,229 |
6,508 |
39.6 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,187 |
6,221 |
6,183 |
39.6 |
osh-static |
| 6 |
no-host |
configure.yash |
1,718 |
977 |
750 |
33.3 |
bash |
| 14 |
no-host |
configure.yash |
1,642 |
926 |
717 |
33.3 |
dash |
| 22 |
no-host |
configure.yash |
1,689 |
942 |
750 |
33.2 |
osh-native |
| 30 |
no-host |
configure.yash |
1,690 |
940 |
753 |
33.3 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,665 |
935 |
734 |
33.3 |
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 |
2 |
1 |
6.4 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
3 |
0 |
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,381 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,157 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,311 |
0 |
0 |
0 |
16 |
0 |
38 |
0 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,424 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,838 |
0 |
0 |
0 |
8 |
0 |
38 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
103,446 |
0 |
0 |
0 |
8 |
0 |
1,991 |
58 |
bash |
| 9 |
no-host |
bin-true |
49,416 |
0 |
0 |
0 |
8 |
0 |
2,992 |
54 |
dash |
| 17 |
no-host |
bin-true |
131,021 |
0 |
0 |
0 |
16 |
0 |
1,997 |
86 |
osh-native |
| 25 |
no-host |
bin-true |
135,411 |
0 |
0 |
0 |
16 |
0 |
1,999 |
79 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
110,705 |
0 |
0 |
0 |
8 |
0 |
1,998 |
74 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,624,678 |
0 |
0 |
0 |
25,272 |
0 |
14,091 |
1,019 |
bash |
| 10 |
no-host |
configure.cpython |
1,639,283 |
0 |
0 |
0 |
25,272 |
0 |
14,130 |
1,043 |
dash |
| 18 |
no-host |
configure.cpython |
1,577,569 |
0 |
0 |
0 |
25,280 |
0 |
11,300 |
828 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,604,778 |
0 |
0 |
0 |
25,280 |
0 |
11,312 |
842 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,516,916 |
0 |
0 |
0 |
25,272 |
0 |
11,311 |
834 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,249 |
0 |
0 |
0 |
4,432 |
0 |
2,010 |
192 |
bash |
| 12 |
no-host |
configure.ocaml |
281,224 |
0 |
0 |
0 |
4,432 |
0 |
2,112 |
196 |
dash |
| 20 |
no-host |
configure.ocaml |
306,308 |
0 |
0 |
0 |
4,440 |
0 |
1,997 |
231 |
osh-native |
| 28 |
no-host |
configure.ocaml |
307,356 |
0 |
0 |
0 |
4,440 |
0 |
2,001 |
204 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
299,950 |
0 |
0 |
0 |
4,432 |
0 |
2,000 |
253 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,203 |
0 |
0 |
0 |
80 |
0 |
49 |
3 |
bash |
| 13 |
no-host |
configure.tcc |
4,212 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
5,592 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,666 |
0 |
0 |
0 |
96 |
0 |
45 |
4 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,127 |
0 |
0 |
0 |
88 |
0 |
45 |
3 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,539,087 |
0 |
0 |
0 |
35,944 |
0 |
19,034 |
1,013 |
bash |
| 11 |
no-host |
configure.util-linux |
1,700,114 |
1 |
0 |
0 |
35,936 |
0 |
17,113 |
1,178 |
dash |
| 19 |
no-host |
configure.util-linux |
1,521,840 |
1 |
0 |
0 |
35,952 |
0 |
16,149 |
932 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,513,918 |
1 |
0 |
0 |
35,944 |
0 |
16,211 |
914 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,477,911 |
2 |
0 |
0 |
35,936 |
0 |
16,103 |
897 |
osh-static |
| 6 |
no-host |
configure.yash |
173,167 |
0 |
0 |
0 |
3,616 |
0 |
876 |
92 |
bash |
| 14 |
no-host |
configure.yash |
159,524 |
0 |
0 |
0 |
3,616 |
0 |
1,005 |
105 |
dash |
| 22 |
no-host |
configure.yash |
176,030 |
0 |
0 |
0 |
3,632 |
0 |
854 |
107 |
osh-native |
| 30 |
no-host |
configure.yash |
176,909 |
0 |
0 |
0 |
3,624 |
0 |
857 |
105 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
172,840 |
0 |
0 |
0 |
3,616 |
0 |
858 |
109 |
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 |
391 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 24 |
no-host |
hello-world |
400 |
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