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 |
465 |
22 |
21 |
24.10 |
1.16 |
bin-true |
no-host |
690 |
681 |
2,264 |
811 |
805 |
3.28 |
1.17 |
configure.cpython |
no-host |
15,072 |
15,485 |
28,519 |
15,087 |
15,503 |
1.89 |
1.00 |
configure.ocaml |
no-host |
3,854 |
3,770 |
4,602 |
3,882 |
3,836 |
1.19 |
1.01 |
configure.tcc |
no-host |
48 |
42 |
201 |
49 |
48 |
4.21 |
1.02 |
configure.util-linux |
no-host |
14,241 |
15,936 |
32,010 |
14,268 |
14,392 |
2.25 |
1.00 |
configure.yash |
no-host |
1,833 |
1,768 |
2,435 |
1,834 |
1,824 |
1.33 |
1.00 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
37.66 |
2.04 |
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,504 |
1,093 |
23,538 |
3,221 |
3,121 |
9.40 |
1.29 |
bin-true |
no-host |
105,380 |
66,438 |
762,008 |
125,145 |
123,257 |
7.23 |
1.19 |
configure.cpython |
no-host |
2,220,810 |
2,241,442 |
6,197,198 |
2,217,331 |
2,222,233 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,257 |
391,309 |
643,853 |
413,061 |
412,275 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,529 |
5,462 |
23,914 |
6,925 |
6,898 |
3.66 |
1.06 |
configure.util-linux |
no-host |
2,095,285 |
2,269,617 |
5,351,051 |
1,995,681 |
1,990,987 |
2.55 |
0.95 |
configure.yash |
no-host |
256,539 |
245,072 |
386,298 |
257,207 |
258,494 |
1.51 |
1.00 |
hello-world |
no-host |
153 |
81 |
3,958 |
345 |
335 |
25.87 |
2.25 |
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,789 |
3,789 |
0 |
694 |
1,861 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
811 |
1 |
2 |
2.6 |
7.9 |
153,753 |
12,329 |
2,894 |
8,743 |
76,325 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,087 |
1 |
61 |
14.9 |
27.5 |
1,771,800 |
49,612 |
28,519 |
85,427 |
878,134 |
808,239 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,268 |
3 |
60 |
21.2 |
30.1 |
2,702,546 |
45,807 |
65,718 |
108,699 |
1,290,651 |
1,303,196 |
32,241 |
41 |
131,436 |
1 |
configure.ocaml |
no-host |
3,882 |
1 |
2 |
2.6 |
20.6 |
150,087 |
11,119 |
5,214 |
7,508 |
70,972 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.3 |
30,593 |
30,593 |
0 |
1,518 |
14,644 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,834 |
1 |
2 |
2.5 |
24.5 |
139,419 |
8,031 |
6,693 |
5,989 |
67,945 |
65,485 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,299 |
64,410 |
42,620 |
4,532 |
54,439 |
57,328 |
277 |
3 |
85,240 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,788 |
3,788 |
0 |
695 |
1,861 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
805 |
1 |
2 |
2.6 |
7.7 |
153,752 |
12,118 |
2,832 |
8,744 |
76,325 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,503 |
1 |
58 |
14.9 |
27.4 |
1,771,799 |
49,070 |
28,457 |
85,428 |
878,134 |
808,237 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,392 |
3 |
59 |
21.2 |
30.1 |
2,702,546 |
53,700 |
65,656 |
108,701 |
1,290,651 |
1,303,194 |
32,241 |
41 |
131,312 |
1 |
configure.ocaml |
no-host |
3,836 |
1 |
2 |
2.6 |
20.6 |
150,087 |
11,057 |
5,152 |
7,510 |
70,972 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,593 |
30,593 |
0 |
1,520 |
14,644 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,824 |
1 |
2 |
2.5 |
24.5 |
139,419 |
7,969 |
6,631 |
5,991 |
67,945 |
65,483 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,298 |
64,348 |
42,558 |
4,533 |
54,439 |
57,326 |
277 |
3 |
85,116 |
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 |
13 |
6 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
5 |
5 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
465 |
421 |
47 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
14 |
8 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
11 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
690 |
502 |
216 |
2.9 |
bash |
9 |
no-host |
bin-true |
681 |
454 |
212 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,264 |
1,467 |
1,052 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
811 |
588 |
237 |
7.9 |
osh-native |
33 |
no-host |
bin-true |
805 |
572 |
247 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,072 |
9,137 |
6,331 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,485 |
9,181 |
6,715 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
28,519 |
17,005 |
13,335 |
27.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,087 |
8,855 |
6,488 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,503 |
8,987 |
6,495 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,854 |
1,643 |
1,246 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,770 |
1,579 |
1,205 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,602 |
2,209 |
1,596 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,882 |
1,589 |
1,327 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,836 |
1,559 |
1,313 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
24 |
24 |
19.1 |
bash |
13 |
no-host |
configure.tcc |
42 |
30 |
12 |
19.1 |
dash |
21 |
no-host |
configure.tcc |
201 |
128 |
76 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
34 |
15 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
25 |
23 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,241 |
8,997 |
5,689 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
15,936 |
9,497 |
6,876 |
30.0 |
dash |
19 |
no-host |
configure.util-linux |
32,010 |
21,465 |
11,585 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,268 |
8,535 |
5,920 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,392 |
8,612 |
5,954 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,833 |
1,046 |
795 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,768 |
1,104 |
666 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,435 |
1,529 |
946 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,834 |
1,018 |
819 |
24.5 |
osh-native |
38 |
no-host |
configure.yash |
1,824 |
1,025 |
802 |
24.5 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
47 |
8 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
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,504 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,093 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,538 |
0 |
0 |
0 |
8 |
0 |
45 |
14 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,221 |
0 |
0 |
0 |
16 |
0 |
38 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,121 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,380 |
0 |
0 |
0 |
8 |
0 |
1,993 |
117 |
bash |
9 |
no-host |
bin-true |
66,438 |
0 |
0 |
0 |
8 |
0 |
1,989 |
48 |
dash |
17 |
no-host |
bin-true |
762,008 |
0 |
0 |
0 |
8 |
0 |
1,991 |
101 |
osh-cpython |
25 |
no-host |
bin-true |
125,145 |
0 |
0 |
0 |
16 |
0 |
1,990 |
159 |
osh-native |
33 |
no-host |
bin-true |
123,257 |
0 |
0 |
0 |
16 |
0 |
1,994 |
67 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,220,810 |
0 |
0 |
0 |
32,928 |
0 |
14,538 |
1,007 |
bash |
10 |
no-host |
configure.cpython |
2,241,442 |
0 |
0 |
0 |
32,992 |
0 |
14,612 |
1,104 |
dash |
18 |
no-host |
configure.cpython |
6,197,198 |
0 |
0 |
0 |
27,512 |
0 |
13,260 |
1,127 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,217,331 |
0 |
0 |
0 |
27,520 |
0 |
13,219 |
968 |
osh-native |
34 |
no-host |
configure.cpython |
2,222,233 |
0 |
0 |
0 |
27,520 |
0 |
13,251 |
906 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,257 |
0 |
0 |
0 |
5,120 |
0 |
1,951 |
170 |
bash |
12 |
no-host |
configure.ocaml |
391,309 |
0 |
0 |
0 |
5,112 |
0 |
1,938 |
146 |
dash |
20 |
no-host |
configure.ocaml |
643,853 |
1 |
0 |
0 |
5,112 |
0 |
1,858 |
188 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,061 |
0 |
0 |
0 |
5,120 |
0 |
1,921 |
159 |
osh-native |
36 |
no-host |
configure.ocaml |
412,275 |
1 |
0 |
0 |
5,120 |
0 |
1,928 |
149 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,529 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,462 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
23,914 |
0 |
0 |
0 |
96 |
0 |
53 |
20 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,925 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,898 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,095,285 |
1 |
0 |
0 |
42,400 |
0 |
18,770 |
1,059 |
bash |
11 |
no-host |
configure.util-linux |
2,269,617 |
1 |
0 |
0 |
42,584 |
0 |
17,464 |
1,050 |
dash |
19 |
no-host |
configure.util-linux |
5,351,051 |
9 |
0 |
0 |
39,112 |
0 |
16,973 |
1,131 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,995,681 |
0 |
0 |
0 |
39,120 |
0 |
16,982 |
992 |
osh-native |
35 |
no-host |
configure.util-linux |
1,990,987 |
0 |
0 |
0 |
39,128 |
0 |
16,951 |
1,030 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,539 |
0 |
0 |
0 |
4,120 |
0 |
874 |
69 |
bash |
14 |
no-host |
configure.yash |
245,072 |
0 |
0 |
0 |
3,720 |
0 |
865 |
84 |
dash |
22 |
no-host |
configure.yash |
386,298 |
0 |
0 |
0 |
3,728 |
0 |
852 |
75 |
osh-cpython |
30 |
no-host |
configure.yash |
257,207 |
0 |
0 |
0 |
3,736 |
0 |
851 |
80 |
osh-native |
38 |
no-host |
configure.yash |
258,494 |
0 |
0 |
0 |
3,736 |
0 |
852 |
84 |
osh-native-souffle |
0 |
no-host |
hello-world |
153 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
81 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,958 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
0 |
1 |
osh-native |
32 |
no-host |
hello-world |
335 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host