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 |
10 |
464 |
22 |
21 |
24.59 |
1.17 |
bin-true |
no-host |
672 |
544 |
2,325 |
811 |
810 |
3.46 |
1.21 |
configure.cpython |
no-host |
15,022 |
15,387 |
29,346 |
15,291 |
15,649 |
1.95 |
1.02 |
configure.ocaml |
no-host |
3,843 |
3,809 |
4,651 |
3,878 |
3,964 |
1.21 |
1.01 |
configure.tcc |
no-host |
49 |
43 |
203 |
50 |
50 |
4.16 |
1.02 |
configure.util-linux |
no-host |
14,243 |
14,930 |
31,647 |
14,446 |
14,916 |
2.22 |
1.01 |
configure.yash |
no-host |
1,831 |
1,777 |
2,468 |
1,841 |
1,879 |
1.35 |
1.01 |
hello-world |
no-host |
2 |
1 |
59 |
3 |
3 |
34.71 |
1.70 |
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,524 |
1,107 |
23,580 |
3,159 |
3,094 |
9.34 |
1.25 |
bin-true |
no-host |
104,368 |
65,461 |
766,761 |
125,153 |
126,162 |
7.35 |
1.20 |
configure.cpython |
no-host |
2,219,444 |
2,240,464 |
6,191,591 |
2,216,815 |
2,207,813 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,391 |
391,049 |
643,599 |
413,077 |
412,344 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,602 |
5,469 |
24,011 |
6,953 |
6,919 |
3.64 |
1.05 |
configure.util-linux |
no-host |
2,096,048 |
2,262,893 |
5,348,814 |
2,000,861 |
1,995,350 |
2.55 |
0.95 |
configure.yash |
no-host |
256,788 |
244,074 |
386,718 |
258,136 |
257,212 |
1.51 |
1.01 |
hello-world |
no-host |
150 |
83 |
3,954 |
346 |
338 |
26.36 |
2.31 |
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.3 |
3,793 |
3,793 |
0 |
694 |
1,865 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
811 |
1 |
2 |
2.6 |
8.0 |
153,757 |
12,333 |
2,898 |
8,743 |
76,329 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,291 |
1 |
61 |
14.9 |
27.3 |
1,771,758 |
49,616 |
28,523 |
85,415 |
878,122 |
808,221 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,446 |
3 |
61 |
21.2 |
30.0 |
2,702,524 |
45,811 |
65,722 |
108,691 |
1,290,647 |
1,303,186 |
32,239 |
41 |
131,444 |
1 |
configure.ocaml |
no-host |
3,878 |
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 |
50 |
0 |
0 |
1.3 |
19.3 |
30,597 |
30,597 |
0 |
1,518 |
14,648 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,841 |
1 |
2 |
2.5 |
24.5 |
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 |
8.9 |
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 |
810 |
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,649 |
1 |
63 |
14.9 |
27.5 |
1,771,757 |
49,074 |
28,461 |
85,416 |
878,122 |
808,219 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,916 |
3 |
66 |
21.2 |
30.0 |
2,702,524 |
53,704 |
65,640 |
108,693 |
1,290,647 |
1,303,184 |
32,239 |
41 |
131,280 |
1 |
configure.ocaml |
no-host |
3,964 |
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 |
50 |
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,879 |
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.5 |
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 |
19 |
14 |
5 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
8 |
1 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
464 |
413 |
53 |
22.8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
20 |
3 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
20 |
2 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
672 |
499 |
204 |
2.9 |
bash |
9 |
no-host |
bin-true |
544 |
418 |
136 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,325 |
1,525 |
1,067 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
811 |
570 |
256 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
810 |
590 |
233 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,022 |
8,880 |
6,539 |
27.5 |
bash |
10 |
no-host |
configure.cpython |
15,387 |
9,388 |
6,419 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,346 |
17,948 |
13,321 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,291 |
9,072 |
6,486 |
27.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,649 |
9,137 |
6,650 |
27.5 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,843 |
1,683 |
1,196 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,809 |
1,630 |
1,193 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,651 |
2,144 |
1,720 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,878 |
1,641 |
1,274 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,964 |
1,718 |
1,281 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
37 |
12 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
43 |
26 |
17 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
203 |
126 |
80 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
34 |
16 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
50 |
29 |
22 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,243 |
8,975 |
5,741 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,930 |
9,136 |
6,299 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,647 |
21,029 |
11,725 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,446 |
8,787 |
5,844 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
14,916 |
8,919 |
6,189 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,831 |
1,043 |
795 |
24.5 |
bash |
14 |
no-host |
configure.yash |
1,777 |
1,045 |
735 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,468 |
1,564 |
946 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,841 |
1,010 |
835 |
24.5 |
osh-native |
38 |
no-host |
configure.yash |
1,879 |
1,106 |
778 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
59 |
28 |
31 |
18.0 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
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,524 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,107 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,580 |
0 |
0 |
0 |
8 |
0 |
45 |
5 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,159 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,094 |
0 |
0 |
0 |
16 |
0 |
38 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,368 |
0 |
0 |
0 |
8 |
0 |
1,996 |
153 |
bash |
9 |
no-host |
bin-true |
65,461 |
0 |
0 |
0 |
8 |
0 |
1,985 |
42 |
dash |
17 |
no-host |
bin-true |
766,761 |
0 |
0 |
0 |
8 |
0 |
2,006 |
429 |
osh-cpython |
25 |
no-host |
bin-true |
125,153 |
0 |
0 |
0 |
16 |
0 |
1,983 |
63 |
osh-native |
33 |
no-host |
bin-true |
126,162 |
0 |
0 |
0 |
16 |
0 |
1,994 |
45 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,219,444 |
0 |
0 |
0 |
32,928 |
0 |
14,561 |
917 |
bash |
10 |
no-host |
configure.cpython |
2,240,464 |
0 |
0 |
0 |
32,992 |
0 |
14,682 |
1,077 |
dash |
18 |
no-host |
configure.cpython |
6,191,591 |
0 |
0 |
0 |
27,512 |
0 |
13,233 |
1,175 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,216,815 |
0 |
0 |
0 |
27,520 |
0 |
13,230 |
1,108 |
osh-native |
34 |
no-host |
configure.cpython |
2,207,813 |
0 |
0 |
0 |
27,520 |
0 |
13,247 |
903 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,391 |
0 |
0 |
0 |
5,120 |
0 |
1,947 |
173 |
bash |
12 |
no-host |
configure.ocaml |
391,049 |
0 |
0 |
0 |
5,112 |
0 |
1,886 |
144 |
dash |
20 |
no-host |
configure.ocaml |
643,599 |
1 |
0 |
0 |
5,112 |
0 |
1,857 |
182 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,077 |
0 |
0 |
0 |
5,120 |
0 |
1,932 |
176 |
osh-native |
36 |
no-host |
configure.ocaml |
412,344 |
0 |
0 |
0 |
5,120 |
0 |
1,936 |
145 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,602 |
0 |
0 |
0 |
104 |
0 |
49 |
0 |
bash |
13 |
no-host |
configure.tcc |
5,469 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,011 |
0 |
0 |
0 |
96 |
0 |
53 |
12 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,953 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,919 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,096,048 |
0 |
0 |
0 |
42,400 |
0 |
18,551 |
940 |
bash |
11 |
no-host |
configure.util-linux |
2,262,893 |
1 |
0 |
0 |
42,584 |
0 |
17,507 |
953 |
dash |
19 |
no-host |
configure.util-linux |
5,348,814 |
12 |
0 |
0 |
39,112 |
0 |
16,952 |
1,296 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,000,861 |
1 |
0 |
0 |
39,120 |
0 |
16,958 |
1,127 |
osh-native |
35 |
no-host |
configure.util-linux |
1,995,350 |
1 |
0 |
0 |
39,128 |
0 |
16,968 |
1,025 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,788 |
0 |
0 |
0 |
4,120 |
0 |
869 |
83 |
bash |
14 |
no-host |
configure.yash |
244,074 |
0 |
0 |
0 |
3,720 |
0 |
870 |
75 |
dash |
22 |
no-host |
configure.yash |
386,718 |
0 |
0 |
0 |
3,728 |
0 |
855 |
89 |
osh-cpython |
30 |
no-host |
configure.yash |
258,136 |
0 |
0 |
0 |
3,736 |
0 |
851 |
78 |
osh-native |
38 |
no-host |
configure.yash |
257,212 |
0 |
0 |
0 |
3,736 |
0 |
847 |
78 |
osh-native-souffle |
0 |
no-host |
hello-world |
150 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
83 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,954 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
338 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host