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 |
23 |
9 |
480 |
21 |
21 |
20.86 |
0.93 |
bin-true |
no-host |
660 |
531 |
2,355 |
795 |
799 |
3.57 |
1.20 |
configure.cpython |
no-host |
14,813 |
15,008 |
29,348 |
15,187 |
15,202 |
1.98 |
1.03 |
configure.ocaml |
no-host |
3,811 |
3,740 |
4,716 |
3,807 |
3,831 |
1.24 |
1.00 |
configure.tcc |
no-host |
47 |
44 |
205 |
48 |
48 |
4.37 |
1.02 |
configure.util-linux |
no-host |
13,818 |
14,798 |
32,123 |
14,225 |
14,263 |
2.32 |
1.03 |
configure.yash |
no-host |
1,812 |
1,789 |
2,500 |
1,810 |
1,841 |
1.38 |
1.00 |
hello-world |
no-host |
1 |
1 |
57 |
3 |
3 |
41.01 |
2.02 |
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,538 |
1,094 |
23,948 |
3,148 |
3,091 |
9.44 |
1.24 |
bin-true |
no-host |
105,318 |
66,392 |
775,367 |
126,180 |
128,127 |
7.36 |
1.20 |
configure.cpython |
no-host |
1,996,764 |
2,018,258 |
6,034,181 |
2,021,121 |
1,997,441 |
3.02 |
1.01 |
configure.ocaml |
no-host |
373,206 |
353,656 |
612,092 |
376,275 |
376,449 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,097 |
5,027 |
23,683 |
6,509 |
6,435 |
3.88 |
1.07 |
configure.util-linux |
no-host |
1,904,475 |
2,067,784 |
5,227,376 |
1,813,809 |
1,810,634 |
2.74 |
0.95 |
configure.yash |
no-host |
233,290 |
222,346 |
366,936 |
235,708 |
234,308 |
1.57 |
1.01 |
hello-world |
no-host |
149 |
79 |
3,959 |
342 |
334 |
26.57 |
2.30 |
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 |
795 |
1 |
2 |
2.6 |
8.1 |
153,766 |
12,331 |
2,895 |
8,751 |
76,334 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,187 |
1 |
66 |
15.3 |
29.2 |
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,225 |
3 |
67 |
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,807 |
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 |
48 |
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,810 |
1 |
2 |
2.6 |
26.2 |
139,678 |
8,035 |
6,694 |
6,393 |
68,250 |
65,035 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
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 |
799 |
1 |
2 |
2.6 |
7.9 |
153,765 |
12,326 |
2,890 |
8,752 |
76,334 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,202 |
1 |
66 |
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,263 |
3 |
68 |
21.6 |
30.2 |
2,704,668 |
53,734 |
65,694 |
114,373 |
1,293,954 |
1,296,341 |
32,241 |
41 |
131,388 |
1 |
configure.ocaml |
no-host |
3,831 |
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,841 |
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 |
21 |
1 |
2 |
2.8 |
8.5 |
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 |
23 |
11 |
12 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
480 |
432 |
52 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
21 |
13 |
9 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
11 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
660 |
315 |
377 |
3.0 |
bash |
9 |
no-host |
bin-true |
531 |
267 |
275 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,355 |
771 |
1,853 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
795 |
290 |
520 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
799 |
305 |
511 |
7.9 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,813 |
6,677 |
8,552 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
15,008 |
6,773 |
8,592 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
29,348 |
14,527 |
16,827 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,187 |
6,700 |
8,777 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
15,202 |
6,649 |
8,723 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,811 |
1,293 |
1,551 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,740 |
1,308 |
1,454 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,716 |
1,911 |
2,028 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,807 |
1,291 |
1,557 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,831 |
1,325 |
1,546 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
24 |
23 |
19.5 |
bash |
13 |
no-host |
configure.tcc |
44 |
26 |
18 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
205 |
144 |
65 |
19.8 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
24 |
24 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
19 |
30 |
19.5 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,818 |
5,853 |
8,458 |
30.2 |
bash |
11 |
no-host |
configure.util-linux |
14,798 |
6,020 |
9,307 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
32,123 |
18,300 |
14,977 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,225 |
5,728 |
8,717 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
14,263 |
5,738 |
8,745 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,812 |
910 |
913 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,789 |
923 |
871 |
26.3 |
dash |
22 |
no-host |
configure.yash |
2,500 |
1,387 |
1,160 |
26.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,810 |
911 |
905 |
26.2 |
osh-native |
38 |
no-host |
configure.yash |
1,841 |
951 |
895 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
16 |
no-host |
hello-world |
57 |
32 |
25 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
2 |
1 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,538 |
0 |
0 |
0 |
16 |
0 |
40 |
15 |
bash |
15 |
no-host |
abuild-print-help |
1,094 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,948 |
0 |
0 |
0 |
8 |
0 |
45 |
3 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,148 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,091 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,318 |
0 |
0 |
0 |
8 |
0 |
1,988 |
147 |
bash |
9 |
no-host |
bin-true |
66,392 |
0 |
0 |
0 |
8 |
0 |
1,982 |
97 |
dash |
17 |
no-host |
bin-true |
775,367 |
0 |
0 |
0 |
8 |
0 |
1,999 |
529 |
osh-cpython |
25 |
no-host |
bin-true |
126,180 |
0 |
0 |
0 |
16 |
0 |
1,982 |
300 |
osh-native |
33 |
no-host |
bin-true |
128,127 |
0 |
0 |
0 |
16 |
0 |
1,976 |
99 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,996,764 |
0 |
0 |
0 |
32,928 |
0 |
14,222 |
1,301 |
bash |
10 |
no-host |
configure.cpython |
2,018,258 |
0 |
0 |
0 |
32,992 |
0 |
14,326 |
1,241 |
dash |
18 |
no-host |
configure.cpython |
6,034,181 |
1 |
0 |
0 |
27,512 |
0 |
13,038 |
1,181 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,021,121 |
0 |
0 |
0 |
27,520 |
0 |
13,177 |
1,193 |
osh-native |
34 |
no-host |
configure.cpython |
1,997,441 |
0 |
0 |
0 |
27,520 |
0 |
13,088 |
1,087 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,206 |
0 |
0 |
0 |
5,120 |
0 |
1,955 |
168 |
bash |
12 |
no-host |
configure.ocaml |
353,656 |
0 |
0 |
0 |
5,112 |
0 |
1,933 |
171 |
dash |
20 |
no-host |
configure.ocaml |
612,092 |
0 |
0 |
0 |
5,112 |
0 |
1,853 |
213 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,275 |
0 |
0 |
0 |
5,120 |
0 |
1,924 |
202 |
osh-native |
36 |
no-host |
configure.ocaml |
376,449 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
193 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,097 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,027 |
0 |
0 |
0 |
96 |
0 |
45 |
3 |
dash |
21 |
no-host |
configure.tcc |
23,683 |
0 |
0 |
0 |
96 |
0 |
53 |
6 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,509 |
0 |
0 |
0 |
104 |
0 |
47 |
15 |
osh-native |
37 |
no-host |
configure.tcc |
6,435 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,904,475 |
1 |
0 |
0 |
42,400 |
0 |
18,399 |
1,279 |
bash |
11 |
no-host |
configure.util-linux |
2,067,784 |
0 |
0 |
0 |
42,584 |
0 |
17,301 |
1,400 |
dash |
19 |
no-host |
configure.util-linux |
5,227,376 |
9 |
0 |
0 |
39,112 |
0 |
17,034 |
1,331 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,813,809 |
1 |
0 |
0 |
39,120 |
0 |
17,078 |
1,240 |
osh-native |
35 |
no-host |
configure.util-linux |
1,810,634 |
0 |
0 |
0 |
39,136 |
0 |
16,960 |
1,168 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,290 |
0 |
0 |
0 |
4,120 |
0 |
869 |
106 |
bash |
14 |
no-host |
configure.yash |
222,346 |
0 |
0 |
0 |
3,728 |
0 |
863 |
92 |
dash |
22 |
no-host |
configure.yash |
366,936 |
0 |
0 |
0 |
3,728 |
0 |
852 |
59 |
osh-cpython |
30 |
no-host |
configure.yash |
235,708 |
0 |
0 |
0 |
3,736 |
0 |
849 |
87 |
osh-native |
38 |
no-host |
configure.yash |
234,308 |
0 |
0 |
0 |
3,736 |
0 |
850 |
109 |
osh-native-souffle |
0 |
no-host |
hello-world |
149 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
79 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,959 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
334 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host