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 |
458 |
22 |
20 |
24.25 |
1.14 |
bin-true |
no-host |
667 |
535 |
2,285 |
804 |
809 |
3.43 |
1.21 |
configure.cpython |
no-host |
14,819 |
14,877 |
28,411 |
15,039 |
15,076 |
1.92 |
1.01 |
configure.ocaml |
no-host |
3,773 |
3,695 |
4,603 |
3,776 |
3,773 |
1.22 |
1.00 |
configure.tcc |
no-host |
47 |
41 |
201 |
48 |
48 |
4.25 |
1.02 |
configure.util-linux |
no-host |
13,791 |
14,653 |
30,936 |
14,201 |
14,122 |
2.24 |
1.03 |
configure.yash |
no-host |
1,795 |
1,740 |
2,426 |
1,798 |
1,793 |
1.35 |
1.00 |
hello-world |
no-host |
2 |
1 |
55 |
3 |
3 |
33.17 |
1.70 |
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,524 |
1,123 |
23,662 |
3,196 |
3,067 |
9.37 |
1.27 |
bin-true |
no-host |
103,310 |
65,469 |
776,731 |
126,249 |
127,264 |
7.52 |
1.22 |
configure.cpython |
no-host |
2,226,269 |
2,251,343 |
6,215,062 |
2,225,569 |
2,209,462 |
2.79 |
1.00 |
configure.ocaml |
no-host |
409,893 |
391,404 |
647,805 |
413,449 |
412,773 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,552 |
5,478 |
24,074 |
6,951 |
6,906 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,102,450 |
2,259,010 |
5,394,440 |
1,995,014 |
1,991,446 |
2.57 |
0.95 |
configure.yash |
no-host |
256,705 |
245,201 |
388,442 |
257,500 |
258,063 |
1.51 |
1.00 |
hello-world |
no-host |
154 |
83 |
3,947 |
343 |
339 |
25.63 |
2.23 |
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.2 |
6.3 |
3,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
804 |
1 |
2 |
2.6 |
8.0 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,039 |
1 |
58 |
14.9 |
27.5 |
1,771,747 |
49,125 |
28,512 |
85,415 |
878,115 |
808,217 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,201 |
2 |
57 |
21.2 |
30.3 |
2,702,513 |
45,898 |
65,711 |
108,691 |
1,290,640 |
1,303,182 |
32,239 |
41 |
131,422 |
1 |
configure.ocaml |
no-host |
3,776 |
0 |
2 |
2.6 |
20.6 |
150,080 |
11,112 |
5,207 |
7,508 |
70,969 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.1 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,798 |
1 |
2 |
2.5 |
24.2 |
139,412 |
8,024 |
6,686 |
5,989 |
67,942 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
8.9 |
116,292 |
64,403 |
42,613 |
4,532 |
54,436 |
57,324 |
277 |
3 |
85,226 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
6.0 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
809 |
1 |
2 |
2.6 |
7.5 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,076 |
1 |
56 |
14.9 |
27.4 |
1,771,746 |
44,577 |
28,450 |
85,416 |
878,115 |
808,215 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,122 |
3 |
57 |
21.2 |
30.3 |
2,702,513 |
53,693 |
65,649 |
108,693 |
1,290,640 |
1,303,180 |
32,239 |
41 |
131,298 |
1 |
configure.ocaml |
no-host |
3,773 |
0 |
2 |
2.6 |
20.6 |
150,080 |
11,050 |
5,145 |
7,510 |
70,969 |
71,601 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,793 |
1 |
2 |
2.5 |
24.4 |
139,412 |
7,962 |
6,624 |
5,991 |
67,942 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
20 |
1 |
2 |
2.8 |
8.7 |
116,291 |
64,341 |
42,551 |
4,533 |
54,436 |
57,322 |
277 |
3 |
85,102 |
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 |
16 |
3 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
10 |
0 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
458 |
424 |
38 |
22.3 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
15 |
7 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
16 |
5 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
667 |
475 |
222 |
3.0 |
bash |
9 |
no-host |
bin-true |
535 |
418 |
126 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,285 |
1,517 |
1,024 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
804 |
557 |
262 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
809 |
543 |
278 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,819 |
8,884 |
6,336 |
27.5 |
bash |
10 |
no-host |
configure.cpython |
14,877 |
8,954 |
6,340 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
28,411 |
17,368 |
12,889 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,039 |
8,785 |
6,523 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,076 |
8,973 |
6,241 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,773 |
1,531 |
1,279 |
20.4 |
bash |
12 |
no-host |
configure.ocaml |
3,695 |
1,601 |
1,113 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,603 |
2,101 |
1,708 |
20.7 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,776 |
1,622 |
1,195 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,773 |
1,592 |
1,219 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
31 |
17 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
28 |
13 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
201 |
147 |
57 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
24 |
25 |
19.1 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
33 |
15 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,791 |
8,634 |
5,636 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,653 |
9,028 |
6,105 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
30,936 |
20,757 |
11,261 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,201 |
8,620 |
5,780 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,122 |
8,518 |
5,814 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,795 |
1,025 |
777 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,740 |
1,042 |
702 |
24.1 |
dash |
22 |
no-host |
configure.yash |
2,426 |
1,506 |
960 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,798 |
1,034 |
769 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,793 |
1,025 |
772 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
16 |
no-host |
hello-world |
55 |
40 |
15 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
6.0 |
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,524 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,123 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,662 |
0 |
0 |
0 |
8 |
0 |
45 |
13 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,196 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,067 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native-souffle |
1 |
no-host |
bin-true |
103,310 |
0 |
0 |
0 |
8 |
0 |
1,996 |
199 |
bash |
9 |
no-host |
bin-true |
65,469 |
0 |
0 |
0 |
8 |
0 |
1,985 |
54 |
dash |
17 |
no-host |
bin-true |
776,731 |
0 |
0 |
0 |
8 |
0 |
1,999 |
349 |
osh-cpython |
25 |
no-host |
bin-true |
126,249 |
0 |
0 |
0 |
16 |
0 |
1,982 |
50 |
osh-native |
33 |
no-host |
bin-true |
127,264 |
0 |
0 |
0 |
16 |
0 |
1,995 |
150 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,226,269 |
0 |
0 |
0 |
32,928 |
0 |
14,519 |
1,000 |
bash |
10 |
no-host |
configure.cpython |
2,251,343 |
0 |
0 |
0 |
32,992 |
0 |
14,651 |
1,268 |
dash |
18 |
no-host |
configure.cpython |
6,215,062 |
0 |
0 |
0 |
27,512 |
0 |
13,250 |
1,097 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,225,569 |
0 |
0 |
0 |
27,520 |
0 |
13,169 |
1,084 |
osh-native |
34 |
no-host |
configure.cpython |
2,209,462 |
0 |
0 |
0 |
27,520 |
0 |
13,304 |
986 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
409,893 |
0 |
0 |
0 |
5,120 |
0 |
1,953 |
168 |
bash |
12 |
no-host |
configure.ocaml |
391,404 |
0 |
0 |
0 |
5,112 |
0 |
1,934 |
170 |
dash |
20 |
no-host |
configure.ocaml |
647,805 |
1 |
0 |
0 |
5,112 |
0 |
1,850 |
185 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,449 |
0 |
0 |
0 |
5,120 |
0 |
1,932 |
160 |
osh-native |
36 |
no-host |
configure.ocaml |
412,773 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
168 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,552 |
0 |
0 |
0 |
104 |
0 |
49 |
0 |
bash |
13 |
no-host |
configure.tcc |
5,478 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,074 |
0 |
0 |
0 |
96 |
0 |
53 |
4 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,951 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,906 |
0 |
0 |
0 |
104 |
0 |
47 |
5 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,102,450 |
1 |
0 |
0 |
42,400 |
0 |
18,656 |
988 |
bash |
11 |
no-host |
configure.util-linux |
2,259,010 |
1 |
0 |
0 |
42,584 |
0 |
17,428 |
973 |
dash |
19 |
no-host |
configure.util-linux |
5,394,440 |
16 |
0 |
0 |
39,128 |
0 |
16,970 |
1,217 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,995,014 |
0 |
0 |
0 |
39,120 |
0 |
16,999 |
1,149 |
osh-native |
35 |
no-host |
configure.util-linux |
1,991,446 |
0 |
0 |
0 |
39,128 |
0 |
17,050 |
927 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,705 |
0 |
0 |
0 |
4,120 |
0 |
873 |
76 |
bash |
14 |
no-host |
configure.yash |
245,201 |
0 |
0 |
0 |
3,720 |
0 |
868 |
79 |
dash |
22 |
no-host |
configure.yash |
388,442 |
0 |
0 |
0 |
3,728 |
0 |
851 |
91 |
osh-cpython |
30 |
no-host |
configure.yash |
257,500 |
0 |
0 |
0 |
3,736 |
0 |
849 |
70 |
osh-native |
38 |
no-host |
configure.yash |
258,063 |
0 |
0 |
0 |
3,736 |
0 |
846 |
72 |
osh-native-souffle |
0 |
no-host |
hello-world |
154 |
0 |
0 |
0 |
8 |
0 |
1 |
1 |
bash |
8 |
no-host |
hello-world |
83 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,947 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
343 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
339 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host