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 |
20 |
10 |
473 |
22 |
21 |
24.17 |
1.15 |
bin-true |
no-host |
676 |
543 |
2,279 |
826 |
814 |
3.37 |
1.22 |
configure.cpython |
no-host |
15,598 |
15,209 |
29,481 |
15,820 |
15,682 |
1.89 |
1.01 |
configure.ocaml |
no-host |
3,885 |
3,766 |
4,835 |
3,946 |
3,812 |
1.24 |
1.02 |
configure.tcc |
no-host |
48 |
41 |
220 |
52 |
48 |
4.54 |
1.07 |
configure.util-linux |
no-host |
14,475 |
15,110 |
32,468 |
15,133 |
14,527 |
2.24 |
1.05 |
configure.yash |
no-host |
1,859 |
1,780 |
2,569 |
1,894 |
1,809 |
1.38 |
1.02 |
hello-world |
no-host |
2 |
1 |
57 |
3 |
3 |
36.77 |
1.90 |
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,131 |
23,426 |
3,173 |
3,089 |
9.23 |
1.25 |
bin-true |
no-host |
108,387 |
66,444 |
759,933 |
127,147 |
124,143 |
7.01 |
1.17 |
configure.cpython |
no-host |
2,227,638 |
2,241,528 |
6,198,889 |
2,222,116 |
2,217,794 |
2.78 |
1.00 |
configure.ocaml |
no-host |
410,242 |
391,209 |
643,245 |
412,940 |
413,016 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,571 |
5,476 |
23,918 |
6,957 |
6,897 |
3.64 |
1.06 |
configure.util-linux |
no-host |
2,100,229 |
2,256,484 |
5,369,841 |
2,004,579 |
1,997,437 |
2.56 |
0.95 |
configure.yash |
no-host |
256,173 |
245,155 |
386,592 |
257,150 |
257,888 |
1.51 |
1.00 |
hello-world |
no-host |
151 |
79 |
3,950 |
342 |
340 |
26.16 |
2.26 |
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.0 |
3,793 |
3,793 |
0 |
694 |
1,865 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
826 |
1 |
2 |
2.6 |
8.1 |
153,757 |
12,333 |
2,898 |
8,743 |
76,329 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,820 |
1 |
68 |
14.9 |
27.5 |
1,771,804 |
49,616 |
28,523 |
85,427 |
878,138 |
808,239 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
15,133 |
3 |
67 |
21.2 |
30.1 |
2,702,659 |
53,777 |
65,702 |
108,729 |
1,290,691 |
1,303,239 |
32,244 |
41 |
131,404 |
1 |
configure.ocaml |
no-host |
3,946 |
1 |
2 |
2.6 |
20.6 |
150,091 |
11,123 |
5,218 |
7,508 |
70,976 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
52 |
0 |
0 |
1.3 |
19.4 |
30,597 |
30,597 |
0 |
1,518 |
14,648 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,894 |
1 |
2 |
2.5 |
24.4 |
139,423 |
8,035 |
6,697 |
5,989 |
67,949 |
65,485 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
116,303 |
64,414 |
42,624 |
4,532 |
54,443 |
57,328 |
277 |
3 |
85,248 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,792 |
3,792 |
0 |
695 |
1,865 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
814 |
1 |
2 |
2.6 |
7.6 |
153,756 |
12,122 |
2,836 |
8,744 |
76,329 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,682 |
2 |
63 |
14.9 |
27.5 |
1,771,803 |
49,074 |
28,461 |
85,428 |
878,138 |
808,237 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,527 |
3 |
62 |
21.2 |
30.1 |
2,702,550 |
53,704 |
65,640 |
108,701 |
1,290,655 |
1,303,194 |
32,241 |
41 |
131,280 |
1 |
configure.ocaml |
no-host |
3,812 |
1 |
2 |
2.6 |
20.6 |
150,091 |
11,061 |
5,156 |
7,510 |
70,976 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,597 |
30,597 |
0 |
1,520 |
14,648 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,809 |
1 |
2 |
2.5 |
24.2 |
139,423 |
7,973 |
6,635 |
5,991 |
67,949 |
65,483 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,302 |
64,352 |
42,562 |
4,533 |
54,443 |
57,326 |
277 |
3 |
85,124 |
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 |
20 |
17 |
3 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
8 |
2 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
473 |
434 |
43 |
22.5 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
20 |
3 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
15 |
6 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
676 |
503 |
206 |
2.9 |
bash |
9 |
no-host |
bin-true |
543 |
416 |
137 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,279 |
1,463 |
1,075 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
826 |
565 |
275 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
814 |
589 |
240 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,598 |
9,275 |
6,733 |
27.3 |
bash |
10 |
no-host |
configure.cpython |
15,209 |
9,133 |
6,502 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,481 |
17,860 |
13,522 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,820 |
9,566 |
6,523 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,682 |
9,078 |
6,731 |
27.5 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,885 |
1,722 |
1,199 |
20.4 |
bash |
12 |
no-host |
configure.ocaml |
3,766 |
1,561 |
1,220 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,835 |
2,365 |
1,689 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,946 |
1,676 |
1,309 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,812 |
1,612 |
1,236 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
30 |
18 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
18 |
24 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
220 |
156 |
67 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
52 |
37 |
15 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
35 |
14 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,475 |
9,052 |
5,897 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
15,110 |
9,254 |
6,359 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
32,468 |
21,431 |
12,139 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
15,133 |
9,175 |
6,161 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,527 |
8,687 |
6,035 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,859 |
1,045 |
823 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,780 |
1,062 |
722 |
24.5 |
dash |
22 |
no-host |
configure.yash |
2,569 |
1,614 |
998 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,894 |
1,175 |
722 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,809 |
1,030 |
783 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
57 |
33 |
24 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.0 |
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,538 |
0 |
0 |
0 |
16 |
0 |
42 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,131 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,426 |
0 |
0 |
0 |
8 |
0 |
45 |
12 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,173 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,089 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
108,387 |
0 |
0 |
0 |
8 |
0 |
1,990 |
106 |
bash |
9 |
no-host |
bin-true |
66,444 |
0 |
0 |
0 |
8 |
0 |
1,977 |
43 |
dash |
17 |
no-host |
bin-true |
759,933 |
0 |
0 |
0 |
8 |
0 |
1,996 |
260 |
osh-cpython |
25 |
no-host |
bin-true |
127,147 |
0 |
0 |
0 |
16 |
0 |
1,995 |
80 |
osh-native |
33 |
no-host |
bin-true |
124,143 |
0 |
0 |
0 |
16 |
0 |
1,990 |
56 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,227,638 |
2 |
0 |
0 |
32,928 |
0 |
14,480 |
1,241 |
bash |
10 |
no-host |
configure.cpython |
2,241,528 |
0 |
0 |
0 |
32,992 |
0 |
14,605 |
1,010 |
dash |
18 |
no-host |
configure.cpython |
6,198,889 |
0 |
0 |
0 |
27,512 |
0 |
13,242 |
1,079 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,222,116 |
0 |
0 |
0 |
27,520 |
0 |
13,230 |
1,092 |
osh-native |
34 |
no-host |
configure.cpython |
2,217,794 |
0 |
0 |
0 |
27,520 |
0 |
13,208 |
1,058 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,242 |
0 |
0 |
0 |
5,120 |
0 |
1,952 |
156 |
bash |
12 |
no-host |
configure.ocaml |
391,209 |
0 |
0 |
0 |
5,112 |
0 |
1,945 |
157 |
dash |
20 |
no-host |
configure.ocaml |
643,245 |
0 |
0 |
0 |
5,112 |
0 |
1,865 |
176 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,940 |
0 |
0 |
0 |
5,120 |
0 |
1,924 |
169 |
osh-native |
36 |
no-host |
configure.ocaml |
413,016 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
155 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,571 |
0 |
0 |
0 |
104 |
0 |
49 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,476 |
0 |
0 |
0 |
96 |
0 |
46 |
1 |
dash |
21 |
no-host |
configure.tcc |
23,918 |
0 |
0 |
0 |
96 |
0 |
53 |
11 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,957 |
0 |
0 |
0 |
104 |
0 |
47 |
11 |
osh-native |
37 |
no-host |
configure.tcc |
6,897 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,100,229 |
0 |
0 |
0 |
42,400 |
0 |
18,571 |
1,105 |
bash |
11 |
no-host |
configure.util-linux |
2,256,484 |
1 |
0 |
0 |
42,584 |
0 |
17,427 |
1,053 |
dash |
19 |
no-host |
configure.util-linux |
5,369,841 |
11 |
0 |
0 |
39,152 |
0 |
16,982 |
1,230 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,004,579 |
0 |
0 |
0 |
39,144 |
0 |
16,988 |
951 |
osh-native |
35 |
no-host |
configure.util-linux |
1,997,437 |
0 |
0 |
0 |
39,136 |
0 |
16,965 |
951 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,173 |
0 |
0 |
0 |
4,120 |
0 |
874 |
80 |
bash |
14 |
no-host |
configure.yash |
245,155 |
0 |
0 |
0 |
3,720 |
0 |
874 |
138 |
dash |
22 |
no-host |
configure.yash |
386,592 |
0 |
0 |
0 |
3,728 |
0 |
853 |
83 |
osh-cpython |
30 |
no-host |
configure.yash |
257,150 |
0 |
0 |
0 |
3,736 |
0 |
849 |
79 |
osh-native |
38 |
no-host |
configure.yash |
257,888 |
0 |
0 |
0 |
3,736 |
0 |
848 |
81 |
osh-native-souffle |
0 |
no-host |
hello-world |
151 |
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,950 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
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