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-cpython |
osh-native |
osh-native-souffle |
py bash ratio |
native bash ratio |
| abuild-print-help |
no-host |
15 |
9 |
543 |
21 |
20 |
35.43 |
1.40 |
| bin-true |
no-host |
611 |
432 |
2,437 |
794 |
791 |
3.99 |
1.30 |
| configure.cpython |
no-host |
13,808 |
13,611 |
29,080 |
14,345 |
14,427 |
2.11 |
1.04 |
| configure.ocaml |
no-host |
3,616 |
3,573 |
4,582 |
3,674 |
3,681 |
1.27 |
1.02 |
| configure.tcc |
no-host |
45 |
41 |
221 |
48 |
48 |
4.85 |
1.06 |
| configure.util-linux |
no-host |
12,477 |
13,121 |
31,711 |
13,386 |
13,519 |
2.54 |
1.07 |
| configure.yash |
no-host |
1,664 |
1,620 |
2,382 |
1,689 |
1,683 |
1.43 |
1.01 |
| hello-world |
no-host |
1 |
1 |
60 |
3 |
3 |
51.31 |
2.51 |
Minor Page Faults
| workload |
host name |
bash |
dash |
osh-cpython |
osh-native |
osh-native-souffle |
py bash ratio |
native bash ratio |
| abuild-print-help |
no-host |
2,388 |
1,220 |
24,705 |
3,437 |
3,353 |
10.35 |
1.44 |
| bin-true |
no-host |
100,932 |
49,403 |
827,684 |
136,214 |
136,301 |
8.20 |
1.35 |
| configure.cpython |
no-host |
1,621,890 |
1,642,110 |
5,970,073 |
1,800,251 |
1,781,358 |
3.68 |
1.11 |
| configure.ocaml |
no-host |
298,545 |
280,813 |
555,219 |
316,530 |
316,171 |
1.86 |
1.06 |
| configure.tcc |
no-host |
5,236 |
4,218 |
23,756 |
5,951 |
5,868 |
4.54 |
1.14 |
| configure.util-linux |
no-host |
1,533,801 |
1,697,387 |
4,957,251 |
1,724,074 |
1,716,490 |
3.23 |
1.12 |
| configure.yash |
no-host |
173,665 |
159,484 |
314,945 |
179,385 |
179,312 |
1.81 |
1.03 |
| hello-world |
no-host |
150 |
86 |
3,888 |
387 |
380 |
25.92 |
2.58 |
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.9 |
3,826 |
3,826 |
0 |
703 |
1,880 |
1,243 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
794 |
1 |
2 |
2.6 |
8.7 |
156,798 |
15,428 |
2,915 |
8,760 |
77,347 |
70,691 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,345 |
1 |
64 |
15.2 |
34.5 |
1,782,989 |
46,101 |
25,356 |
91,621 |
885,111 |
806,257 |
25,789 |
62 |
50,000 |
0 |
| configure.util-linux |
no-host |
13,386 |
3 |
58 |
21.4 |
39.6 |
2,707,122 |
126,354 |
66,586 |
113,462 |
1,294,567 |
1,299,093 |
32,539 |
41 |
133,172 |
1 |
| configure.ocaml |
no-host |
3,674 |
1 |
2 |
2.7 |
28.5 |
149,873 |
12,476 |
6,519 |
7,818 |
70,839 |
71,216 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
26.3 |
30,628 |
30,628 |
0 |
1,581 |
14,645 |
14,402 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,689 |
1 |
2 |
2.6 |
33.4 |
140,017 |
8,080 |
6,714 |
6,525 |
68,347 |
65,145 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
9.8 |
116,368 |
64,438 |
42,639 |
4,561 |
54,471 |
57,336 |
277 |
3 |
85,278 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.4 |
3,825 |
3,825 |
0 |
704 |
1,880 |
1,241 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
791 |
1 |
2 |
2.6 |
8.4 |
156,797 |
15,423 |
2,910 |
8,761 |
77,347 |
70,689 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,427 |
1 |
62 |
15.2 |
34.5 |
1,782,988 |
46,087 |
25,352 |
91,622 |
885,111 |
806,255 |
25,789 |
62 |
50,000 |
0 |
| configure.util-linux |
no-host |
13,519 |
2 |
58 |
21.4 |
39.6 |
2,707,122 |
126,347 |
66,579 |
113,464 |
1,294,567 |
1,299,091 |
32,539 |
41 |
133,158 |
1 |
| configure.ocaml |
no-host |
3,681 |
1 |
2 |
2.7 |
28.8 |
149,873 |
12,470 |
6,513 |
7,820 |
70,839 |
71,214 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
26.2 |
30,628 |
30,628 |
0 |
1,583 |
14,645 |
14,400 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,683 |
1 |
2 |
2.6 |
33.4 |
140,017 |
8,069 |
6,703 |
6,527 |
68,347 |
65,143 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
20 |
1 |
2 |
2.8 |
9.3 |
116,367 |
64,433 |
42,634 |
4,562 |
54,471 |
57,334 |
277 |
3 |
85,268 |
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 |
9 |
7 |
4.8 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
5 |
5 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
543 |
495 |
52 |
22.7 |
osh-cpython |
| 31 |
no-host |
abuild-print-help |
21 |
13 |
9 |
9.8 |
osh-native |
| 39 |
no-host |
abuild-print-help |
20 |
11 |
10 |
9.3 |
osh-native-souffle |
| 1 |
no-host |
bin-true |
611 |
299 |
350 |
3.3 |
bash |
| 9 |
no-host |
bin-true |
432 |
280 |
157 |
1.4 |
dash |
| 17 |
no-host |
bin-true |
2,437 |
918 |
1,784 |
18.3 |
osh-cpython |
| 25 |
no-host |
bin-true |
794 |
309 |
503 |
8.7 |
osh-native |
| 33 |
no-host |
bin-true |
791 |
317 |
491 |
8.4 |
osh-native-souffle |
| 2 |
no-host |
configure.cpython |
13,808 |
7,422 |
6,758 |
34.4 |
bash |
| 10 |
no-host |
configure.cpython |
13,611 |
7,409 |
6,585 |
34.5 |
dash |
| 18 |
no-host |
configure.cpython |
29,080 |
15,862 |
15,168 |
34.8 |
osh-cpython |
| 26 |
no-host |
configure.cpython |
14,345 |
7,246 |
7,390 |
34.5 |
osh-native |
| 34 |
no-host |
configure.cpython |
14,427 |
7,261 |
7,311 |
34.5 |
osh-native-souffle |
| 4 |
no-host |
configure.ocaml |
3,616 |
1,444 |
1,211 |
28.8 |
bash |
| 12 |
no-host |
configure.ocaml |
3,573 |
1,401 |
1,194 |
28.6 |
dash |
| 20 |
no-host |
configure.ocaml |
4,582 |
2,052 |
1,748 |
28.7 |
osh-cpython |
| 28 |
no-host |
configure.ocaml |
3,674 |
1,447 |
1,268 |
28.5 |
osh-native |
| 36 |
no-host |
configure.ocaml |
3,681 |
1,425 |
1,295 |
28.8 |
osh-native-souffle |
| 5 |
no-host |
configure.tcc |
45 |
21 |
25 |
26.2 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
24 |
17 |
26.4 |
dash |
| 21 |
no-host |
configure.tcc |
221 |
160 |
64 |
26.3 |
osh-cpython |
| 29 |
no-host |
configure.tcc |
48 |
26 |
23 |
26.3 |
osh-native |
| 37 |
no-host |
configure.tcc |
48 |
21 |
27 |
26.2 |
osh-native-souffle |
| 3 |
no-host |
configure.util-linux |
12,477 |
6,454 |
6,468 |
39.9 |
bash |
| 11 |
no-host |
configure.util-linux |
13,121 |
6,241 |
7,353 |
39.9 |
dash |
| 19 |
no-host |
configure.util-linux |
31,711 |
19,926 |
12,841 |
39.7 |
osh-cpython |
| 27 |
no-host |
configure.util-linux |
13,386 |
6,209 |
7,414 |
39.6 |
osh-native |
| 35 |
no-host |
configure.util-linux |
13,519 |
6,111 |
7,485 |
39.6 |
osh-native-souffle |
| 6 |
no-host |
configure.yash |
1,664 |
946 |
727 |
33.4 |
bash |
| 14 |
no-host |
configure.yash |
1,620 |
948 |
674 |
33.4 |
dash |
| 22 |
no-host |
configure.yash |
2,382 |
1,374 |
1,050 |
33.4 |
osh-cpython |
| 30 |
no-host |
configure.yash |
1,689 |
912 |
780 |
33.4 |
osh-native |
| 38 |
no-host |
configure.yash |
1,683 |
933 |
753 |
33.4 |
osh-native-souffle |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.1 |
bash |
| 8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
| 16 |
no-host |
hello-world |
60 |
43 |
17 |
18.1 |
osh-cpython |
| 24 |
no-host |
hello-world |
3 |
2 |
1 |
6.9 |
osh-native |
| 32 |
no-host |
hello-world |
3 |
1 |
2 |
6.4 |
osh-native-souffle |
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,388 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,220 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
24,705 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
| 31 |
no-host |
abuild-print-help |
3,437 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
| 39 |
no-host |
abuild-print-help |
3,353 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
| 1 |
no-host |
bin-true |
100,932 |
0 |
0 |
0 |
8 |
0 |
1,991 |
53 |
bash |
| 9 |
no-host |
bin-true |
49,403 |
0 |
0 |
0 |
8 |
0 |
2,968 |
61 |
dash |
| 17 |
no-host |
bin-true |
827,684 |
0 |
0 |
0 |
8 |
0 |
1,987 |
150 |
osh-cpython |
| 25 |
no-host |
bin-true |
136,214 |
0 |
0 |
0 |
16 |
0 |
1,983 |
102 |
osh-native |
| 33 |
no-host |
bin-true |
136,301 |
0 |
0 |
0 |
16 |
0 |
1,982 |
83 |
osh-native-souffle |
| 2 |
no-host |
configure.cpython |
1,621,890 |
0 |
0 |
0 |
25,272 |
0 |
14,072 |
1,052 |
bash |
| 10 |
no-host |
configure.cpython |
1,642,110 |
0 |
0 |
0 |
25,272 |
0 |
14,093 |
1,026 |
dash |
| 18 |
no-host |
configure.cpython |
5,970,073 |
0 |
0 |
0 |
25,272 |
0 |
12,869 |
851 |
osh-cpython |
| 26 |
no-host |
configure.cpython |
1,800,251 |
0 |
0 |
0 |
25,280 |
0 |
12,848 |
1,048 |
osh-native |
| 34 |
no-host |
configure.cpython |
1,781,358 |
0 |
0 |
0 |
25,280 |
0 |
12,828 |
1,046 |
osh-native-souffle |
| 4 |
no-host |
configure.ocaml |
298,545 |
0 |
0 |
0 |
4,432 |
0 |
2,016 |
201 |
bash |
| 12 |
no-host |
configure.ocaml |
280,813 |
0 |
0 |
0 |
4,432 |
0 |
2,099 |
212 |
dash |
| 20 |
no-host |
configure.ocaml |
555,219 |
0 |
0 |
0 |
4,432 |
0 |
1,921 |
196 |
osh-cpython |
| 28 |
no-host |
configure.ocaml |
316,530 |
0 |
0 |
0 |
4,440 |
0 |
1,998 |
199 |
osh-native |
| 36 |
no-host |
configure.ocaml |
316,171 |
0 |
0 |
0 |
4,440 |
0 |
1,998 |
186 |
osh-native-souffle |
| 5 |
no-host |
configure.tcc |
5,236 |
0 |
0 |
0 |
80 |
0 |
49 |
2 |
bash |
| 13 |
no-host |
configure.tcc |
4,218 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
23,756 |
0 |
0 |
0 |
88 |
0 |
51 |
5 |
osh-cpython |
| 29 |
no-host |
configure.tcc |
5,951 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
osh-native |
| 37 |
no-host |
configure.tcc |
5,868 |
0 |
0 |
0 |
96 |
0 |
47 |
4 |
osh-native-souffle |
| 3 |
no-host |
configure.util-linux |
1,533,801 |
0 |
0 |
0 |
35,944 |
0 |
18,951 |
1,081 |
bash |
| 11 |
no-host |
configure.util-linux |
1,697,387 |
1 |
0 |
0 |
35,936 |
0 |
17,029 |
1,270 |
dash |
| 19 |
no-host |
configure.util-linux |
4,957,251 |
4 |
0 |
0 |
35,944 |
0 |
17,518 |
895 |
osh-cpython |
| 27 |
no-host |
configure.util-linux |
1,724,074 |
1 |
0 |
0 |
35,944 |
0 |
17,555 |
1,099 |
osh-native |
| 35 |
no-host |
configure.util-linux |
1,716,490 |
1 |
0 |
0 |
35,944 |
0 |
17,407 |
1,089 |
osh-native-souffle |
| 6 |
no-host |
configure.yash |
173,665 |
0 |
0 |
0 |
3,616 |
0 |
878 |
109 |
bash |
| 14 |
no-host |
configure.yash |
159,484 |
0 |
0 |
0 |
3,624 |
0 |
995 |
100 |
dash |
| 22 |
no-host |
configure.yash |
314,945 |
0 |
0 |
0 |
3,616 |
0 |
862 |
103 |
osh-cpython |
| 30 |
no-host |
configure.yash |
179,385 |
0 |
0 |
0 |
3,624 |
0 |
855 |
97 |
osh-native |
| 38 |
no-host |
configure.yash |
179,312 |
0 |
0 |
0 |
3,632 |
0 |
854 |
101 |
osh-native-souffle |
| 0 |
no-host |
hello-world |
150 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
86 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
3,888 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
| 24 |
no-host |
hello-world |
387 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
| 32 |
no-host |
hello-world |
380 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host