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 |
20 |
21 |
18 |
1.29 |
1.15 |
| bin-true |
no-host |
617 |
439 |
800 |
803 |
650 |
1.30 |
1.05 |
| configure.cpython |
no-host |
13,658 |
13,754 |
13,319 |
13,381 |
12,776 |
0.98 |
0.94 |
| configure.ocaml |
no-host |
3,631 |
3,590 |
3,651 |
3,665 |
3,718 |
1.01 |
1.02 |
| configure.tcc |
no-host |
45 |
40 |
46 |
46 |
42 |
1.02 |
0.94 |
| configure.util-linux |
no-host |
12,504 |
13,164 |
12,497 |
12,368 |
12,114 |
1.00 |
0.97 |
| configure.yash |
no-host |
1,684 |
1,622 |
1,678 |
1,681 |
1,668 |
1.00 |
0.99 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.50 |
1.06 |
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,402 |
1,155 |
3,324 |
3,417 |
2,853 |
1.38 |
1.19 |
| bin-true |
no-host |
101,411 |
49,404 |
134,035 |
134,415 |
112,658 |
1.32 |
1.11 |
| configure.cpython |
no-host |
1,623,590 |
1,637,882 |
1,595,258 |
1,605,241 |
1,523,476 |
0.98 |
0.94 |
| configure.ocaml |
no-host |
299,271 |
280,717 |
306,932 |
306,848 |
300,132 |
1.03 |
1.00 |
| configure.tcc |
no-host |
5,251 |
4,206 |
5,572 |
5,673 |
5,122 |
1.06 |
0.98 |
| configure.util-linux |
no-host |
1,535,840 |
1,695,921 |
1,501,804 |
1,522,884 |
1,477,660 |
0.98 |
0.96 |
| configure.yash |
no-host |
173,222 |
159,499 |
176,004 |
177,094 |
173,104 |
1.02 |
1.00 |
| hello-world |
no-host |
153 |
84 |
394 |
398 |
183 |
2.58 |
1.20 |
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,907 |
3,907 |
0 |
722 |
1,921 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
800 |
1 |
2 |
3.5 |
8.8 |
151,892 |
10,755 |
2,969 |
14,781 |
72,395 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,319 |
1 |
68 |
14.8 |
34.6 |
1,750,789 |
35,388 |
28,945 |
93,077 |
869,747 |
787,965 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,497 |
3 |
66 |
21.6 |
39.7 |
2,705,325 |
37,460 |
66,333 |
119,745 |
1,291,842 |
1,293,738 |
32,527 |
42 |
132,666 |
1 |
| configure.ocaml |
no-host |
3,651 |
1 |
2 |
2.8 |
28.7 |
149,692 |
12,647 |
6,562 |
9,213 |
70,295 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
46 |
0 |
0 |
1.4 |
26.3 |
30,541 |
30,541 |
0 |
1,680 |
14,472 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,678 |
1 |
2 |
2.7 |
33.4 |
143,454 |
11,460 |
6,616 |
7,164 |
70,518 |
65,772 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
20 |
1 |
2 |
3.0 |
9.6 |
117,223 |
65,789 |
41,999 |
4,975 |
54,597 |
57,651 |
277 |
3 |
83,998 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.9 |
3,906 |
3,906 |
0 |
721 |
1,921 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
803 |
1 |
2 |
3.5 |
9.0 |
151,892 |
10,759 |
2,973 |
14,781 |
72,395 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,381 |
1 |
66 |
14.8 |
34.5 |
1,750,788 |
35,393 |
28,950 |
93,076 |
869,747 |
787,965 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,368 |
3 |
63 |
21.6 |
39.6 |
2,705,325 |
37,466 |
66,339 |
119,745 |
1,291,842 |
1,293,738 |
32,527 |
42 |
132,678 |
1 |
| configure.ocaml |
no-host |
3,665 |
1 |
2 |
2.8 |
28.7 |
149,692 |
12,652 |
6,567 |
9,213 |
70,295 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
46 |
0 |
0 |
1.4 |
26.2 |
30,541 |
30,541 |
0 |
1,680 |
14,472 |
14,389 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,681 |
1 |
2 |
2.7 |
33.4 |
143,454 |
11,464 |
6,620 |
7,164 |
70,518 |
65,772 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
21 |
1 |
2 |
3.0 |
10.0 |
117,223 |
65,793 |
42,003 |
4,975 |
54,597 |
57,651 |
277 |
3 |
84,006 |
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 |
6 |
10 |
4.8 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
20 |
13 |
8 |
9.6 |
osh-native |
| 31 |
no-host |
abuild-print-help |
21 |
8 |
14 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
18 |
14 |
4 |
6.4 |
osh-static |
| 1 |
no-host |
bin-true |
617 |
316 |
339 |
3.3 |
bash |
| 9 |
no-host |
bin-true |
439 |
287 |
159 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
800 |
303 |
514 |
8.8 |
osh-native |
| 25 |
no-host |
bin-true |
803 |
315 |
502 |
9.0 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
650 |
304 |
363 |
5.2 |
osh-static |
| 2 |
no-host |
configure.cpython |
13,658 |
7,441 |
6,594 |
34.7 |
bash |
| 10 |
no-host |
configure.cpython |
13,754 |
7,556 |
6,565 |
34.7 |
dash |
| 18 |
no-host |
configure.cpython |
13,319 |
7,055 |
6,532 |
34.6 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,381 |
7,147 |
6,515 |
34.5 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
12,776 |
7,062 |
5,947 |
34.4 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,631 |
1,453 |
1,216 |
28.7 |
bash |
| 12 |
no-host |
configure.ocaml |
3,590 |
1,461 |
1,153 |
28.5 |
dash |
| 20 |
no-host |
configure.ocaml |
3,651 |
1,444 |
1,247 |
28.7 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,665 |
1,460 |
1,246 |
28.7 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,718 |
1,509 |
1,239 |
28.8 |
osh-static |
| 5 |
no-host |
configure.tcc |
45 |
25 |
21 |
26.3 |
bash |
| 13 |
no-host |
configure.tcc |
40 |
24 |
17 |
26.2 |
dash |
| 21 |
no-host |
configure.tcc |
46 |
24 |
22 |
26.3 |
osh-native |
| 29 |
no-host |
configure.tcc |
46 |
25 |
22 |
26.2 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
42 |
19 |
24 |
26.2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,504 |
6,640 |
6,324 |
39.7 |
bash |
| 11 |
no-host |
configure.util-linux |
13,164 |
6,514 |
7,132 |
39.7 |
dash |
| 19 |
no-host |
configure.util-linux |
12,497 |
6,165 |
6,549 |
39.7 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,368 |
6,024 |
6,564 |
39.6 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,114 |
6,159 |
6,166 |
39.7 |
osh-static |
| 6 |
no-host |
configure.yash |
1,684 |
949 |
744 |
33.1 |
bash |
| 14 |
no-host |
configure.yash |
1,622 |
936 |
688 |
33.4 |
dash |
| 22 |
no-host |
configure.yash |
1,678 |
940 |
741 |
33.4 |
osh-native |
| 30 |
no-host |
configure.yash |
1,681 |
938 |
745 |
33.4 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,668 |
954 |
717 |
33.3 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.1 |
bash |
| 8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
| 16 |
no-host |
hello-world |
3 |
1 |
2 |
6.6 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
1 |
2 |
6.9 |
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,402 |
0 |
0 |
0 |
8 |
0 |
41 |
1 |
bash |
| 15 |
no-host |
abuild-print-help |
1,155 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,324 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,417 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,853 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
101,411 |
0 |
0 |
0 |
8 |
0 |
1,999 |
47 |
bash |
| 9 |
no-host |
bin-true |
49,404 |
0 |
0 |
0 |
8 |
0 |
2,992 |
51 |
dash |
| 17 |
no-host |
bin-true |
134,035 |
0 |
0 |
0 |
16 |
0 |
1,988 |
71 |
osh-native |
| 25 |
no-host |
bin-true |
134,415 |
0 |
0 |
0 |
16 |
0 |
1,997 |
88 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
112,658 |
0 |
0 |
0 |
8 |
0 |
1,997 |
58 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,623,590 |
0 |
0 |
0 |
25,272 |
0 |
14,074 |
975 |
bash |
| 10 |
no-host |
configure.cpython |
1,637,882 |
0 |
0 |
0 |
25,272 |
0 |
14,122 |
1,034 |
dash |
| 18 |
no-host |
configure.cpython |
1,595,258 |
0 |
0 |
0 |
25,280 |
0 |
11,296 |
802 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,605,241 |
0 |
0 |
0 |
25,280 |
0 |
11,324 |
844 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,523,476 |
0 |
0 |
0 |
25,272 |
0 |
11,302 |
775 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,271 |
0 |
0 |
0 |
4,432 |
0 |
2,022 |
202 |
bash |
| 12 |
no-host |
configure.ocaml |
280,717 |
0 |
0 |
0 |
4,432 |
0 |
2,109 |
176 |
dash |
| 20 |
no-host |
configure.ocaml |
306,932 |
0 |
0 |
0 |
4,440 |
0 |
1,999 |
209 |
osh-native |
| 28 |
no-host |
configure.ocaml |
306,848 |
0 |
0 |
0 |
4,440 |
0 |
2,000 |
206 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,132 |
0 |
0 |
0 |
4,432 |
0 |
1,997 |
223 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,251 |
0 |
0 |
0 |
80 |
0 |
49 |
3 |
bash |
| 13 |
no-host |
configure.tcc |
4,206 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
5,572 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,673 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,122 |
0 |
0 |
0 |
88 |
0 |
45 |
2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,535,840 |
0 |
0 |
0 |
35,944 |
0 |
18,997 |
1,118 |
bash |
| 11 |
no-host |
configure.util-linux |
1,695,921 |
1 |
0 |
336 |
35,936 |
0 |
17,077 |
1,198 |
dash |
| 19 |
no-host |
configure.util-linux |
1,501,804 |
1 |
0 |
0 |
35,952 |
0 |
16,140 |
936 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,522,884 |
0 |
0 |
0 |
35,944 |
0 |
16,202 |
895 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,477,660 |
0 |
0 |
0 |
35,944 |
0 |
16,199 |
900 |
osh-static |
| 6 |
no-host |
configure.yash |
173,222 |
0 |
0 |
0 |
3,616 |
0 |
881 |
102 |
bash |
| 14 |
no-host |
configure.yash |
159,499 |
0 |
0 |
0 |
3,616 |
0 |
1,002 |
96 |
dash |
| 22 |
no-host |
configure.yash |
176,004 |
0 |
0 |
0 |
3,624 |
0 |
856 |
97 |
osh-native |
| 30 |
no-host |
configure.yash |
177,094 |
0 |
0 |
0 |
3,624 |
0 |
857 |
109 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
173,104 |
0 |
0 |
0 |
3,616 |
0 |
858 |
110 |
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 |
394 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 24 |
no-host |
hello-world |
398 |
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