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.34 |
1.17 |
| bin-true |
no-host |
622 |
445 |
809 |
812 |
659 |
1.30 |
1.06 |
| configure.cpython |
no-host |
14,080 |
14,165 |
13,868 |
13,877 |
13,298 |
0.98 |
0.94 |
| configure.ocaml |
no-host |
3,742 |
3,688 |
3,784 |
3,780 |
3,737 |
1.01 |
1.00 |
| configure.tcc |
no-host |
46 |
42 |
47 |
47 |
44 |
1.03 |
0.95 |
| configure.util-linux |
no-host |
12,902 |
13,534 |
12,852 |
12,875 |
12,496 |
1.00 |
0.97 |
| configure.yash |
no-host |
1,719 |
1,678 |
1,743 |
1,743 |
1,720 |
1.01 |
1.00 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.40 |
0.99 |
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,373 |
1,166 |
3,306 |
3,443 |
2,853 |
1.39 |
1.20 |
| bin-true |
no-host |
100,425 |
49,374 |
132,049 |
131,369 |
110,688 |
1.31 |
1.10 |
| configure.cpython |
no-host |
1,631,276 |
1,635,446 |
1,595,582 |
1,613,644 |
1,516,750 |
0.98 |
0.93 |
| configure.ocaml |
no-host |
298,881 |
281,297 |
306,364 |
306,792 |
300,145 |
1.03 |
1.00 |
| configure.tcc |
no-host |
5,212 |
4,212 |
5,609 |
5,654 |
5,130 |
1.08 |
0.98 |
| configure.util-linux |
no-host |
1,535,047 |
1,703,437 |
1,518,564 |
1,522,389 |
1,477,330 |
0.99 |
0.96 |
| configure.yash |
no-host |
173,152 |
159,531 |
176,933 |
177,074 |
172,836 |
1.02 |
1.00 |
| hello-world |
no-host |
151 |
87 |
399 |
400 |
183 |
2.64 |
1.21 |
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.7 |
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.8 |
151,900 |
10,763 |
2,977 |
14,782 |
72,395 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,868 |
1 |
69 |
14.8 |
34.5 |
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,852 |
3 |
69 |
21.6 |
39.7 |
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,784 |
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 |
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,743 |
1 |
2 |
2.7 |
33.1 |
143,476 |
11,507 |
6,624 |
7,168 |
70,525 |
65,783 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
21 |
1 |
2 |
3.0 |
9.4 |
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 |
7.1 |
3,914 |
3,914 |
0 |
722 |
1,921 |
1,271 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
812 |
1 |
2 |
3.5 |
9.3 |
151,900 |
10,767 |
2,981 |
14,782 |
72,395 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,877 |
2 |
67 |
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,875 |
3 |
69 |
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,780 |
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 |
47 |
0 |
0 |
1.4 |
26.1 |
30,551 |
30,551 |
0 |
1,681 |
14,473 |
14,397 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,743 |
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.1 |
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 |
12 |
5 |
4.7 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
4.1 |
dash |
| 23 |
no-host |
abuild-print-help |
21 |
10 |
12 |
9.4 |
osh-native |
| 31 |
no-host |
abuild-print-help |
22 |
12 |
10 |
10.1 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
18 |
10 |
9 |
6.3 |
osh-static |
| 1 |
no-host |
bin-true |
622 |
315 |
347 |
3.3 |
bash |
| 9 |
no-host |
bin-true |
445 |
275 |
175 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
809 |
307 |
520 |
8.8 |
osh-native |
| 25 |
no-host |
bin-true |
812 |
311 |
519 |
9.3 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
659 |
341 |
335 |
5.1 |
osh-static |
| 2 |
no-host |
configure.cpython |
14,080 |
7,740 |
6,734 |
34.4 |
bash |
| 10 |
no-host |
configure.cpython |
14,165 |
7,795 |
6,780 |
34.5 |
dash |
| 18 |
no-host |
configure.cpython |
13,868 |
7,360 |
6,794 |
34.5 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,877 |
7,315 |
6,861 |
34.5 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
13,298 |
7,283 |
6,258 |
34.4 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,742 |
1,499 |
1,283 |
28.6 |
bash |
| 12 |
no-host |
configure.ocaml |
3,688 |
1,492 |
1,218 |
28.6 |
dash |
| 20 |
no-host |
configure.ocaml |
3,784 |
1,488 |
1,338 |
28.6 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,780 |
1,512 |
1,310 |
28.7 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,737 |
1,519 |
1,250 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
46 |
23 |
23 |
26.3 |
bash |
| 13 |
no-host |
configure.tcc |
42 |
23 |
19 |
26.2 |
dash |
| 21 |
no-host |
configure.tcc |
47 |
26 |
22 |
26.3 |
osh-native |
| 29 |
no-host |
configure.tcc |
47 |
22 |
26 |
26.1 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
44 |
24 |
20 |
26.3 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,902 |
6,685 |
6,691 |
39.5 |
bash |
| 11 |
no-host |
configure.util-linux |
13,534 |
6,571 |
7,455 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
12,852 |
6,215 |
6,862 |
39.7 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,875 |
6,280 |
6,828 |
39.6 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,496 |
6,365 |
6,353 |
39.6 |
osh-static |
| 6 |
no-host |
configure.yash |
1,719 |
984 |
743 |
33.3 |
bash |
| 14 |
no-host |
configure.yash |
1,678 |
945 |
735 |
33.1 |
dash |
| 22 |
no-host |
configure.yash |
1,743 |
977 |
768 |
33.1 |
osh-native |
| 30 |
no-host |
configure.yash |
1,743 |
975 |
770 |
33.4 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,720 |
949 |
773 |
33.4 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.3 |
bash |
| 8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
| 16 |
no-host |
hello-world |
3 |
1 |
2 |
6.7 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
0 |
3 |
7.1 |
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,373 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,166 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,306 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,443 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,853 |
0 |
0 |
0 |
8 |
0 |
38 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
100,425 |
0 |
0 |
0 |
8 |
0 |
1,996 |
55 |
bash |
| 9 |
no-host |
bin-true |
49,374 |
0 |
0 |
0 |
8 |
0 |
2,988 |
60 |
dash |
| 17 |
no-host |
bin-true |
132,049 |
0 |
0 |
0 |
16 |
0 |
1,997 |
70 |
osh-native |
| 25 |
no-host |
bin-true |
131,369 |
0 |
0 |
0 |
16 |
0 |
1,997 |
71 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
110,688 |
0 |
0 |
0 |
8 |
0 |
1,997 |
75 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,631,276 |
0 |
0 |
0 |
25,272 |
0 |
14,059 |
1,011 |
bash |
| 10 |
no-host |
configure.cpython |
1,635,446 |
0 |
0 |
0 |
25,272 |
0 |
14,103 |
989 |
dash |
| 18 |
no-host |
configure.cpython |
1,595,582 |
0 |
0 |
0 |
25,280 |
0 |
11,290 |
872 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,613,644 |
0 |
0 |
0 |
25,280 |
0 |
11,304 |
935 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,516,750 |
1 |
0 |
0 |
25,272 |
0 |
11,300 |
859 |
osh-static |
| 4 |
no-host |
configure.ocaml |
298,881 |
0 |
0 |
0 |
4,432 |
0 |
2,020 |
190 |
bash |
| 12 |
no-host |
configure.ocaml |
281,297 |
0 |
0 |
0 |
4,432 |
0 |
2,111 |
195 |
dash |
| 20 |
no-host |
configure.ocaml |
306,364 |
0 |
0 |
0 |
4,440 |
0 |
2,000 |
198 |
osh-native |
| 28 |
no-host |
configure.ocaml |
306,792 |
0 |
0 |
0 |
4,440 |
0 |
1,999 |
198 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,145 |
0 |
0 |
0 |
4,432 |
0 |
1,999 |
215 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,212 |
0 |
0 |
0 |
80 |
0 |
49 |
2 |
bash |
| 13 |
no-host |
configure.tcc |
4,212 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
5,609 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,654 |
0 |
0 |
0 |
96 |
0 |
45 |
1 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,130 |
0 |
0 |
0 |
88 |
0 |
45 |
1 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,535,047 |
0 |
0 |
0 |
35,944 |
0 |
18,952 |
1,069 |
bash |
| 11 |
no-host |
configure.util-linux |
1,703,437 |
1 |
0 |
496 |
35,936 |
0 |
17,106 |
1,226 |
dash |
| 19 |
no-host |
configure.util-linux |
1,518,564 |
0 |
0 |
0 |
35,952 |
0 |
16,183 |
980 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,522,389 |
1 |
0 |
0 |
35,944 |
0 |
16,131 |
942 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,477,330 |
1 |
0 |
0 |
35,936 |
0 |
16,190 |
901 |
osh-static |
| 6 |
no-host |
configure.yash |
173,152 |
0 |
0 |
0 |
3,616 |
0 |
876 |
93 |
bash |
| 14 |
no-host |
configure.yash |
159,531 |
0 |
0 |
0 |
3,616 |
0 |
998 |
109 |
dash |
| 22 |
no-host |
configure.yash |
176,933 |
0 |
0 |
0 |
3,624 |
0 |
857 |
119 |
osh-native |
| 30 |
no-host |
configure.yash |
177,074 |
0 |
0 |
0 |
3,632 |
0 |
856 |
98 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
172,836 |
0 |
0 |
0 |
3,616 |
0 |
857 |
101 |
osh-static |
| 0 |
no-host |
hello-world |
151 |
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 |
399 |
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 |
183 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host