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 |
471 |
22 |
21 |
24.35 |
1.13 |
bin-true |
no-host |
672 |
539 |
2,297 |
813 |
810 |
3.42 |
1.21 |
configure.cpython |
no-host |
15,159 |
15,215 |
28,836 |
15,368 |
15,630 |
1.90 |
1.01 |
configure.ocaml |
no-host |
3,829 |
3,867 |
4,683 |
3,928 |
3,851 |
1.22 |
1.03 |
configure.tcc |
no-host |
58 |
42 |
203 |
50 |
49 |
3.46 |
0.86 |
configure.util-linux |
no-host |
14,054 |
15,033 |
31,539 |
14,477 |
14,411 |
2.24 |
1.03 |
configure.yash |
no-host |
1,826 |
1,813 |
2,472 |
1,867 |
1,836 |
1.35 |
1.02 |
hello-world |
no-host |
2 |
1 |
58 |
3 |
3 |
37.89 |
1.82 |
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,544 |
1,110 |
23,679 |
3,180 |
3,068 |
9.31 |
1.25 |
bin-true |
no-host |
107,350 |
66,377 |
774,713 |
129,196 |
127,215 |
7.22 |
1.20 |
configure.cpython |
no-host |
2,230,462 |
2,243,263 |
6,203,087 |
2,219,673 |
2,210,576 |
2.78 |
1.00 |
configure.ocaml |
no-host |
410,492 |
391,164 |
647,045 |
413,139 |
412,089 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,550 |
5,478 |
24,073 |
6,958 |
6,902 |
3.68 |
1.06 |
configure.util-linux |
no-host |
2,103,248 |
2,261,973 |
5,394,215 |
1,996,960 |
1,990,755 |
2.56 |
0.95 |
configure.yash |
no-host |
256,647 |
244,448 |
389,065 |
258,097 |
257,920 |
1.52 |
1.01 |
hello-world |
no-host |
153 |
81 |
3,948 |
343 |
337 |
25.80 |
2.24 |
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.2 |
3,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
813 |
1 |
2 |
2.6 |
8.1 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,368 |
1 |
62 |
14.9 |
27.4 |
1,771,747 |
49,125 |
28,512 |
85,415 |
878,115 |
808,217 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,477 |
2 |
62 |
21.2 |
30.0 |
2,702,513 |
45,898 |
65,711 |
108,691 |
1,290,640 |
1,303,182 |
32,239 |
41 |
131,422 |
1 |
configure.ocaml |
no-host |
3,928 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,112 |
5,207 |
7,508 |
70,969 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,867 |
1 |
2 |
2.5 |
24.4 |
139,412 |
8,024 |
6,686 |
5,989 |
67,942 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
8.9 |
116,292 |
64,403 |
42,613 |
4,532 |
54,436 |
57,324 |
277 |
3 |
85,226 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
810 |
1 |
2 |
2.6 |
7.7 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,630 |
1 |
61 |
14.9 |
27.5 |
1,771,746 |
44,577 |
28,450 |
85,416 |
878,115 |
808,215 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,411 |
3 |
60 |
21.2 |
30.1 |
2,702,513 |
53,693 |
65,649 |
108,693 |
1,290,640 |
1,303,180 |
32,239 |
41 |
131,298 |
1 |
configure.ocaml |
no-host |
3,851 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,050 |
5,145 |
7,510 |
70,969 |
71,601 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,836 |
1 |
2 |
2.5 |
24.2 |
139,412 |
7,962 |
6,624 |
5,991 |
67,942 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.4 |
116,291 |
64,341 |
42,551 |
4,533 |
54,436 |
57,322 |
277 |
3 |
85,102 |
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 |
17 |
3 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
5 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
471 |
422 |
51 |
22.8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
15 |
7 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
17 |
5 |
8.4 |
osh-native-souffle |
1 |
no-host |
bin-true |
672 |
518 |
184 |
2.9 |
bash |
9 |
no-host |
bin-true |
539 |
422 |
125 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,297 |
1,471 |
1,089 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
813 |
601 |
223 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
810 |
598 |
227 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,159 |
9,133 |
6,435 |
27.5 |
bash |
10 |
no-host |
configure.cpython |
15,215 |
9,075 |
6,545 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,836 |
17,651 |
13,052 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,368 |
9,023 |
6,605 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,630 |
9,092 |
6,606 |
27.5 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,829 |
1,561 |
1,308 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,867 |
1,690 |
1,198 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,683 |
2,243 |
1,651 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,928 |
1,658 |
1,305 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,851 |
1,646 |
1,241 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
58 |
36 |
16 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
42 |
15 |
27 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
203 |
146 |
60 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
26 |
24 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
31 |
19 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,054 |
8,971 |
5,550 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
15,033 |
9,333 |
6,192 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,539 |
21,040 |
11,585 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,477 |
8,735 |
5,936 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
14,411 |
8,760 |
5,849 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,826 |
1,036 |
800 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,813 |
1,003 |
809 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,472 |
1,525 |
989 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,867 |
1,119 |
751 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,836 |
1,020 |
819 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
58 |
49 |
8 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.2 |
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,544 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,110 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,679 |
0 |
0 |
0 |
8 |
0 |
45 |
12 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,180 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,068 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,350 |
0 |
0 |
0 |
8 |
0 |
1,997 |
49 |
bash |
9 |
no-host |
bin-true |
66,377 |
0 |
0 |
0 |
8 |
0 |
1,989 |
36 |
dash |
17 |
no-host |
bin-true |
774,713 |
0 |
0 |
0 |
8 |
0 |
2,000 |
164 |
osh-cpython |
25 |
no-host |
bin-true |
129,196 |
0 |
0 |
0 |
16 |
0 |
1,986 |
57 |
osh-native |
33 |
no-host |
bin-true |
127,215 |
0 |
0 |
0 |
16 |
0 |
1,986 |
42 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,230,462 |
0 |
0 |
0 |
32,928 |
0 |
14,502 |
903 |
bash |
10 |
no-host |
configure.cpython |
2,243,263 |
1 |
0 |
0 |
32,992 |
0 |
14,604 |
1,115 |
dash |
18 |
no-host |
configure.cpython |
6,203,087 |
0 |
0 |
0 |
27,512 |
0 |
13,115 |
1,085 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,219,673 |
0 |
0 |
0 |
27,520 |
0 |
13,303 |
1,168 |
osh-native |
34 |
no-host |
configure.cpython |
2,210,576 |
0 |
0 |
0 |
27,520 |
0 |
13,203 |
869 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,492 |
0 |
0 |
0 |
5,120 |
0 |
1,944 |
189 |
bash |
12 |
no-host |
configure.ocaml |
391,164 |
0 |
0 |
0 |
5,112 |
0 |
1,901 |
197 |
dash |
20 |
no-host |
configure.ocaml |
647,045 |
0 |
0 |
0 |
5,112 |
0 |
1,856 |
162 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,139 |
0 |
0 |
0 |
5,120 |
0 |
1,930 |
169 |
osh-native |
36 |
no-host |
configure.ocaml |
412,089 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
161 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,550 |
0 |
0 |
0 |
104 |
0 |
54 |
6 |
bash |
13 |
no-host |
configure.tcc |
5,478 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,073 |
0 |
0 |
0 |
96 |
0 |
53 |
11 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,958 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,902 |
0 |
0 |
0 |
104 |
0 |
46 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,103,248 |
0 |
0 |
0 |
42,400 |
0 |
18,583 |
1,030 |
bash |
11 |
no-host |
configure.util-linux |
2,261,973 |
1 |
0 |
0 |
42,584 |
0 |
17,484 |
989 |
dash |
19 |
no-host |
configure.util-linux |
5,394,215 |
6 |
0 |
0 |
39,120 |
0 |
16,970 |
1,113 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,996,960 |
0 |
0 |
0 |
39,120 |
0 |
16,975 |
940 |
osh-native |
35 |
no-host |
configure.util-linux |
1,990,755 |
1 |
0 |
0 |
39,128 |
0 |
17,112 |
958 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,647 |
0 |
0 |
0 |
4,120 |
0 |
872 |
63 |
bash |
14 |
no-host |
configure.yash |
244,448 |
0 |
0 |
0 |
3,720 |
0 |
867 |
60 |
dash |
22 |
no-host |
configure.yash |
389,065 |
0 |
0 |
0 |
3,728 |
0 |
852 |
99 |
osh-cpython |
30 |
no-host |
configure.yash |
258,097 |
0 |
0 |
0 |
3,736 |
0 |
851 |
79 |
osh-native |
38 |
no-host |
configure.yash |
257,920 |
0 |
0 |
0 |
3,736 |
0 |
848 |
69 |
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,948 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
343 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
337 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host