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 |
22 |
19 |
1.30 |
1.19 |
| bin-true |
no-host |
622 |
460 |
804 |
808 |
658 |
1.29 |
1.06 |
| configure.cpython |
no-host |
13,879 |
13,948 |
13,474 |
13,513 |
12,997 |
0.97 |
0.94 |
| configure.ocaml |
no-host |
3,669 |
3,627 |
3,720 |
3,732 |
3,699 |
1.01 |
1.01 |
| configure.tcc |
no-host |
46 |
43 |
47 |
47 |
44 |
1.01 |
0.96 |
| configure.util-linux |
no-host |
12,551 |
13,337 |
12,561 |
12,655 |
12,239 |
1.00 |
0.98 |
| configure.yash |
no-host |
1,696 |
1,640 |
1,694 |
1,711 |
1,669 |
1.00 |
0.98 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.30 |
0.98 |
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,391 |
1,201 |
3,320 |
3,430 |
2,804 |
1.39 |
1.17 |
| bin-true |
no-host |
100,423 |
49,374 |
132,010 |
132,347 |
111,719 |
1.31 |
1.11 |
| configure.cpython |
no-host |
1,631,996 |
1,643,798 |
1,584,713 |
1,595,296 |
1,516,803 |
0.97 |
0.93 |
| configure.ocaml |
no-host |
299,065 |
280,566 |
306,876 |
307,019 |
300,051 |
1.03 |
1.00 |
| configure.tcc |
no-host |
5,241 |
4,210 |
5,577 |
5,664 |
5,131 |
1.06 |
0.98 |
| configure.util-linux |
no-host |
1,541,673 |
1,700,014 |
1,520,740 |
1,512,253 |
1,468,577 |
0.99 |
0.95 |
| configure.yash |
no-host |
173,122 |
159,559 |
176,592 |
176,995 |
173,049 |
1.02 |
1.00 |
| hello-world |
no-host |
153 |
87 |
393 |
401 |
181 |
2.57 |
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.6 |
3,910 |
3,910 |
0 |
722 |
1,918 |
1,270 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
804 |
1 |
2 |
3.5 |
8.7 |
151,895 |
10,758 |
2,972 |
14,781 |
72,392 |
64,722 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,474 |
1 |
65 |
14.8 |
34.7 |
1,750,822 |
35,393 |
28,948 |
93,077 |
869,759 |
787,986 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,561 |
3 |
65 |
21.6 |
39.5 |
2,705,388 |
37,465 |
66,336 |
119,745 |
1,291,869 |
1,293,774 |
32,527 |
42 |
132,672 |
1 |
| configure.ocaml |
no-host |
3,720 |
1 |
2 |
2.8 |
28.8 |
149,695 |
12,650 |
6,565 |
9,213 |
70,292 |
70,190 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.3 |
30,546 |
30,546 |
0 |
1,680 |
14,470 |
14,396 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,694 |
1 |
2 |
2.7 |
33.4 |
143,471 |
11,502 |
6,619 |
7,167 |
70,522 |
65,782 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
20 |
1 |
2 |
3.0 |
9.4 |
117,226 |
65,792 |
42,002 |
4,975 |
54,594 |
57,657 |
277 |
3 |
84,004 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
7.1 |
3,909 |
3,909 |
0 |
721 |
1,918 |
1,270 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
808 |
1 |
2 |
3.5 |
9.3 |
151,895 |
10,762 |
2,976 |
14,781 |
72,392 |
64,722 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,513 |
1 |
65 |
14.8 |
34.4 |
1,750,821 |
35,398 |
28,953 |
93,076 |
869,759 |
787,986 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,655 |
3 |
66 |
21.6 |
39.7 |
2,705,388 |
37,471 |
66,342 |
119,745 |
1,291,869 |
1,293,774 |
32,527 |
42 |
132,684 |
1 |
| configure.ocaml |
no-host |
3,732 |
1 |
2 |
2.8 |
28.8 |
149,695 |
12,655 |
6,570 |
9,213 |
70,292 |
70,190 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.2 |
30,546 |
30,546 |
0 |
1,680 |
14,470 |
14,396 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,711 |
1 |
2 |
2.7 |
33.4 |
143,471 |
11,506 |
6,623 |
7,167 |
70,522 |
65,782 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
22 |
1 |
2 |
3.0 |
10.0 |
117,226 |
65,796 |
42,006 |
4,975 |
54,594 |
57,657 |
277 |
3 |
84,012 |
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 |
10 |
6 |
4.8 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.8 |
dash |
| 23 |
no-host |
abuild-print-help |
20 |
10 |
11 |
9.4 |
osh-native |
| 31 |
no-host |
abuild-print-help |
22 |
11 |
12 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
19 |
10 |
9 |
6.4 |
osh-static |
| 1 |
no-host |
bin-true |
622 |
326 |
332 |
3.1 |
bash |
| 9 |
no-host |
bin-true |
460 |
283 |
184 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
804 |
323 |
498 |
8.7 |
osh-native |
| 25 |
no-host |
bin-true |
808 |
304 |
521 |
9.3 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
658 |
311 |
363 |
5.2 |
osh-static |
| 2 |
no-host |
configure.cpython |
13,879 |
7,673 |
6,602 |
34.7 |
bash |
| 10 |
no-host |
configure.cpython |
13,948 |
7,662 |
6,690 |
34.5 |
dash |
| 18 |
no-host |
configure.cpython |
13,474 |
7,134 |
6,615 |
34.7 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,513 |
7,163 |
6,623 |
34.4 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
12,997 |
7,167 |
6,065 |
34.7 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,669 |
1,487 |
1,223 |
28.6 |
bash |
| 12 |
no-host |
configure.ocaml |
3,627 |
1,463 |
1,190 |
28.6 |
dash |
| 20 |
no-host |
configure.ocaml |
3,720 |
1,488 |
1,273 |
28.8 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,732 |
1,478 |
1,294 |
28.8 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,699 |
1,463 |
1,267 |
28.7 |
osh-static |
| 5 |
no-host |
configure.tcc |
46 |
25 |
22 |
26.1 |
bash |
| 13 |
no-host |
configure.tcc |
43 |
21 |
22 |
26.2 |
dash |
| 21 |
no-host |
configure.tcc |
47 |
29 |
18 |
26.3 |
osh-native |
| 29 |
no-host |
configure.tcc |
47 |
26 |
21 |
26.2 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
44 |
23 |
21 |
26.3 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,551 |
6,640 |
6,373 |
39.5 |
bash |
| 11 |
no-host |
configure.util-linux |
13,337 |
6,646 |
7,188 |
39.5 |
dash |
| 19 |
no-host |
configure.util-linux |
12,561 |
6,169 |
6,616 |
39.5 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,655 |
6,317 |
6,565 |
39.7 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,239 |
6,212 |
6,251 |
39.7 |
osh-static |
| 6 |
no-host |
configure.yash |
1,696 |
989 |
715 |
33.4 |
bash |
| 14 |
no-host |
configure.yash |
1,640 |
946 |
696 |
33.2 |
dash |
| 22 |
no-host |
configure.yash |
1,694 |
919 |
779 |
33.4 |
osh-native |
| 30 |
no-host |
configure.yash |
1,711 |
968 |
746 |
33.4 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,669 |
915 |
757 |
33.4 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.1 |
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,391 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,201 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,320 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,430 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,804 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
osh-static |
| 1 |
no-host |
bin-true |
100,423 |
0 |
0 |
0 |
8 |
0 |
1,996 |
87 |
bash |
| 9 |
no-host |
bin-true |
49,374 |
0 |
0 |
0 |
8 |
0 |
2,991 |
37 |
dash |
| 17 |
no-host |
bin-true |
132,010 |
0 |
0 |
0 |
16 |
0 |
1,999 |
81 |
osh-native |
| 25 |
no-host |
bin-true |
132,347 |
0 |
0 |
0 |
16 |
0 |
1,999 |
72 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
111,719 |
0 |
0 |
0 |
8 |
0 |
1,999 |
75 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,631,996 |
0 |
0 |
0 |
25,272 |
0 |
14,077 |
1,079 |
bash |
| 10 |
no-host |
configure.cpython |
1,643,798 |
0 |
0 |
0 |
25,272 |
0 |
14,107 |
995 |
dash |
| 18 |
no-host |
configure.cpython |
1,584,713 |
0 |
0 |
0 |
25,280 |
0 |
11,307 |
817 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,595,296 |
0 |
0 |
0 |
25,280 |
0 |
11,313 |
872 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,516,803 |
0 |
0 |
0 |
25,272 |
0 |
11,304 |
849 |
osh-static |
| 4 |
no-host |
configure.ocaml |
299,065 |
0 |
0 |
0 |
4,432 |
0 |
2,021 |
184 |
bash |
| 12 |
no-host |
configure.ocaml |
280,566 |
0 |
0 |
0 |
4,432 |
0 |
2,105 |
192 |
dash |
| 20 |
no-host |
configure.ocaml |
306,876 |
0 |
0 |
0 |
4,440 |
0 |
1,998 |
219 |
osh-native |
| 28 |
no-host |
configure.ocaml |
307,019 |
0 |
0 |
0 |
4,440 |
0 |
2,000 |
196 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,051 |
0 |
0 |
0 |
4,432 |
0 |
1,999 |
232 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,241 |
0 |
0 |
0 |
80 |
0 |
49 |
2 |
bash |
| 13 |
no-host |
configure.tcc |
4,210 |
0 |
0 |
0 |
88 |
0 |
52 |
5 |
dash |
| 21 |
no-host |
configure.tcc |
5,577 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,664 |
0 |
0 |
0 |
96 |
0 |
45 |
0 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,131 |
0 |
0 |
0 |
88 |
0 |
45 |
2 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,541,673 |
2 |
0 |
0 |
35,944 |
0 |
18,999 |
1,005 |
bash |
| 11 |
no-host |
configure.util-linux |
1,700,014 |
0 |
0 |
336 |
35,936 |
0 |
17,140 |
1,226 |
dash |
| 19 |
no-host |
configure.util-linux |
1,520,740 |
1 |
0 |
0 |
35,952 |
0 |
16,146 |
957 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,512,253 |
2 |
0 |
0 |
35,952 |
0 |
16,150 |
965 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,468,577 |
3 |
0 |
0 |
35,944 |
0 |
16,207 |
896 |
osh-static |
| 6 |
no-host |
configure.yash |
173,122 |
0 |
0 |
0 |
3,616 |
0 |
877 |
94 |
bash |
| 14 |
no-host |
configure.yash |
159,559 |
0 |
0 |
0 |
3,616 |
0 |
1,002 |
98 |
dash |
| 22 |
no-host |
configure.yash |
176,592 |
0 |
0 |
0 |
3,632 |
0 |
859 |
105 |
osh-native |
| 30 |
no-host |
configure.yash |
176,995 |
0 |
0 |
0 |
3,624 |
0 |
855 |
98 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
173,049 |
0 |
0 |
0 |
3,616 |
0 |
857 |
102 |
osh-static |
| 0 |
no-host |
hello-world |
153 |
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 |
393 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 24 |
no-host |
hello-world |
401 |
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