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.32 |
1.19 |
| bin-true |
no-host |
617 |
437 |
789 |
808 |
654 |
1.28 |
1.06 |
| configure.cpython |
no-host |
13,863 |
13,688 |
13,194 |
13,526 |
13,203 |
0.95 |
0.95 |
| configure.ocaml |
no-host |
3,623 |
3,557 |
3,654 |
3,767 |
3,706 |
1.01 |
1.02 |
| configure.tcc |
no-host |
46 |
41 |
46 |
48 |
44 |
1.01 |
0.97 |
| configure.util-linux |
no-host |
12,430 |
13,087 |
12,284 |
12,914 |
12,446 |
0.99 |
1.00 |
| configure.yash |
no-host |
1,680 |
1,610 |
1,678 |
1,713 |
1,703 |
1.00 |
1.01 |
| hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.45 |
1.07 |
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,410 |
1,174 |
3,309 |
3,412 |
2,822 |
1.37 |
1.17 |
| bin-true |
no-host |
101,426 |
49,356 |
131,301 |
136,094 |
112,010 |
1.29 |
1.10 |
| configure.cpython |
no-host |
1,620,096 |
1,630,798 |
1,581,003 |
1,601,739 |
1,516,343 |
0.98 |
0.94 |
| configure.ocaml |
no-host |
298,894 |
280,747 |
306,958 |
306,677 |
300,188 |
1.03 |
1.00 |
| configure.tcc |
no-host |
5,264 |
4,228 |
5,592 |
5,658 |
5,112 |
1.06 |
0.97 |
| configure.util-linux |
no-host |
1,534,718 |
1,705,115 |
1,506,085 |
1,513,918 |
1,479,415 |
0.98 |
0.96 |
| configure.yash |
no-host |
173,176 |
159,507 |
176,880 |
177,016 |
172,851 |
1.02 |
1.00 |
| hello-world |
no-host |
154 |
88 |
394 |
401 |
182 |
2.56 |
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,920 |
3,920 |
0 |
726 |
1,923 |
1,271 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
789 |
1 |
2 |
3.5 |
8.7 |
151,905 |
10,764 |
2,978 |
14,785 |
72,397 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,194 |
1 |
64 |
14.8 |
34.5 |
1,750,832 |
35,399 |
28,954 |
93,081 |
869,764 |
787,987 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,284 |
3 |
63 |
21.6 |
39.5 |
2,705,398 |
37,471 |
66,342 |
119,749 |
1,291,874 |
1,293,775 |
32,527 |
42 |
132,684 |
1 |
| configure.ocaml |
no-host |
3,654 |
1 |
2 |
2.8 |
28.7 |
149,705 |
12,656 |
6,571 |
9,217 |
70,297 |
70,191 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
46 |
0 |
0 |
1.4 |
26.3 |
30,556 |
30,556 |
0 |
1,684 |
14,475 |
14,397 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,678 |
1 |
2 |
2.7 |
33.4 |
143,481 |
11,508 |
6,625 |
7,171 |
70,527 |
65,783 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
21 |
1 |
2 |
3.0 |
9.3 |
117,239 |
65,801 |
42,008 |
4,980 |
54,601 |
57,658 |
277 |
3 |
84,016 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
7.2 |
3,919 |
3,919 |
0 |
725 |
1,923 |
1,271 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
808 |
1 |
2 |
3.5 |
9.2 |
151,905 |
10,768 |
2,982 |
14,785 |
72,397 |
64,723 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
13,526 |
1 |
66 |
14.9 |
34.4 |
1,750,831 |
36,458 |
28,959 |
93,080 |
869,764 |
787,987 |
25,789 |
61 |
50,000 |
0 |
| configure.util-linux |
no-host |
12,914 |
3 |
68 |
21.6 |
39.7 |
2,705,398 |
37,477 |
66,348 |
119,749 |
1,291,874 |
1,293,775 |
32,527 |
42 |
132,696 |
1 |
| configure.ocaml |
no-host |
3,767 |
1 |
2 |
2.8 |
28.7 |
149,705 |
12,661 |
6,576 |
9,217 |
70,297 |
70,191 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
48 |
0 |
0 |
1.4 |
26.1 |
30,556 |
30,556 |
0 |
1,684 |
14,475 |
14,397 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,713 |
1 |
2 |
2.7 |
33.4 |
143,481 |
11,512 |
6,629 |
7,171 |
70,527 |
65,783 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
22 |
1 |
2 |
3.0 |
10.0 |
117,239 |
65,805 |
42,012 |
4,980 |
54,601 |
57,658 |
277 |
3 |
84,024 |
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 |
8 |
8 |
4.8 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
5 |
4 |
3.8 |
dash |
| 23 |
no-host |
abuild-print-help |
21 |
14 |
8 |
9.3 |
osh-native |
| 31 |
no-host |
abuild-print-help |
22 |
18 |
4 |
10.0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
18 |
11 |
8 |
6.3 |
osh-static |
| 1 |
no-host |
bin-true |
617 |
315 |
340 |
3.3 |
bash |
| 9 |
no-host |
bin-true |
437 |
272 |
172 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
789 |
309 |
495 |
8.7 |
osh-native |
| 25 |
no-host |
bin-true |
808 |
316 |
507 |
9.2 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
654 |
317 |
357 |
5.1 |
osh-static |
| 2 |
no-host |
configure.cpython |
13,863 |
7,614 |
6,638 |
34.6 |
bash |
| 10 |
no-host |
configure.cpython |
13,688 |
7,532 |
6,553 |
34.4 |
dash |
| 18 |
no-host |
configure.cpython |
13,194 |
7,110 |
6,350 |
34.5 |
osh-native |
| 26 |
no-host |
configure.cpython |
13,526 |
7,291 |
6,524 |
34.4 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
13,203 |
7,251 |
6,188 |
34.5 |
osh-static |
| 4 |
no-host |
configure.ocaml |
3,623 |
1,448 |
1,215 |
28.6 |
bash |
| 12 |
no-host |
configure.ocaml |
3,557 |
1,479 |
1,102 |
28.7 |
dash |
| 20 |
no-host |
configure.ocaml |
3,654 |
1,441 |
1,252 |
28.7 |
osh-native |
| 28 |
no-host |
configure.ocaml |
3,767 |
1,502 |
1,306 |
28.7 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
3,706 |
1,491 |
1,247 |
28.8 |
osh-static |
| 5 |
no-host |
configure.tcc |
46 |
22 |
24 |
26.2 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
23 |
18 |
26.3 |
dash |
| 21 |
no-host |
configure.tcc |
46 |
23 |
23 |
26.3 |
osh-native |
| 29 |
no-host |
configure.tcc |
48 |
22 |
27 |
26.1 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
44 |
30 |
15 |
26.3 |
osh-static |
| 3 |
no-host |
configure.util-linux |
12,430 |
6,542 |
6,355 |
39.6 |
bash |
| 11 |
no-host |
configure.util-linux |
13,087 |
6,467 |
7,109 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
12,284 |
6,182 |
6,322 |
39.5 |
osh-native |
| 27 |
no-host |
configure.util-linux |
12,914 |
6,433 |
6,715 |
39.7 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
12,446 |
6,331 |
6,336 |
39.5 |
osh-static |
| 6 |
no-host |
configure.yash |
1,680 |
957 |
732 |
33.4 |
bash |
| 14 |
no-host |
configure.yash |
1,610 |
939 |
673 |
33.3 |
dash |
| 22 |
no-host |
configure.yash |
1,678 |
945 |
735 |
33.4 |
osh-native |
| 30 |
no-host |
configure.yash |
1,713 |
971 |
744 |
33.4 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
1,703 |
979 |
725 |
33.2 |
osh-static |
| 0 |
no-host |
hello-world |
1 |
1 |
0 |
3.3 |
bash |
| 8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
3 |
1 |
2 |
6.6 |
osh-native |
| 24 |
no-host |
hello-world |
3 |
0 |
3 |
7.2 |
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,410 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,174 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
3,309 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
| 31 |
no-host |
abuild-print-help |
3,412 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-nosouffle |
| 39 |
no-host |
abuild-print-help |
2,822 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
osh-static |
| 1 |
no-host |
bin-true |
101,426 |
0 |
0 |
0 |
8 |
0 |
1,999 |
66 |
bash |
| 9 |
no-host |
bin-true |
49,356 |
0 |
0 |
0 |
8 |
0 |
2,991 |
44 |
dash |
| 17 |
no-host |
bin-true |
131,301 |
0 |
0 |
0 |
16 |
0 |
1,998 |
82 |
osh-native |
| 25 |
no-host |
bin-true |
136,094 |
0 |
0 |
0 |
16 |
0 |
1,999 |
90 |
osh-nosouffle |
| 33 |
no-host |
bin-true |
112,010 |
0 |
0 |
0 |
8 |
0 |
1,997 |
57 |
osh-static |
| 2 |
no-host |
configure.cpython |
1,620,096 |
0 |
0 |
0 |
25,272 |
0 |
14,066 |
1,014 |
bash |
| 10 |
no-host |
configure.cpython |
1,630,798 |
0 |
0 |
0 |
25,272 |
0 |
14,107 |
968 |
dash |
| 18 |
no-host |
configure.cpython |
1,581,003 |
0 |
0 |
0 |
25,280 |
0 |
11,303 |
860 |
osh-native |
| 26 |
no-host |
configure.cpython |
1,601,739 |
0 |
0 |
0 |
25,280 |
0 |
11,309 |
774 |
osh-nosouffle |
| 34 |
no-host |
configure.cpython |
1,516,343 |
0 |
0 |
0 |
25,272 |
0 |
11,262 |
840 |
osh-static |
| 4 |
no-host |
configure.ocaml |
298,894 |
0 |
0 |
0 |
4,432 |
0 |
2,019 |
199 |
bash |
| 12 |
no-host |
configure.ocaml |
280,747 |
0 |
0 |
0 |
4,432 |
0 |
2,110 |
176 |
dash |
| 20 |
no-host |
configure.ocaml |
306,958 |
0 |
0 |
0 |
4,440 |
0 |
1,999 |
208 |
osh-native |
| 28 |
no-host |
configure.ocaml |
306,677 |
0 |
0 |
0 |
4,440 |
0 |
1,998 |
190 |
osh-nosouffle |
| 36 |
no-host |
configure.ocaml |
300,188 |
0 |
0 |
0 |
4,432 |
0 |
2,001 |
225 |
osh-static |
| 5 |
no-host |
configure.tcc |
5,264 |
0 |
0 |
0 |
80 |
0 |
49 |
3 |
bash |
| 13 |
no-host |
configure.tcc |
4,228 |
0 |
0 |
0 |
88 |
0 |
53 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
5,592 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-native |
| 29 |
no-host |
configure.tcc |
5,658 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
osh-nosouffle |
| 37 |
no-host |
configure.tcc |
5,112 |
0 |
0 |
0 |
88 |
0 |
45 |
3 |
osh-static |
| 3 |
no-host |
configure.util-linux |
1,534,718 |
0 |
0 |
0 |
35,936 |
0 |
19,019 |
989 |
bash |
| 11 |
no-host |
configure.util-linux |
1,705,115 |
0 |
0 |
0 |
35,936 |
0 |
17,062 |
1,189 |
dash |
| 19 |
no-host |
configure.util-linux |
1,506,085 |
1 |
0 |
0 |
35,952 |
0 |
16,202 |
923 |
osh-native |
| 27 |
no-host |
configure.util-linux |
1,513,918 |
1 |
0 |
0 |
35,944 |
0 |
16,165 |
927 |
osh-nosouffle |
| 35 |
no-host |
configure.util-linux |
1,479,415 |
3 |
0 |
0 |
35,936 |
0 |
16,208 |
899 |
osh-static |
| 6 |
no-host |
configure.yash |
173,176 |
0 |
0 |
0 |
3,616 |
0 |
879 |
93 |
bash |
| 14 |
no-host |
configure.yash |
159,507 |
0 |
0 |
0 |
3,616 |
0 |
1,004 |
100 |
dash |
| 22 |
no-host |
configure.yash |
176,880 |
0 |
0 |
0 |
3,624 |
0 |
858 |
109 |
osh-native |
| 30 |
no-host |
configure.yash |
177,016 |
0 |
0 |
0 |
3,632 |
0 |
856 |
100 |
osh-nosouffle |
| 38 |
no-host |
configure.yash |
172,851 |
0 |
0 |
0 |
3,616 |
0 |
859 |
101 |
osh-static |
| 0 |
no-host |
hello-world |
154 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
88 |
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 |
401 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-nosouffle |
| 32 |
no-host |
hello-world |
182 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host