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.16 |
| bin-true |
no-host |
621 |
451 |
808 |
807 |
675 |
1.30 |
1.09 |
| configure.cpython |
no-host |
13,711 |
13,451 |
13,284 |
13,637 |
13,436 |
0.97 |
0.98 |
| configure.ocaml |
no-host |
3,582 |
3,646 |
3,634 |
3,705 |
3,662 |
1.01 |
1.02 |
| configure.tcc |
no-host |
45 |
43 |
46 |
46 |
43 |
1.01 |
0.96 |
| configure.util-linux |
no-host |
12,348 |
13,163 |
12,249 |
13,041 |
12,377 |
0.99 |
1.00 |
| configure.yash |
no-host |
1,641 |
1,647 |
1,654 |
1,722 |
1,673 |
1.01 |
1.02 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.48 |
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,390 |
1,161 |
3,260 |
3,447 |
2,808 |
1.36 |
1.17 |
| bin-true |
no-host |
103,455 |
49,392 |
130,426 |
131,981 |
110,035 |
1.26 |
1.06 |
| configure.cpython |
no-host |
1,630,181 |
1,639,919 |
1,588,189 |
1,606,928 |
1,522,938 |
0.97 |
0.93 |
| configure.ocaml |
no-host |
298,932 |
280,480 |
306,089 |
307,596 |
300,926 |
1.02 |
1.01 |
| configure.tcc |
no-host |
5,221 |
4,191 |
5,594 |
5,692 |
5,135 |
1.07 |
0.98 |
| configure.util-linux |
no-host |
1,533,798 |
1,699,932 |
1,499,902 |
1,519,349 |
1,458,165 |
0.98 |
0.95 |
| configure.yash |
no-host |
173,435 |
159,581 |
176,096 |
177,279 |
173,090 |
1.02 |
1.00 |
| hello-world |
no-host |
154 |
85 |
386 |
397 |
181 |
2.51 |
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,896 |
3,896 |
0 |
716 |
1,916 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
808 |
1 |
2 |
3.5 |
8.7 |
151,881 |
10,750 |
2,964 |
14,775 |
72,390 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,284 |
2 |
66 |
14.8 |
34.7 |
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,249 |
3 |
65 |
21.6 |
39.5 |
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,634 |
1 |
2 |
2.8 |
28.7 |
149,681 |
12,642 |
6,557 |
9,207 |
70,290 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
46 |
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,654 |
1 |
2 |
2.7 |
33.4 |
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.8 |
3,895 |
3,895 |
0 |
715 |
1,916 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
807 |
1 |
2 |
3.5 |
8.8 |
151,881 |
10,754 |
2,968 |
14,775 |
72,390 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,637 |
2 |
68 |
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 |
13,041 |
3 |
72 |
21.6 |
39.9 |
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,705 |
1 |
2 |
2.8 |
28.7 |
149,681 |
12,647 |
6,562 |
9,207 |
70,290 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
46 |
0 |
0 |
1.4 |
26.0 |
30,530 |
30,530 |
0 |
1,674 |
14,467 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,722 |
1 |
2 |
2.7 |
33.1 |
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 |
15 |
8 |
8 |
4.8 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
2 |
7 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
20 |
11 |
10 |
9.3 |
osh-native |
| 31 |
no-host |
abuild-print-help |
21 |
14 |
8 |
10.1 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
18 |
11 |
8 |
6.4 |
osh-static |
| 1 |
no-host |
bin-true |
621 |
315 |
343 |
3.1 |
bash |
| 9 |
no-host |
bin-true |
451 |
282 |
176 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
808 |
296 |
527 |
8.7 |
osh-native |
| 25 |
no-host |
bin-true |
807 |
326 |
500 |
8.8 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
675 |
298 |
396 |
5.2 |
osh-static |
| 2 |
no-host |
configure.cpython |
13,711 |
7,553 |
6,549 |
34.5 |
bash |
| 10 |
no-host |
configure.cpython |
13,451 |
7,432 |
6,410 |
34.5 |
dash |
| 18 |
no-host |
configure.cpython |
13,284 |
7,023 |
6,539 |
34.7 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,637 |
7,299 |
6,631 |
34.5 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
13,436 |
7,345 |
6,344 |
34.5 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,582 |
1,443 |
1,179 |
28.5 |
bash |
| 12 |
no-host |
configure.ocaml |
3,646 |
1,519 |
1,152 |
28.7 |
dash |
| 20 |
no-host |
configure.ocaml |
3,634 |
1,452 |
1,222 |
28.7 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,705 |
1,486 |
1,261 |
28.7 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,662 |
1,465 |
1,230 |
28.6 |
osh-static |
| 5 |
no-host |
configure.tcc |
45 |
19 |
26 |
26.1 |
bash |
| 13 |
no-host |
configure.tcc |
43 |
27 |
16 |
26.1 |
dash |
| 21 |
no-host |
configure.tcc |
46 |
21 |
25 |
26.3 |
osh-native |
| 29 |
no-host |
configure.tcc |
46 |
27 |
20 |
26.0 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
43 |
26 |
18 |
26.1 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,348 |
6,517 |
6,301 |
39.7 |
bash |
| 11 |
no-host |
configure.util-linux |
13,163 |
6,494 |
7,157 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
12,249 |
6,076 |
6,400 |
39.5 |
osh-native |
| 27 |
no-host |
configure.util-linux |
13,041 |
6,397 |
6,881 |
39.9 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,377 |
6,360 |
6,240 |
39.7 |
osh-static |
| 6 |
no-host |
configure.yash |
1,641 |
927 |
722 |
33.3 |
bash |
| 14 |
no-host |
configure.yash |
1,647 |
961 |
688 |
33.3 |
dash |
| 22 |
no-host |
configure.yash |
1,654 |
947 |
711 |
33.4 |
osh-native |
| 30 |
no-host |
configure.yash |
1,722 |
969 |
755 |
33.1 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,673 |
939 |
736 |
33.3 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
1 |
0 |
3.3 |
bash |
| 8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
3 |
1 |
2 |
6.4 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
1 |
2 |
6.8 |
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,390 |
0 |
0 |
0 |
8 |
0 |
41 |
1 |
bash |
| 15 |
no-host |
abuild-print-help |
1,161 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,260 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,447 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,808 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
103,455 |
0 |
0 |
0 |
8 |
0 |
1,997 |
59 |
bash |
| 9 |
no-host |
bin-true |
49,392 |
0 |
0 |
0 |
8 |
0 |
2,994 |
47 |
dash |
| 17 |
no-host |
bin-true |
130,426 |
0 |
0 |
0 |
16 |
0 |
1,997 |
118 |
osh-native |
| 25 |
no-host |
bin-true |
131,981 |
0 |
0 |
0 |
16 |
0 |
1,995 |
65 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
110,035 |
0 |
0 |
0 |
8 |
0 |
1,996 |
55 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,630,181 |
0 |
0 |
0 |
25,272 |
0 |
14,064 |
1,082 |
bash |
| 10 |
no-host |
configure.cpython |
1,639,919 |
1 |
0 |
0 |
25,272 |
0 |
14,109 |
1,008 |
dash |
| 18 |
no-host |
configure.cpython |
1,588,189 |
0 |
0 |
0 |
25,280 |
0 |
11,311 |
900 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,606,928 |
0 |
0 |
0 |
25,280 |
0 |
11,332 |
883 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,522,938 |
0 |
0 |
0 |
25,272 |
0 |
11,300 |
882 |
osh-static |
| 4 |
no-host |
configure.ocaml |
298,932 |
0 |
0 |
0 |
4,432 |
0 |
2,021 |
196 |
bash |
| 12 |
no-host |
configure.ocaml |
280,480 |
0 |
0 |
0 |
4,432 |
0 |
2,111 |
202 |
dash |
| 20 |
no-host |
configure.ocaml |
306,089 |
0 |
0 |
0 |
4,440 |
0 |
1,998 |
246 |
osh-native |
| 28 |
no-host |
configure.ocaml |
307,596 |
0 |
0 |
0 |
4,440 |
0 |
2,001 |
210 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,926 |
0 |
0 |
0 |
4,432 |
0 |
1,998 |
218 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,221 |
0 |
0 |
0 |
80 |
0 |
49 |
1 |
bash |
| 13 |
no-host |
configure.tcc |
4,191 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
5,594 |
0 |
0 |
0 |
96 |
0 |
45 |
1 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,692 |
0 |
0 |
0 |
96 |
0 |
45 |
1 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,135 |
0 |
0 |
0 |
88 |
0 |
45 |
1 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,533,798 |
0 |
0 |
232 |
35,944 |
0 |
18,965 |
1,066 |
bash |
| 11 |
no-host |
configure.util-linux |
1,699,932 |
0 |
0 |
0 |
35,936 |
0 |
17,076 |
1,255 |
dash |
| 19 |
no-host |
configure.util-linux |
1,499,902 |
1 |
0 |
0 |
35,952 |
0 |
16,135 |
886 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,519,349 |
1 |
0 |
0 |
35,952 |
0 |
16,189 |
916 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,458,165 |
2 |
0 |
0 |
35,944 |
0 |
16,137 |
919 |
osh-static |
| 6 |
no-host |
configure.yash |
173,435 |
0 |
0 |
0 |
3,616 |
0 |
878 |
104 |
bash |
| 14 |
no-host |
configure.yash |
159,581 |
0 |
0 |
0 |
3,616 |
0 |
1,005 |
107 |
dash |
| 22 |
no-host |
configure.yash |
176,096 |
0 |
0 |
0 |
3,624 |
0 |
857 |
90 |
osh-native |
| 30 |
no-host |
configure.yash |
177,279 |
0 |
0 |
0 |
3,624 |
0 |
856 |
95 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
173,090 |
0 |
0 |
0 |
3,616 |
0 |
858 |
93 |
osh-static |
| 0 |
no-host |
hello-world |
154 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
85 |
0 |
0 |
0 |
8 |
0 |
1 |
1 |
dash |
| 16 |
no-host |
hello-world |
386 |
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 |
181 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host