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 |
487 |
23 |
21 |
25.14 |
1.18 |
bin-true |
no-host |
666 |
542 |
2,516 |
812 |
804 |
3.78 |
1.22 |
configure.cpython |
no-host |
15,274 |
15,476 |
30,946 |
15,676 |
15,619 |
2.03 |
1.03 |
configure.ocaml |
no-host |
3,953 |
3,832 |
4,867 |
3,872 |
3,847 |
1.23 |
0.98 |
configure.tcc |
no-host |
50 |
44 |
215 |
49 |
49 |
4.33 |
0.99 |
configure.util-linux |
no-host |
14,311 |
15,049 |
33,834 |
14,743 |
14,484 |
2.36 |
1.03 |
configure.yash |
no-host |
1,889 |
1,818 |
2,581 |
1,867 |
1,850 |
1.37 |
0.99 |
hello-world |
no-host |
1 |
1 |
60 |
3 |
3 |
42.62 |
2.06 |
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,523 |
1,092 |
24,321 |
3,206 |
3,094 |
9.64 |
1.27 |
bin-true |
no-host |
104,365 |
65,505 |
811,499 |
128,231 |
126,116 |
7.78 |
1.23 |
configure.cpython |
no-host |
2,002,444 |
2,024,179 |
6,120,270 |
2,012,323 |
2,001,546 |
3.06 |
1.00 |
configure.ocaml |
no-host |
373,695 |
353,769 |
615,983 |
376,654 |
376,198 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,081 |
5,006 |
24,073 |
6,493 |
6,434 |
3.96 |
1.07 |
configure.util-linux |
no-host |
1,910,090 |
2,071,250 |
5,295,221 |
1,814,576 |
1,811,076 |
2.77 |
0.95 |
configure.yash |
no-host |
233,816 |
221,853 |
369,001 |
235,565 |
234,733 |
1.58 |
1.01 |
hello-world |
no-host |
148 |
76 |
3,971 |
345 |
340 |
26.83 |
2.33 |
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.3 |
3,805 |
3,805 |
0 |
699 |
1,871 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
812 |
1 |
2 |
2.6 |
8.1 |
153,772 |
12,413 |
2,901 |
8,751 |
76,338 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,676 |
2 |
71 |
15.3 |
29.1 |
1,773,763 |
49,828 |
28,526 |
91,504 |
881,466 |
800,793 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,743 |
3 |
70 |
21.6 |
30.3 |
2,704,674 |
53,757 |
65,705 |
114,371 |
1,293,958 |
1,296,345 |
32,241 |
41 |
131,410 |
1 |
configure.ocaml |
no-host |
3,872 |
1 |
2 |
2.6 |
22.5 |
149,788 |
11,154 |
5,221 |
7,732 |
70,845 |
71,211 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.7 |
30,573 |
30,573 |
0 |
1,541 |
14,636 |
14,396 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,867 |
1 |
2 |
2.6 |
26.4 |
139,684 |
8,041 |
6,700 |
6,393 |
68,254 |
65,037 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
9.0 |
116,321 |
64,419 |
42,627 |
4,543 |
54,455 |
57,323 |
277 |
3 |
85,254 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.9 |
3,804 |
3,804 |
0 |
700 |
1,871 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
804 |
1 |
2 |
2.6 |
7.7 |
153,771 |
12,332 |
2,896 |
8,752 |
76,338 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,619 |
2 |
71 |
15.3 |
29.1 |
1,773,762 |
49,823 |
28,521 |
91,505 |
881,466 |
800,791 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,484 |
3 |
70 |
21.6 |
30.3 |
2,704,674 |
53,734 |
65,700 |
114,373 |
1,293,958 |
1,296,343 |
32,241 |
41 |
131,400 |
1 |
configure.ocaml |
no-host |
3,847 |
1 |
2 |
2.6 |
22.6 |
149,788 |
11,149 |
5,216 |
7,734 |
70,845 |
71,209 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.8 |
30,573 |
30,573 |
0 |
1,543 |
14,636 |
14,394 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,850 |
1 |
2 |
2.6 |
26.4 |
139,684 |
8,030 |
6,689 |
6,395 |
68,254 |
65,035 |
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,544 |
54,455 |
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 |
11 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
3 |
7 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
487 |
424 |
67 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
16 |
8 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
12 |
10 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
666 |
318 |
381 |
2.9 |
bash |
9 |
no-host |
bin-true |
542 |
275 |
280 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,516 |
852 |
1,948 |
18.7 |
osh-cpython |
25 |
no-host |
bin-true |
812 |
299 |
530 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
804 |
294 |
526 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,274 |
6,953 |
8,756 |
29.3 |
bash |
10 |
no-host |
configure.cpython |
15,476 |
6,852 |
9,089 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
30,946 |
15,708 |
17,308 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,676 |
6,870 |
9,111 |
29.1 |
osh-native |
34 |
no-host |
configure.cpython |
15,619 |
6,698 |
9,048 |
29.1 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,953 |
1,428 |
1,563 |
22.5 |
bash |
12 |
no-host |
configure.ocaml |
3,832 |
1,334 |
1,521 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,867 |
1,989 |
2,116 |
22.5 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,872 |
1,351 |
1,563 |
22.5 |
osh-native |
36 |
no-host |
configure.ocaml |
3,847 |
1,353 |
1,534 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
50 |
21 |
29 |
19.6 |
bash |
13 |
no-host |
configure.tcc |
44 |
25 |
20 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
215 |
147 |
72 |
19.7 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
17 |
32 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
24 |
25 |
19.8 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,311 |
6,020 |
8,812 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
15,049 |
6,125 |
9,467 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
33,834 |
19,303 |
15,740 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,743 |
5,757 |
9,217 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,484 |
5,772 |
8,940 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,889 |
962 |
937 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,818 |
888 |
935 |
26.5 |
dash |
22 |
no-host |
configure.yash |
2,581 |
1,428 |
1,199 |
26.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,867 |
940 |
932 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,850 |
915 |
940 |
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.4 |
dash |
16 |
no-host |
hello-world |
60 |
41 |
19 |
18.5 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
2 |
6.3 |
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,523 |
0 |
0 |
0 |
16 |
0 |
40 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,092 |
0 |
0 |
0 |
8 |
0 |
38 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,321 |
0 |
0 |
0 |
8 |
0 |
45 |
5 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,206 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,094 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,365 |
0 |
0 |
0 |
8 |
0 |
1,984 |
143 |
bash |
9 |
no-host |
bin-true |
65,505 |
0 |
0 |
0 |
8 |
0 |
1,970 |
60 |
dash |
17 |
no-host |
bin-true |
811,499 |
0 |
0 |
0 |
8 |
0 |
1,985 |
281 |
osh-cpython |
25 |
no-host |
bin-true |
128,231 |
0 |
0 |
0 |
16 |
0 |
1,972 |
122 |
osh-native |
33 |
no-host |
bin-true |
126,116 |
0 |
0 |
0 |
16 |
0 |
1,966 |
96 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,002,444 |
1 |
0 |
0 |
32,928 |
0 |
14,228 |
1,133 |
bash |
10 |
no-host |
configure.cpython |
2,024,179 |
1 |
0 |
0 |
32,992 |
0 |
14,334 |
1,212 |
dash |
18 |
no-host |
configure.cpython |
6,120,270 |
0 |
0 |
0 |
27,512 |
0 |
13,070 |
1,150 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,012,323 |
0 |
0 |
0 |
27,520 |
0 |
13,084 |
999 |
osh-native |
34 |
no-host |
configure.cpython |
2,001,546 |
3 |
0 |
0 |
27,520 |
0 |
13,109 |
1,016 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,695 |
0 |
0 |
0 |
5,120 |
0 |
1,955 |
176 |
bash |
12 |
no-host |
configure.ocaml |
353,769 |
0 |
0 |
0 |
5,112 |
0 |
1,943 |
175 |
dash |
20 |
no-host |
configure.ocaml |
615,983 |
0 |
0 |
0 |
5,112 |
0 |
1,853 |
176 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,654 |
0 |
0 |
0 |
5,120 |
0 |
1,922 |
209 |
osh-native |
36 |
no-host |
configure.ocaml |
376,198 |
0 |
0 |
0 |
5,120 |
0 |
1,932 |
195 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,081 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,006 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,073 |
0 |
0 |
0 |
96 |
0 |
53 |
4 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,493 |
0 |
0 |
0 |
104 |
0 |
47 |
6 |
osh-native |
37 |
no-host |
configure.tcc |
6,434 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,910,090 |
0 |
0 |
0 |
42,400 |
0 |
18,542 |
1,224 |
bash |
11 |
no-host |
configure.util-linux |
2,071,250 |
0 |
0 |
0 |
42,584 |
0 |
17,329 |
1,333 |
dash |
19 |
no-host |
configure.util-linux |
5,295,221 |
3 |
0 |
0 |
39,120 |
0 |
16,993 |
1,266 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,814,576 |
1 |
0 |
0 |
39,128 |
0 |
17,005 |
1,151 |
osh-native |
35 |
no-host |
configure.util-linux |
1,811,076 |
0 |
0 |
0 |
39,136 |
0 |
16,977 |
1,175 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,816 |
0 |
0 |
0 |
4,120 |
0 |
870 |
77 |
bash |
14 |
no-host |
configure.yash |
221,853 |
0 |
0 |
0 |
3,720 |
0 |
868 |
77 |
dash |
22 |
no-host |
configure.yash |
369,001 |
0 |
0 |
0 |
3,728 |
0 |
853 |
69 |
osh-cpython |
30 |
no-host |
configure.yash |
235,565 |
0 |
0 |
0 |
3,736 |
0 |
850 |
87 |
osh-native |
38 |
no-host |
configure.yash |
234,733 |
0 |
0 |
0 |
3,736 |
0 |
851 |
84 |
osh-native-souffle |
0 |
no-host |
hello-world |
148 |
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,971 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
340 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host