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.30 |
1.18 |
| bin-true |
no-host |
616 |
441 |
803 |
797 |
649 |
1.30 |
1.05 |
| configure.cpython |
no-host |
13,689 |
13,567 |
13,193 |
13,370 |
12,727 |
0.96 |
0.93 |
| configure.ocaml |
no-host |
3,672 |
3,569 |
3,679 |
3,641 |
3,594 |
1.00 |
0.98 |
| configure.tcc |
no-host |
45 |
40 |
46 |
46 |
42 |
1.01 |
0.93 |
| configure.util-linux |
no-host |
12,435 |
13,108 |
12,432 |
12,496 |
11,910 |
1.00 |
0.96 |
| configure.yash |
no-host |
1,683 |
1,593 |
1,649 |
1,650 |
1,632 |
0.98 |
0.97 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.32 |
0.96 |
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,367 |
1,155 |
3,295 |
3,441 |
2,843 |
1.39 |
1.20 |
| bin-true |
no-host |
101,441 |
49,385 |
134,964 |
132,277 |
111,695 |
1.33 |
1.10 |
| configure.cpython |
no-host |
1,629,607 |
1,642,993 |
1,590,298 |
1,597,428 |
1,516,793 |
0.98 |
0.93 |
| configure.ocaml |
no-host |
299,414 |
280,680 |
305,760 |
306,904 |
299,904 |
1.02 |
1.00 |
| configure.tcc |
no-host |
5,212 |
4,207 |
5,605 |
5,678 |
5,133 |
1.08 |
0.98 |
| configure.util-linux |
no-host |
1,541,550 |
1,706,254 |
1,519,949 |
1,517,745 |
1,453,689 |
0.99 |
0.94 |
| configure.yash |
no-host |
173,566 |
159,580 |
176,806 |
177,228 |
172,838 |
1.02 |
1.00 |
| hello-world |
no-host |
154 |
84 |
394 |
399 |
183 |
2.56 |
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,915 |
3,915 |
0 |
723 |
1,921 |
1,271 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
803 |
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,193 |
1 |
62 |
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 |
12,432 |
3 |
64 |
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,679 |
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.0 |
30,551 |
30,551 |
0 |
1,681 |
14,473 |
14,397 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,649 |
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 |
20 |
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 |
7.1 |
3,914 |
3,914 |
0 |
722 |
1,921 |
1,271 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
797 |
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,370 |
2 |
64 |
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,496 |
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,641 |
1 |
2 |
2.8 |
28.8 |
149,700 |
12,660 |
6,575 |
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,650 |
1 |
2 |
2.7 |
33.2 |
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 |
9.8 |
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 |
8 |
8 |
4.7 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
2 |
7 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
20 |
10 |
11 |
9.3 |
osh-native |
| 31 |
no-host |
abuild-print-help |
21 |
12 |
9 |
9.8 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
18 |
13 |
5 |
6.3 |
osh-static |
| 1 |
no-host |
bin-true |
616 |
304 |
351 |
3.3 |
bash |
| 9 |
no-host |
bin-true |
441 |
275 |
173 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
803 |
321 |
499 |
8.8 |
osh-native |
| 25 |
no-host |
bin-true |
797 |
298 |
513 |
9.3 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
649 |
303 |
361 |
5.1 |
osh-static |
| 2 |
no-host |
configure.cpython |
13,689 |
7,438 |
6,638 |
34.5 |
bash |
| 10 |
no-host |
configure.cpython |
13,567 |
7,522 |
6,442 |
34.6 |
dash |
| 18 |
no-host |
configure.cpython |
13,193 |
6,984 |
6,483 |
34.6 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,370 |
7,094 |
6,563 |
34.5 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
12,727 |
7,139 |
5,822 |
34.7 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,672 |
1,466 |
1,246 |
28.7 |
bash |
| 12 |
no-host |
configure.ocaml |
3,569 |
1,393 |
1,200 |
28.5 |
dash |
| 20 |
no-host |
configure.ocaml |
3,679 |
1,435 |
1,282 |
28.7 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,641 |
1,439 |
1,243 |
28.8 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,594 |
1,423 |
1,203 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
45 |
28 |
18 |
26.1 |
bash |
| 13 |
no-host |
configure.tcc |
40 |
22 |
18 |
26.2 |
dash |
| 21 |
no-host |
configure.tcc |
46 |
27 |
20 |
26.0 |
osh-native |
| 29 |
no-host |
configure.tcc |
46 |
28 |
18 |
26.2 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
42 |
25 |
18 |
26.2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,435 |
6,518 |
6,383 |
39.5 |
bash |
| 11 |
no-host |
configure.util-linux |
13,108 |
6,448 |
7,139 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
12,432 |
6,105 |
6,551 |
39.6 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,496 |
6,157 |
6,559 |
39.6 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
11,910 |
6,104 |
6,020 |
39.7 |
osh-static |
| 6 |
no-host |
configure.yash |
1,683 |
899 |
792 |
33.3 |
bash |
| 14 |
no-host |
configure.yash |
1,593 |
923 |
673 |
33.4 |
dash |
| 22 |
no-host |
configure.yash |
1,649 |
910 |
742 |
33.3 |
osh-native |
| 30 |
no-host |
configure.yash |
1,650 |
937 |
716 |
33.2 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,632 |
915 |
720 |
33.3 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.3 |
bash |
| 8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
3 |
1 |
2 |
6.6 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
1 |
2 |
7.1 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
1 |
0 |
1 |
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,367 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,155 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,295 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,441 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,843 |
0 |
0 |
0 |
8 |
0 |
40 |
1 |
osh-static |
| 1 |
no-host |
bin-true |
101,441 |
0 |
0 |
0 |
8 |
0 |
1,998 |
50 |
bash |
| 9 |
no-host |
bin-true |
49,385 |
0 |
0 |
0 |
8 |
0 |
2,989 |
42 |
dash |
| 17 |
no-host |
bin-true |
134,964 |
0 |
0 |
0 |
16 |
0 |
1,999 |
62 |
osh-native |
| 25 |
no-host |
bin-true |
132,277 |
0 |
0 |
0 |
16 |
0 |
1,996 |
84 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
111,695 |
0 |
0 |
0 |
8 |
0 |
1,999 |
85 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,629,607 |
0 |
0 |
0 |
25,272 |
0 |
14,060 |
1,008 |
bash |
| 10 |
no-host |
configure.cpython |
1,642,993 |
0 |
0 |
0 |
25,272 |
0 |
14,115 |
1,006 |
dash |
| 18 |
no-host |
configure.cpython |
1,590,298 |
0 |
0 |
0 |
25,280 |
0 |
11,308 |
903 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,597,428 |
0 |
0 |
0 |
25,280 |
0 |
11,308 |
812 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,516,793 |
1 |
0 |
0 |
25,272 |
0 |
11,306 |
857 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,414 |
0 |
0 |
0 |
4,432 |
0 |
2,018 |
189 |
bash |
| 12 |
no-host |
configure.ocaml |
280,680 |
0 |
0 |
0 |
4,432 |
0 |
2,112 |
191 |
dash |
| 20 |
no-host |
configure.ocaml |
305,760 |
0 |
0 |
0 |
4,440 |
0 |
1,999 |
221 |
osh-native |
| 28 |
no-host |
configure.ocaml |
306,904 |
0 |
0 |
0 |
4,440 |
0 |
2,000 |
193 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
299,904 |
0 |
0 |
0 |
4,432 |
0 |
2,002 |
216 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,212 |
0 |
0 |
0 |
80 |
0 |
49 |
1 |
bash |
| 13 |
no-host |
configure.tcc |
4,207 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
5,605 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,678 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,133 |
0 |
0 |
0 |
88 |
0 |
45 |
1 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,541,550 |
0 |
0 |
0 |
35,944 |
0 |
18,964 |
1,047 |
bash |
| 11 |
no-host |
configure.util-linux |
1,706,254 |
1 |
0 |
336 |
35,936 |
0 |
17,091 |
1,206 |
dash |
| 19 |
no-host |
configure.util-linux |
1,519,949 |
0 |
0 |
0 |
35,952 |
0 |
16,211 |
897 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,517,745 |
0 |
0 |
0 |
35,944 |
0 |
16,207 |
950 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,453,689 |
1 |
0 |
0 |
35,936 |
0 |
16,140 |
891 |
osh-static |
| 6 |
no-host |
configure.yash |
173,566 |
0 |
0 |
0 |
3,616 |
0 |
881 |
97 |
bash |
| 14 |
no-host |
configure.yash |
159,580 |
0 |
0 |
0 |
3,616 |
0 |
1,000 |
106 |
dash |
| 22 |
no-host |
configure.yash |
176,806 |
0 |
0 |
0 |
3,624 |
0 |
858 |
94 |
osh-native |
| 30 |
no-host |
configure.yash |
177,228 |
0 |
0 |
0 |
3,624 |
0 |
858 |
95 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
172,838 |
0 |
0 |
0 |
3,624 |
0 |
859 |
100 |
osh-static |
| 0 |
no-host |
hello-world |
154 |
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 |
394 |
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 |
183 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host