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 |
470 |
21 |
21 |
25.17 |
1.15 |
bin-true |
no-host |
661 |
530 |
2,369 |
796 |
788 |
3.59 |
1.20 |
configure.cpython |
no-host |
14,906 |
14,815 |
29,066 |
15,108 |
15,254 |
1.95 |
1.01 |
configure.ocaml |
no-host |
3,782 |
3,716 |
4,647 |
3,807 |
3,798 |
1.23 |
1.01 |
configure.tcc |
no-host |
46 |
41 |
203 |
51 |
48 |
4.37 |
1.09 |
configure.util-linux |
no-host |
13,725 |
14,581 |
31,704 |
14,283 |
14,110 |
2.31 |
1.04 |
configure.yash |
no-host |
1,797 |
1,745 |
2,516 |
1,808 |
1,803 |
1.40 |
1.01 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
41.92 |
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,510 |
1,112 |
24,123 |
3,189 |
3,074 |
9.61 |
1.27 |
bin-true |
no-host |
105,358 |
65,455 |
806,596 |
129,126 |
126,115 |
7.66 |
1.23 |
configure.cpython |
no-host |
2,000,045 |
2,019,206 |
6,093,548 |
2,005,670 |
2,006,206 |
3.05 |
1.00 |
configure.ocaml |
no-host |
373,212 |
353,926 |
615,116 |
376,722 |
376,003 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,082 |
5,011 |
24,003 |
6,527 |
6,470 |
3.95 |
1.07 |
configure.util-linux |
no-host |
1,914,689 |
2,071,012 |
5,285,375 |
1,815,141 |
1,810,863 |
2.76 |
0.95 |
configure.yash |
no-host |
233,874 |
222,332 |
369,329 |
234,630 |
235,156 |
1.58 |
1.00 |
hello-world |
no-host |
148 |
76 |
3,959 |
344 |
339 |
26.75 |
2.32 |
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,801 |
3,801 |
0 |
699 |
1,869 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
796 |
1 |
2 |
2.6 |
8.3 |
153,768 |
12,333 |
2,897 |
8,751 |
76,336 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,108 |
1 |
67 |
15.3 |
29.2 |
1,773,759 |
49,824 |
28,522 |
91,504 |
881,464 |
800,791 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,283 |
3 |
66 |
21.6 |
30.2 |
2,704,670 |
53,753 |
65,721 |
114,371 |
1,293,956 |
1,296,343 |
32,241 |
41 |
131,442 |
1 |
configure.ocaml |
no-host |
3,807 |
1 |
2 |
2.6 |
22.6 |
149,784 |
11,150 |
5,217 |
7,732 |
70,843 |
71,209 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
51 |
0 |
0 |
1.3 |
19.6 |
30,569 |
30,569 |
0 |
1,541 |
14,634 |
14,394 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,808 |
1 |
2 |
2.6 |
26.4 |
139,680 |
8,037 |
6,696 |
6,393 |
68,252 |
65,035 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
9.2 |
116,317 |
64,415 |
42,623 |
4,543 |
54,453 |
57,321 |
277 |
3 |
85,246 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.9 |
3,800 |
3,800 |
0 |
700 |
1,869 |
1,231 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
788 |
1 |
2 |
2.6 |
7.7 |
153,767 |
12,328 |
2,892 |
8,752 |
76,336 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,254 |
1 |
66 |
15.3 |
29.2 |
1,773,758 |
49,819 |
28,517 |
91,505 |
881,464 |
800,789 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,110 |
4 |
67 |
21.6 |
30.3 |
2,704,670 |
53,736 |
65,716 |
114,373 |
1,293,956 |
1,296,341 |
32,241 |
41 |
131,432 |
1 |
configure.ocaml |
no-host |
3,798 |
1 |
2 |
2.6 |
22.3 |
149,784 |
11,145 |
5,212 |
7,734 |
70,843 |
71,207 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.7 |
30,569 |
30,569 |
0 |
1,543 |
14,634 |
14,392 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,803 |
1 |
2 |
2.6 |
26.3 |
139,680 |
8,032 |
6,691 |
6,395 |
68,252 |
65,033 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.8 |
116,316 |
64,410 |
42,618 |
4,544 |
54,453 |
57,319 |
277 |
3 |
85,236 |
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 |
10 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
3 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
470 |
420 |
53 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
21 |
12 |
10 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
9 |
12 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
661 |
300 |
395 |
3.0 |
bash |
9 |
no-host |
bin-true |
530 |
267 |
275 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,369 |
828 |
1,807 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
796 |
293 |
520 |
8.3 |
osh-native |
33 |
no-host |
bin-true |
788 |
294 |
513 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,906 |
6,754 |
8,569 |
29.1 |
bash |
10 |
no-host |
configure.cpython |
14,815 |
6,818 |
8,435 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
29,066 |
14,436 |
16,563 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,108 |
6,720 |
8,670 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
15,254 |
6,638 |
8,648 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,782 |
1,317 |
1,507 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,716 |
1,340 |
1,398 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,647 |
1,889 |
1,977 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,807 |
1,311 |
1,539 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,798 |
1,321 |
1,517 |
22.3 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
16 |
31 |
19.6 |
bash |
13 |
no-host |
configure.tcc |
41 |
15 |
27 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
203 |
143 |
64 |
19.7 |
osh-cpython |
29 |
no-host |
configure.tcc |
51 |
21 |
31 |
19.6 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
22 |
26 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,725 |
5,896 |
8,330 |
30.2 |
bash |
11 |
no-host |
configure.util-linux |
14,581 |
5,890 |
9,215 |
30.4 |
dash |
19 |
no-host |
configure.util-linux |
31,704 |
18,028 |
14,780 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,283 |
5,739 |
8,770 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
14,110 |
5,661 |
8,673 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,797 |
902 |
904 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,745 |
888 |
861 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,516 |
1,446 |
1,115 |
26.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,808 |
908 |
904 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,803 |
916 |
891 |
26.3 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
16 |
no-host |
hello-world |
56 |
35 |
21 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
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,510 |
0 |
0 |
0 |
16 |
0 |
41 |
5 |
bash |
15 |
no-host |
abuild-print-help |
1,112 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,123 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,189 |
0 |
0 |
0 |
16 |
0 |
38 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,074 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,358 |
0 |
0 |
0 |
8 |
0 |
1,981 |
110 |
bash |
9 |
no-host |
bin-true |
65,455 |
0 |
0 |
0 |
8 |
0 |
1,977 |
80 |
dash |
17 |
no-host |
bin-true |
806,596 |
0 |
0 |
0 |
8 |
0 |
1,981 |
159 |
osh-cpython |
25 |
no-host |
bin-true |
129,126 |
0 |
0 |
0 |
16 |
0 |
1,972 |
85 |
osh-native |
33 |
no-host |
bin-true |
126,115 |
0 |
0 |
0 |
16 |
0 |
1,976 |
119 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,000,045 |
2 |
0 |
0 |
32,928 |
0 |
14,208 |
1,106 |
bash |
10 |
no-host |
configure.cpython |
2,019,206 |
0 |
0 |
0 |
32,992 |
0 |
14,313 |
1,241 |
dash |
18 |
no-host |
configure.cpython |
6,093,548 |
0 |
0 |
0 |
27,512 |
0 |
13,039 |
1,119 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,005,670 |
0 |
0 |
0 |
27,520 |
0 |
13,145 |
1,104 |
osh-native |
34 |
no-host |
configure.cpython |
2,006,206 |
0 |
0 |
0 |
27,520 |
0 |
13,094 |
1,059 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,212 |
0 |
0 |
0 |
5,120 |
0 |
1,941 |
181 |
bash |
12 |
no-host |
configure.ocaml |
353,926 |
0 |
0 |
0 |
5,112 |
0 |
1,934 |
190 |
dash |
20 |
no-host |
configure.ocaml |
615,116 |
1 |
0 |
0 |
5,112 |
0 |
1,852 |
205 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,722 |
0 |
0 |
0 |
5,120 |
0 |
1,922 |
197 |
osh-native |
36 |
no-host |
configure.ocaml |
376,003 |
0 |
0 |
0 |
5,120 |
0 |
1,918 |
216 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,082 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,011 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
24,003 |
0 |
0 |
0 |
96 |
0 |
53 |
3 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,527 |
0 |
0 |
0 |
104 |
0 |
47 |
9 |
osh-native |
37 |
no-host |
configure.tcc |
6,470 |
0 |
0 |
0 |
104 |
0 |
46 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,914,689 |
1 |
0 |
0 |
42,400 |
0 |
18,354 |
1,112 |
bash |
11 |
no-host |
configure.util-linux |
2,071,012 |
0 |
0 |
0 |
42,584 |
0 |
17,047 |
1,462 |
dash |
19 |
no-host |
configure.util-linux |
5,285,375 |
12 |
0 |
0 |
39,112 |
0 |
17,039 |
1,244 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,815,141 |
0 |
0 |
0 |
39,128 |
0 |
17,007 |
1,182 |
osh-native |
35 |
no-host |
configure.util-linux |
1,810,863 |
1 |
0 |
0 |
39,136 |
0 |
16,955 |
1,148 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,874 |
0 |
0 |
0 |
4,120 |
0 |
870 |
97 |
bash |
14 |
no-host |
configure.yash |
222,332 |
0 |
0 |
0 |
3,720 |
0 |
870 |
86 |
dash |
22 |
no-host |
configure.yash |
369,329 |
0 |
0 |
0 |
3,728 |
0 |
853 |
95 |
osh-cpython |
30 |
no-host |
configure.yash |
234,630 |
0 |
0 |
0 |
3,736 |
0 |
849 |
96 |
osh-native |
38 |
no-host |
configure.yash |
235,156 |
0 |
0 |
0 |
3,736 |
0 |
847 |
79 |
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,959 |
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 |
339 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host