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 |
471 |
21 |
21 |
25.24 |
1.15 |
bin-true |
no-host |
654 |
525 |
2,339 |
789 |
784 |
3.58 |
1.21 |
configure.cpython |
no-host |
14,611 |
14,694 |
28,793 |
15,028 |
15,025 |
1.97 |
1.03 |
configure.ocaml |
no-host |
3,732 |
3,686 |
4,626 |
3,769 |
3,777 |
1.24 |
1.01 |
configure.tcc |
no-host |
46 |
40 |
205 |
48 |
47 |
4.42 |
1.03 |
configure.util-linux |
no-host |
13,648 |
14,442 |
31,356 |
13,991 |
13,915 |
2.30 |
1.03 |
configure.yash |
no-host |
1,799 |
1,742 |
2,443 |
1,786 |
1,789 |
1.36 |
0.99 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
44.28 |
2.19 |
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,530 |
1,106 |
24,348 |
3,210 |
3,111 |
9.62 |
1.27 |
bin-true |
no-host |
106,375 |
66,452 |
807,696 |
128,062 |
126,168 |
7.59 |
1.20 |
configure.cpython |
no-host |
1,992,108 |
2,025,748 |
6,096,345 |
2,015,743 |
2,009,939 |
3.06 |
1.01 |
configure.ocaml |
no-host |
372,724 |
353,578 |
617,228 |
376,460 |
375,986 |
1.66 |
1.01 |
configure.tcc |
no-host |
6,110 |
4,999 |
24,064 |
6,513 |
6,445 |
3.94 |
1.07 |
configure.util-linux |
no-host |
1,909,863 |
2,077,985 |
5,310,932 |
1,823,838 |
1,807,843 |
2.78 |
0.95 |
configure.yash |
no-host |
233,473 |
221,900 |
369,607 |
235,607 |
234,997 |
1.58 |
1.01 |
hello-world |
no-host |
147 |
77 |
3,976 |
348 |
341 |
27.05 |
2.37 |
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.2 |
3,805 |
3,805 |
0 |
700 |
1,870 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
789 |
1 |
2 |
2.6 |
8.1 |
153,772 |
12,413 |
2,901 |
8,752 |
76,337 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,028 |
1 |
65 |
15.3 |
29.2 |
1,773,763 |
49,828 |
28,526 |
91,505 |
881,465 |
800,793 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,991 |
3 |
63 |
21.6 |
30.4 |
2,704,674 |
53,757 |
65,725 |
114,372 |
1,293,957 |
1,296,345 |
32,241 |
41 |
131,450 |
1 |
configure.ocaml |
no-host |
3,769 |
1 |
2 |
2.6 |
22.5 |
149,788 |
11,154 |
5,221 |
7,733 |
70,844 |
71,211 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.7 |
30,573 |
30,573 |
0 |
1,542 |
14,635 |
14,396 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,786 |
1 |
2 |
2.6 |
26.4 |
139,684 |
8,041 |
6,700 |
6,395 |
68,253 |
65,036 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
9.0 |
116,321 |
64,419 |
42,627 |
4,544 |
54,454 |
57,323 |
277 |
3 |
85,254 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.9 |
3,804 |
3,804 |
0 |
701 |
1,870 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
784 |
1 |
2 |
2.6 |
7.7 |
153,771 |
12,332 |
2,896 |
8,753 |
76,337 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,025 |
1 |
64 |
15.3 |
29.1 |
1,773,762 |
49,823 |
28,521 |
91,506 |
881,465 |
800,791 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,915 |
3 |
63 |
21.6 |
30.3 |
2,704,674 |
53,734 |
65,720 |
114,374 |
1,293,957 |
1,296,343 |
32,241 |
41 |
131,440 |
1 |
configure.ocaml |
no-host |
3,777 |
1 |
2 |
2.6 |
22.6 |
149,788 |
11,149 |
5,216 |
7,735 |
70,844 |
71,209 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.7 |
30,573 |
30,573 |
0 |
1,544 |
14,635 |
14,394 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,789 |
1 |
2 |
2.6 |
26.3 |
139,684 |
8,030 |
6,689 |
6,397 |
68,253 |
65,034 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.8 |
116,320 |
64,414 |
42,622 |
4,545 |
54,454 |
57,321 |
277 |
3 |
85,244 |
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 |
9 |
10 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
471 |
418 |
56 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
21 |
13 |
9 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
12 |
10 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
654 |
299 |
388 |
2.9 |
bash |
9 |
no-host |
bin-true |
525 |
271 |
266 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,339 |
816 |
1,773 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
789 |
299 |
506 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
784 |
322 |
479 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,611 |
6,632 |
8,396 |
29.3 |
bash |
10 |
no-host |
configure.cpython |
14,694 |
6,718 |
8,405 |
29.0 |
dash |
18 |
no-host |
configure.cpython |
28,793 |
14,243 |
16,416 |
29.1 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,028 |
6,569 |
8,753 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
15,025 |
6,562 |
8,598 |
29.1 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,732 |
1,291 |
1,481 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,686 |
1,276 |
1,429 |
22.5 |
dash |
20 |
no-host |
configure.ocaml |
4,626 |
1,882 |
1,959 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,769 |
1,330 |
1,480 |
22.5 |
osh-native |
36 |
no-host |
configure.ocaml |
3,777 |
1,310 |
1,508 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
23 |
24 |
19.6 |
bash |
13 |
no-host |
configure.tcc |
40 |
19 |
22 |
19.5 |
dash |
21 |
no-host |
configure.tcc |
205 |
153 |
55 |
19.5 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
21 |
27 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
23 |
25 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,648 |
5,779 |
8,360 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,442 |
5,871 |
9,087 |
30.2 |
dash |
19 |
no-host |
configure.util-linux |
31,356 |
17,805 |
14,638 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
13,991 |
5,605 |
8,611 |
30.4 |
osh-native |
35 |
no-host |
configure.util-linux |
13,915 |
5,607 |
8,524 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,799 |
879 |
929 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,742 |
890 |
856 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,443 |
1,369 |
1,117 |
26.1 |
osh-cpython |
30 |
no-host |
configure.yash |
1,786 |
894 |
897 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,789 |
890 |
903 |
26.3 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
33 |
23 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.2 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
2 |
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,530 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,106 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,348 |
0 |
0 |
0 |
8 |
0 |
45 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,210 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,111 |
0 |
0 |
0 |
16 |
0 |
39 |
5 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,375 |
0 |
0 |
0 |
8 |
0 |
1,983 |
87 |
bash |
9 |
no-host |
bin-true |
66,452 |
0 |
0 |
0 |
8 |
0 |
1,980 |
74 |
dash |
17 |
no-host |
bin-true |
807,696 |
0 |
0 |
0 |
8 |
0 |
1,976 |
143 |
osh-cpython |
25 |
no-host |
bin-true |
128,062 |
0 |
0 |
0 |
16 |
0 |
1,975 |
95 |
osh-native |
33 |
no-host |
bin-true |
126,168 |
0 |
0 |
0 |
16 |
0 |
1,985 |
196 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,992,108 |
0 |
0 |
0 |
32,928 |
0 |
14,246 |
1,181 |
bash |
10 |
no-host |
configure.cpython |
2,025,748 |
0 |
0 |
0 |
32,992 |
0 |
14,327 |
1,267 |
dash |
18 |
no-host |
configure.cpython |
6,096,345 |
0 |
0 |
0 |
27,512 |
0 |
13,123 |
1,100 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,015,743 |
0 |
0 |
0 |
27,520 |
0 |
13,112 |
1,173 |
osh-native |
34 |
no-host |
configure.cpython |
2,009,939 |
0 |
0 |
0 |
27,520 |
0 |
13,134 |
1,209 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
372,724 |
0 |
0 |
0 |
5,120 |
0 |
1,946 |
213 |
bash |
12 |
no-host |
configure.ocaml |
353,578 |
0 |
0 |
0 |
5,112 |
0 |
1,932 |
166 |
dash |
20 |
no-host |
configure.ocaml |
617,228 |
1 |
0 |
0 |
5,112 |
0 |
1,845 |
187 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,460 |
0 |
0 |
0 |
5,120 |
0 |
1,924 |
195 |
osh-native |
36 |
no-host |
configure.ocaml |
375,986 |
0 |
0 |
0 |
5,120 |
0 |
1,922 |
229 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,110 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
4,999 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,064 |
0 |
0 |
0 |
96 |
0 |
53 |
4 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,513 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,445 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,909,863 |
0 |
0 |
0 |
42,400 |
0 |
18,449 |
1,258 |
bash |
11 |
no-host |
configure.util-linux |
2,077,985 |
0 |
0 |
0 |
42,592 |
0 |
17,328 |
1,340 |
dash |
19 |
no-host |
configure.util-linux |
5,310,932 |
14 |
0 |
0 |
39,112 |
0 |
17,015 |
1,299 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,823,838 |
0 |
0 |
0 |
39,120 |
0 |
17,017 |
1,101 |
osh-native |
35 |
no-host |
configure.util-linux |
1,807,843 |
0 |
0 |
0 |
39,128 |
0 |
17,027 |
1,183 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,473 |
0 |
0 |
0 |
4,120 |
0 |
881 |
85 |
bash |
14 |
no-host |
configure.yash |
221,900 |
0 |
0 |
0 |
3,720 |
0 |
865 |
95 |
dash |
22 |
no-host |
configure.yash |
369,607 |
0 |
0 |
0 |
3,728 |
0 |
854 |
90 |
osh-cpython |
30 |
no-host |
configure.yash |
235,607 |
0 |
0 |
0 |
3,736 |
0 |
849 |
96 |
osh-native |
38 |
no-host |
configure.yash |
234,997 |
0 |
0 |
0 |
3,736 |
0 |
850 |
111 |
osh-native-souffle |
0 |
no-host |
hello-world |
147 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
77 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,976 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
348 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
341 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host