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 |
13 |
7 |
18 |
19 |
16 |
1.33 |
1.21 |
| bin-true |
no-host |
458 |
314 |
592 |
621 |
494 |
1.29 |
1.08 |
| configure.cpython |
no-host |
11,953 |
11,954 |
11,669 |
11,958 |
11,610 |
0.98 |
0.97 |
| configure.ocaml |
no-host |
3,388 |
3,304 |
3,377 |
3,420 |
3,374 |
1.00 |
1.00 |
| configure.tcc |
no-host |
39 |
34 |
39 |
42 |
37 |
1.01 |
0.94 |
| configure.util-linux |
no-host |
10,623 |
11,150 |
10,883 |
10,958 |
10,760 |
1.02 |
1.01 |
| configure.yash |
no-host |
1,504 |
1,416 |
1,489 |
1,504 |
1,477 |
0.99 |
0.98 |
| hello-world |
no-host |
1 |
1 |
2 |
2 |
1 |
2.31 |
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,431 |
1,161 |
3,352 |
3,472 |
2,855 |
1.38 |
1.17 |
| bin-true |
no-host |
103,903 |
49,846 |
129,440 |
132,752 |
113,124 |
1.25 |
1.09 |
| configure.cpython |
no-host |
1,630,286 |
1,645,311 |
1,593,901 |
1,608,025 |
1,528,196 |
0.98 |
0.94 |
| configure.ocaml |
no-host |
299,832 |
281,795 |
306,296 |
307,248 |
301,081 |
1.02 |
1.00 |
| configure.tcc |
no-host |
5,229 |
4,230 |
5,630 |
5,707 |
5,156 |
1.08 |
0.99 |
| configure.util-linux |
no-host |
1,549,909 |
1,710,498 |
1,505,346 |
1,519,299 |
1,457,123 |
0.97 |
0.94 |
| configure.yash |
no-host |
173,683 |
159,867 |
176,940 |
177,299 |
173,411 |
1.02 |
1.00 |
| hello-world |
no-host |
153 |
87 |
393 |
402 |
182 |
2.57 |
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 |
2 |
0 |
0 |
0.3 |
6.7 |
3,907 |
3,907 |
0 |
722 |
1,921 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
592 |
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 |
11,669 |
1 |
61 |
14.8 |
34.8 |
1,750,784 |
35,383 |
28,940 |
93,077 |
869,742 |
787,965 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
10,883 |
3 |
65 |
21.6 |
39.7 |
2,705,320 |
37,455 |
66,328 |
119,745 |
1,291,837 |
1,293,738 |
32,527 |
42 |
132,656 |
1 |
| configure.ocaml |
no-host |
3,377 |
1 |
2 |
2.8 |
28.8 |
149,692 |
12,647 |
6,562 |
9,213 |
70,295 |
70,184 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
39 |
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,489 |
1 |
2 |
2.7 |
33.1 |
143,452 |
11,458 |
6,614 |
7,164 |
70,516 |
65,772 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
18 |
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 |
2 |
0 |
0 |
0.3 |
7.2 |
3,906 |
3,906 |
0 |
721 |
1,921 |
1,264 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
621 |
1 |
2 |
3.5 |
9.2 |
151,892 |
10,759 |
2,973 |
14,781 |
72,395 |
64,716 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
11,958 |
1 |
63 |
14.8 |
34.8 |
1,750,783 |
35,388 |
28,945 |
93,076 |
869,742 |
787,965 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
10,958 |
3 |
65 |
21.6 |
39.6 |
2,705,320 |
37,461 |
66,334 |
119,745 |
1,291,837 |
1,293,738 |
32,527 |
42 |
132,668 |
1 |
| configure.ocaml |
no-host |
3,420 |
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 |
42 |
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,504 |
1 |
2 |
2.7 |
33.4 |
143,452 |
11,462 |
6,618 |
7,164 |
70,516 |
65,772 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
19 |
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 |
13 |
5 |
9 |
4.8 |
bash |
| 15 |
no-host |
abuild-print-help |
7 |
3 |
4 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
18 |
11 |
8 |
9.6 |
osh-native |
| 31 |
no-host |
abuild-print-help |
19 |
13 |
7 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
16 |
12 |
4 |
6.4 |
osh-static |
| 1 |
no-host |
bin-true |
458 |
285 |
214 |
3.1 |
bash |
| 9 |
no-host |
bin-true |
314 |
221 |
89 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
592 |
314 |
293 |
8.8 |
osh-native |
| 25 |
no-host |
bin-true |
621 |
315 |
318 |
9.2 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
494 |
311 |
197 |
5.2 |
osh-static |
| 2 |
no-host |
configure.cpython |
11,953 |
7,757 |
4,511 |
34.5 |
bash |
| 10 |
no-host |
configure.cpython |
11,954 |
7,691 |
4,586 |
34.5 |
dash |
| 18 |
no-host |
configure.cpython |
11,669 |
7,241 |
4,624 |
34.8 |
osh-native |
| 26 |
no-host |
configure.cpython |
11,958 |
7,353 |
4,818 |
34.8 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
11,610 |
7,310 |
4,459 |
34.5 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,388 |
1,555 |
851 |
28.9 |
bash |
| 12 |
no-host |
configure.ocaml |
3,304 |
1,509 |
799 |
28.9 |
dash |
| 20 |
no-host |
configure.ocaml |
3,377 |
1,497 |
898 |
28.8 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,420 |
1,508 |
930 |
28.7 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,374 |
1,521 |
861 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
39 |
26 |
13 |
26.3 |
bash |
| 13 |
no-host |
configure.tcc |
34 |
24 |
10 |
26.4 |
dash |
| 21 |
no-host |
configure.tcc |
39 |
21 |
18 |
26.3 |
osh-native |
| 29 |
no-host |
configure.tcc |
42 |
25 |
16 |
26.3 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
37 |
25 |
13 |
26.3 |
osh-static |
| 3 |
no-host |
configure.util-linux |
10,623 |
6,711 |
4,289 |
39.5 |
bash |
| 11 |
no-host |
configure.util-linux |
11,150 |
6,645 |
4,895 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
10,883 |
6,360 |
4,667 |
39.7 |
osh-native |
| 27 |
no-host |
configure.util-linux |
10,958 |
6,400 |
4,703 |
39.6 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
10,760 |
6,403 |
4,486 |
39.7 |
osh-static |
| 6 |
no-host |
configure.yash |
1,504 |
966 |
537 |
33.1 |
bash |
| 14 |
no-host |
configure.yash |
1,416 |
948 |
461 |
33.4 |
dash |
| 22 |
no-host |
configure.yash |
1,489 |
951 |
532 |
33.1 |
osh-native |
| 30 |
no-host |
configure.yash |
1,504 |
973 |
526 |
33.4 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,477 |
984 |
485 |
33.1 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.3 |
bash |
| 8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
| 16 |
no-host |
hello-world |
2 |
1 |
2 |
6.7 |
osh-native |
| 24 |
no-host |
hello-world |
2 |
1 |
1 |
7.2 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
1 |
1 |
0 |
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,431 |
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,352 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,472 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,855 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
osh-static |
| 1 |
no-host |
bin-true |
103,903 |
0 |
0 |
0 |
16 |
0 |
2,000 |
44 |
bash |
| 9 |
no-host |
bin-true |
49,846 |
0 |
0 |
0 |
8 |
0 |
2,998 |
30 |
dash |
| 17 |
no-host |
bin-true |
129,440 |
0 |
0 |
0 |
16 |
0 |
1,998 |
62 |
osh-native |
| 25 |
no-host |
bin-true |
132,752 |
0 |
0 |
0 |
16 |
0 |
1,998 |
78 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
113,124 |
0 |
0 |
0 |
8 |
0 |
2,000 |
47 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,630,286 |
0 |
0 |
0 |
25,272 |
0 |
14,013 |
979 |
bash |
| 10 |
no-host |
configure.cpython |
1,645,311 |
0 |
0 |
0 |
25,272 |
0 |
14,069 |
954 |
dash |
| 18 |
no-host |
configure.cpython |
1,593,901 |
0 |
0 |
0 |
25,280 |
0 |
11,322 |
786 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,608,025 |
0 |
0 |
0 |
25,280 |
0 |
11,310 |
819 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,528,196 |
0 |
0 |
0 |
25,272 |
0 |
11,325 |
812 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,832 |
0 |
0 |
0 |
4,432 |
0 |
2,018 |
162 |
bash |
| 12 |
no-host |
configure.ocaml |
281,795 |
0 |
0 |
0 |
4,432 |
0 |
2,109 |
183 |
dash |
| 20 |
no-host |
configure.ocaml |
306,296 |
0 |
0 |
0 |
4,440 |
0 |
2,002 |
178 |
osh-native |
| 28 |
no-host |
configure.ocaml |
307,248 |
0 |
0 |
0 |
4,440 |
0 |
2,003 |
209 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
301,081 |
0 |
0 |
0 |
4,432 |
0 |
2,000 |
200 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,229 |
0 |
0 |
0 |
80 |
0 |
48 |
3 |
bash |
| 13 |
no-host |
configure.tcc |
4,230 |
0 |
0 |
0 |
88 |
0 |
52 |
0 |
dash |
| 21 |
no-host |
configure.tcc |
5,630 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,707 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,156 |
0 |
0 |
0 |
88 |
0 |
44 |
2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,549,909 |
0 |
0 |
0 |
35,944 |
0 |
18,790 |
944 |
bash |
| 11 |
no-host |
configure.util-linux |
1,710,498 |
0 |
0 |
336 |
35,936 |
0 |
16,917 |
1,168 |
dash |
| 19 |
no-host |
configure.util-linux |
1,505,346 |
2 |
0 |
0 |
35,960 |
0 |
16,199 |
865 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,519,299 |
3 |
0 |
0 |
35,944 |
0 |
16,221 |
831 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,457,123 |
4 |
0 |
0 |
35,936 |
0 |
16,165 |
954 |
osh-static |
| 6 |
no-host |
configure.yash |
173,683 |
0 |
0 |
0 |
3,616 |
0 |
878 |
92 |
bash |
| 14 |
no-host |
configure.yash |
159,867 |
0 |
0 |
0 |
3,616 |
0 |
1,000 |
95 |
dash |
| 22 |
no-host |
configure.yash |
176,940 |
0 |
0 |
0 |
3,624 |
0 |
858 |
84 |
osh-native |
| 30 |
no-host |
configure.yash |
177,299 |
0 |
0 |
0 |
3,624 |
0 |
859 |
102 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
173,411 |
0 |
0 |
0 |
3,616 |
0 |
855 |
92 |
osh-static |
| 0 |
no-host |
hello-world |
153 |
0 |
0 |
0 |
8 |
0 |
0 |
1 |
bash |
| 8 |
no-host |
hello-world |
87 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
393 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 24 |
no-host |
hello-world |
402 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
182 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host