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 |
9 |
468 |
22 |
21 |
23.96 |
1.15 |
bin-true |
no-host |
680 |
538 |
2,268 |
820 |
812 |
3.34 |
1.21 |
configure.cpython |
no-host |
15,106 |
15,234 |
29,115 |
15,392 |
15,496 |
1.93 |
1.02 |
configure.ocaml |
no-host |
3,832 |
3,787 |
4,731 |
3,844 |
3,844 |
1.23 |
1.00 |
configure.tcc |
no-host |
48 |
41 |
206 |
49 |
48 |
4.32 |
1.02 |
configure.util-linux |
no-host |
14,100 |
14,970 |
31,548 |
14,468 |
14,421 |
2.24 |
1.03 |
configure.yash |
no-host |
1,819 |
1,785 |
2,520 |
1,833 |
1,841 |
1.39 |
1.01 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
37.86 |
1.96 |
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,548 |
1,097 |
23,447 |
3,193 |
3,120 |
9.20 |
1.25 |
bin-true |
no-host |
106,411 |
65,414 |
762,641 |
126,183 |
126,128 |
7.17 |
1.19 |
configure.cpython |
no-host |
2,221,164 |
2,241,422 |
6,212,960 |
2,218,236 |
2,218,621 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,373 |
391,161 |
643,672 |
413,088 |
412,592 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,564 |
5,465 |
23,956 |
6,964 |
6,934 |
3.65 |
1.06 |
configure.util-linux |
no-host |
2,096,007 |
2,260,991 |
5,348,105 |
2,006,499 |
1,994,870 |
2.55 |
0.96 |
configure.yash |
no-host |
256,308 |
245,181 |
386,482 |
258,217 |
256,911 |
1.51 |
1.01 |
hello-world |
no-host |
152 |
85 |
3,959 |
344 |
337 |
26.05 |
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.4 |
3,793 |
3,793 |
0 |
694 |
1,865 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
820 |
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,392 |
1 |
64 |
14.9 |
27.4 |
1,771,804 |
49,616 |
28,523 |
85,427 |
878,138 |
808,239 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,468 |
3 |
62 |
21.2 |
30.3 |
2,702,550 |
45,811 |
65,722 |
108,699 |
1,290,655 |
1,303,196 |
32,241 |
41 |
131,444 |
1 |
configure.ocaml |
no-host |
3,844 |
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 |
49 |
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,833 |
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 |
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 |
812 |
1 |
2 |
2.6 |
7.9 |
153,756 |
12,122 |
2,836 |
8,744 |
76,329 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,496 |
1 |
61 |
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,421 |
3 |
60 |
21.2 |
30.0 |
2,702,550 |
53,704 |
65,660 |
108,701 |
1,290,655 |
1,303,194 |
32,241 |
41 |
131,320 |
1 |
configure.ocaml |
no-host |
3,844 |
1 |
2 |
2.6 |
20.4 |
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,841 |
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.8 |
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 |
9 |
8 |
1 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
468 |
429 |
41 |
22.8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
17 |
6 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
21 |
0 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
680 |
496 |
218 |
2.9 |
bash |
9 |
no-host |
bin-true |
538 |
421 |
128 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,268 |
1,415 |
1,111 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
820 |
554 |
282 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
812 |
563 |
264 |
7.9 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,106 |
8,978 |
6,527 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,234 |
9,132 |
6,524 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,115 |
17,549 |
13,440 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,392 |
9,141 |
6,521 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,496 |
9,064 |
6,533 |
27.5 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,832 |
1,617 |
1,247 |
20.4 |
bash |
12 |
no-host |
configure.ocaml |
3,787 |
1,589 |
1,214 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,731 |
2,244 |
1,702 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,844 |
1,676 |
1,206 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,844 |
1,704 |
1,174 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
22 |
26 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
25 |
17 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
206 |
174 |
36 |
19.1 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
37 |
12 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
29 |
19 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,100 |
8,878 |
5,696 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
14,970 |
9,309 |
6,153 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,548 |
21,039 |
11,597 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,468 |
8,754 |
5,909 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,421 |
8,684 |
5,931 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,819 |
1,063 |
763 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,785 |
953 |
834 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,520 |
1,575 |
988 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,833 |
1,081 |
756 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,841 |
1,076 |
769 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
2 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
29 |
28 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.4 |
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,548 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,097 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,447 |
0 |
0 |
0 |
8 |
0 |
45 |
13 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,193 |
0 |
0 |
0 |
16 |
0 |
39 |
5 |
osh-native |
39 |
no-host |
abuild-print-help |
3,120 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,411 |
0 |
0 |
0 |
8 |
0 |
1,985 |
50 |
bash |
9 |
no-host |
bin-true |
65,414 |
0 |
0 |
0 |
8 |
0 |
1,989 |
65 |
dash |
17 |
no-host |
bin-true |
762,641 |
0 |
0 |
0 |
8 |
0 |
1,994 |
109 |
osh-cpython |
25 |
no-host |
bin-true |
126,183 |
0 |
0 |
0 |
16 |
0 |
1,995 |
76 |
osh-native |
33 |
no-host |
bin-true |
126,128 |
0 |
0 |
0 |
16 |
0 |
1,990 |
82 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,221,164 |
0 |
0 |
0 |
32,928 |
0 |
14,440 |
1,062 |
bash |
10 |
no-host |
configure.cpython |
2,241,422 |
0 |
0 |
0 |
32,992 |
0 |
14,604 |
1,114 |
dash |
18 |
no-host |
configure.cpython |
6,212,960 |
0 |
0 |
0 |
27,512 |
0 |
13,255 |
1,218 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,218,236 |
1 |
0 |
0 |
27,520 |
0 |
13,285 |
1,017 |
osh-native |
34 |
no-host |
configure.cpython |
2,218,621 |
0 |
0 |
0 |
27,520 |
0 |
13,284 |
944 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,373 |
0 |
0 |
0 |
5,120 |
0 |
1,959 |
150 |
bash |
12 |
no-host |
configure.ocaml |
391,161 |
0 |
0 |
0 |
5,112 |
0 |
1,924 |
144 |
dash |
20 |
no-host |
configure.ocaml |
643,672 |
0 |
0 |
0 |
5,112 |
0 |
1,856 |
208 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,088 |
0 |
0 |
0 |
5,120 |
0 |
1,923 |
185 |
osh-native |
36 |
no-host |
configure.ocaml |
412,592 |
0 |
0 |
0 |
5,120 |
0 |
1,937 |
151 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,564 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,465 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,956 |
0 |
0 |
0 |
96 |
0 |
55 |
11 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,964 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,934 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,096,007 |
0 |
0 |
0 |
42,400 |
0 |
18,532 |
1,016 |
bash |
11 |
no-host |
configure.util-linux |
2,260,991 |
0 |
0 |
0 |
42,584 |
0 |
17,439 |
937 |
dash |
19 |
no-host |
configure.util-linux |
5,348,105 |
10 |
0 |
0 |
39,112 |
0 |
16,958 |
1,177 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,006,499 |
0 |
0 |
0 |
39,120 |
0 |
16,999 |
959 |
osh-native |
35 |
no-host |
configure.util-linux |
1,994,870 |
0 |
0 |
0 |
39,136 |
0 |
16,973 |
1,113 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,308 |
0 |
0 |
0 |
4,120 |
0 |
873 |
71 |
bash |
14 |
no-host |
configure.yash |
245,181 |
0 |
0 |
0 |
3,720 |
0 |
868 |
77 |
dash |
22 |
no-host |
configure.yash |
386,482 |
0 |
0 |
0 |
3,728 |
0 |
851 |
104 |
osh-cpython |
30 |
no-host |
configure.yash |
258,217 |
0 |
0 |
0 |
3,736 |
0 |
847 |
61 |
osh-native |
38 |
no-host |
configure.yash |
256,911 |
0 |
0 |
0 |
3,736 |
0 |
851 |
67 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
85 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,959 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
0 |
0 |
0 |
16 |
0 |
0 |
1 |
osh-native |
32 |
no-host |
hello-world |
337 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host