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 |
19 |
9 |
469 |
22 |
20 |
24.83 |
1.16 |
bin-true |
no-host |
660 |
530 |
2,324 |
792 |
797 |
3.52 |
1.20 |
configure.cpython |
no-host |
14,987 |
15,150 |
28,961 |
14,957 |
15,198 |
1.93 |
1.00 |
configure.ocaml |
no-host |
3,797 |
3,726 |
4,654 |
3,819 |
3,811 |
1.23 |
1.01 |
configure.tcc |
no-host |
47 |
41 |
202 |
49 |
48 |
4.34 |
1.05 |
configure.util-linux |
no-host |
13,935 |
14,526 |
31,405 |
14,078 |
14,029 |
2.25 |
1.01 |
configure.yash |
no-host |
1,819 |
1,754 |
2,456 |
1,838 |
1,837 |
1.35 |
1.01 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
42.24 |
2.08 |
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,504 |
1,132 |
23,948 |
3,191 |
3,086 |
9.56 |
1.27 |
bin-true |
no-host |
106,357 |
67,414 |
784,327 |
129,227 |
124,137 |
7.37 |
1.22 |
configure.cpython |
no-host |
2,001,729 |
2,016,046 |
6,069,942 |
2,009,044 |
2,005,362 |
3.03 |
1.00 |
configure.ocaml |
no-host |
373,441 |
353,724 |
612,660 |
376,660 |
375,513 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,087 |
5,010 |
23,650 |
6,507 |
6,442 |
3.89 |
1.07 |
configure.util-linux |
no-host |
1,907,019 |
2,069,800 |
5,232,550 |
1,811,483 |
1,806,713 |
2.74 |
0.95 |
configure.yash |
no-host |
233,044 |
222,372 |
367,543 |
235,411 |
234,677 |
1.58 |
1.01 |
hello-world |
no-host |
149 |
76 |
3,961 |
344 |
337 |
26.58 |
2.31 |
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.4 |
3,799 |
3,799 |
0 |
699 |
1,867 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
792 |
1 |
2 |
2.6 |
8.0 |
153,766 |
12,331 |
2,895 |
8,751 |
76,334 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,957 |
1 |
66 |
15.3 |
29.1 |
1,773,757 |
49,822 |
28,520 |
91,504 |
881,462 |
800,791 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,078 |
3 |
66 |
21.6 |
30.2 |
2,704,668 |
53,751 |
65,719 |
114,371 |
1,293,954 |
1,296,343 |
32,241 |
41 |
131,438 |
1 |
configure.ocaml |
no-host |
3,819 |
1 |
2 |
2.6 |
22.6 |
149,782 |
11,148 |
5,215 |
7,732 |
70,841 |
71,209 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.7 |
30,567 |
30,567 |
0 |
1,541 |
14,632 |
14,394 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,838 |
1 |
2 |
2.6 |
26.4 |
139,678 |
8,035 |
6,694 |
6,393 |
68,250 |
65,035 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,315 |
64,413 |
42,621 |
4,543 |
54,451 |
57,321 |
277 |
3 |
85,242 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.9 |
3,798 |
3,798 |
0 |
700 |
1,867 |
1,231 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
797 |
1 |
2 |
2.6 |
7.7 |
153,765 |
12,326 |
2,890 |
8,752 |
76,334 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,198 |
1 |
65 |
15.3 |
29.2 |
1,773,756 |
49,817 |
28,515 |
91,505 |
881,462 |
800,789 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,029 |
3 |
64 |
21.6 |
30.4 |
2,704,668 |
53,734 |
65,714 |
114,373 |
1,293,954 |
1,296,341 |
32,241 |
41 |
131,428 |
1 |
configure.ocaml |
no-host |
3,811 |
1 |
2 |
2.6 |
22.6 |
149,782 |
11,143 |
5,210 |
7,734 |
70,841 |
71,207 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.5 |
30,567 |
30,567 |
0 |
1,543 |
14,632 |
14,392 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,837 |
1 |
2 |
2.6 |
26.4 |
139,678 |
8,030 |
6,689 |
6,395 |
68,250 |
65,033 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
20 |
1 |
2 |
2.8 |
8.8 |
116,314 |
64,408 |
42,616 |
4,544 |
54,451 |
57,319 |
277 |
3 |
85,232 |
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 |
19 |
10 |
9 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
469 |
412 |
61 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
12 |
11 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
11 |
10 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
660 |
312 |
384 |
2.9 |
bash |
9 |
no-host |
bin-true |
530 |
283 |
260 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,324 |
752 |
1,830 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
792 |
298 |
509 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
797 |
294 |
518 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,987 |
6,788 |
8,627 |
29.3 |
bash |
10 |
no-host |
configure.cpython |
15,150 |
6,864 |
8,729 |
29.3 |
dash |
18 |
no-host |
configure.cpython |
28,961 |
14,403 |
16,528 |
29.1 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,957 |
6,574 |
8,677 |
29.1 |
osh-native |
34 |
no-host |
configure.cpython |
15,198 |
6,740 |
8,620 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,797 |
1,327 |
1,510 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,726 |
1,325 |
1,418 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,654 |
1,865 |
2,008 |
22.5 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,819 |
1,306 |
1,554 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,811 |
1,336 |
1,514 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
25 |
22 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
41 |
21 |
20 |
19.5 |
dash |
21 |
no-host |
configure.tcc |
202 |
134 |
72 |
19.7 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
26 |
23 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
20 |
28 |
19.5 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,935 |
6,019 |
8,422 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,526 |
5,919 |
9,136 |
30.2 |
dash |
19 |
no-host |
configure.util-linux |
31,405 |
17,959 |
14,583 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,078 |
5,640 |
8,647 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
14,029 |
5,576 |
8,685 |
30.4 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,819 |
916 |
913 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,754 |
926 |
832 |
26.2 |
dash |
22 |
no-host |
configure.yash |
2,456 |
1,340 |
1,161 |
26.3 |
osh-cpython |
30 |
no-host |
configure.yash |
1,838 |
914 |
929 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,837 |
944 |
897 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
38 |
19 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
1 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
1 |
5.9 |
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,504 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,132 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,948 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,191 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,086 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,357 |
0 |
0 |
0 |
8 |
0 |
1,988 |
129 |
bash |
9 |
no-host |
bin-true |
67,414 |
0 |
0 |
0 |
8 |
0 |
1,979 |
92 |
dash |
17 |
no-host |
bin-true |
784,327 |
0 |
0 |
0 |
8 |
0 |
1,997 |
408 |
osh-cpython |
25 |
no-host |
bin-true |
129,227 |
0 |
0 |
0 |
16 |
0 |
1,982 |
191 |
osh-native |
33 |
no-host |
bin-true |
124,137 |
0 |
0 |
0 |
16 |
0 |
1,987 |
288 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,001,729 |
0 |
0 |
0 |
32,928 |
0 |
14,197 |
1,264 |
bash |
10 |
no-host |
configure.cpython |
2,016,046 |
1 |
0 |
0 |
32,992 |
0 |
14,371 |
1,311 |
dash |
18 |
no-host |
configure.cpython |
6,069,942 |
0 |
0 |
0 |
27,512 |
0 |
13,043 |
1,164 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,009,044 |
0 |
0 |
0 |
27,520 |
0 |
13,219 |
1,245 |
osh-native |
34 |
no-host |
configure.cpython |
2,005,362 |
0 |
0 |
0 |
27,520 |
0 |
13,021 |
1,113 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,441 |
0 |
0 |
0 |
5,120 |
0 |
1,947 |
197 |
bash |
12 |
no-host |
configure.ocaml |
353,724 |
0 |
0 |
0 |
5,112 |
0 |
1,930 |
196 |
dash |
20 |
no-host |
configure.ocaml |
612,660 |
0 |
0 |
0 |
5,112 |
0 |
1,857 |
208 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,660 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
199 |
osh-native |
36 |
no-host |
configure.ocaml |
375,513 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
186 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,087 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,010 |
0 |
0 |
0 |
96 |
0 |
46 |
6 |
dash |
21 |
no-host |
configure.tcc |
23,650 |
0 |
0 |
0 |
96 |
0 |
53 |
7 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,507 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,442 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,907,019 |
1 |
0 |
0 |
42,400 |
0 |
18,515 |
1,186 |
bash |
11 |
no-host |
configure.util-linux |
2,069,800 |
0 |
0 |
0 |
42,584 |
0 |
17,333 |
1,474 |
dash |
19 |
no-host |
configure.util-linux |
5,232,550 |
5 |
0 |
0 |
39,112 |
0 |
17,054 |
1,407 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,811,483 |
0 |
0 |
0 |
39,120 |
0 |
17,013 |
1,181 |
osh-native |
35 |
no-host |
configure.util-linux |
1,806,713 |
1 |
0 |
0 |
39,128 |
0 |
16,994 |
1,192 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,044 |
0 |
0 |
0 |
4,120 |
0 |
871 |
92 |
bash |
14 |
no-host |
configure.yash |
222,372 |
0 |
0 |
0 |
3,720 |
0 |
869 |
92 |
dash |
22 |
no-host |
configure.yash |
367,543 |
0 |
0 |
0 |
3,728 |
0 |
854 |
70 |
osh-cpython |
30 |
no-host |
configure.yash |
235,411 |
0 |
0 |
0 |
3,736 |
0 |
851 |
104 |
osh-native |
38 |
no-host |
configure.yash |
234,677 |
0 |
0 |
0 |
3,736 |
0 |
846 |
92 |
osh-native-souffle |
0 |
no-host |
hello-world |
149 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
76 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,961 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
337 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host