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 |
469 |
22 |
21 |
23.91 |
1.12 |
bin-true |
no-host |
688 |
546 |
2,334 |
822 |
813 |
3.39 |
1.19 |
configure.cpython |
no-host |
15,510 |
15,532 |
29,781 |
15,778 |
15,884 |
1.92 |
1.02 |
configure.ocaml |
no-host |
3,912 |
3,841 |
4,772 |
3,892 |
3,889 |
1.22 |
0.99 |
configure.tcc |
no-host |
49 |
44 |
208 |
50 |
48 |
4.22 |
1.01 |
configure.util-linux |
no-host |
14,575 |
15,348 |
32,612 |
14,808 |
14,718 |
2.24 |
1.02 |
configure.yash |
no-host |
1,854 |
1,829 |
2,530 |
1,888 |
1,869 |
1.37 |
1.02 |
hello-world |
no-host |
2 |
1 |
62 |
3 |
3 |
38.51 |
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,525 |
1,117 |
23,862 |
3,193 |
3,087 |
9.45 |
1.26 |
bin-true |
no-host |
106,314 |
67,486 |
772,658 |
127,259 |
126,188 |
7.27 |
1.20 |
configure.cpython |
no-host |
2,218,130 |
2,244,990 |
6,215,570 |
2,217,267 |
2,208,836 |
2.80 |
1.00 |
configure.ocaml |
no-host |
409,672 |
390,823 |
645,518 |
413,190 |
411,805 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,553 |
5,474 |
24,096 |
6,953 |
6,890 |
3.68 |
1.06 |
configure.util-linux |
no-host |
2,097,987 |
2,258,044 |
5,389,947 |
1,992,380 |
1,990,394 |
2.57 |
0.95 |
configure.yash |
no-host |
256,095 |
244,209 |
387,807 |
258,443 |
258,181 |
1.51 |
1.01 |
hello-world |
no-host |
152 |
82 |
3,943 |
344 |
336 |
25.94 |
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.2 |
3,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
822 |
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,778 |
2 |
65 |
14.9 |
27.5 |
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,808 |
3 |
64 |
21.2 |
30.3 |
2,702,513 |
53,766 |
65,691 |
108,691 |
1,290,640 |
1,303,182 |
32,239 |
41 |
131,382 |
1 |
configure.ocaml |
no-host |
3,892 |
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.4 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,888 |
1 |
2 |
2.5 |
24.2 |
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.8 |
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 |
6.0 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
813 |
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,884 |
1 |
63 |
14.9 |
27.4 |
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,718 |
3 |
63 |
21.2 |
30.1 |
2,702,513 |
53,693 |
65,629 |
108,693 |
1,290,640 |
1,303,180 |
32,239 |
41 |
131,258 |
1 |
configure.ocaml |
no-host |
3,889 |
1 |
2 |
2.6 |
20.8 |
150,080 |
11,050 |
5,145 |
7,510 |
70,969 |
71,601 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.4 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,869 |
1 |
2 |
2.5 |
24.5 |
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.5 |
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 |
20 |
10 |
10 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
5 |
5 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
469 |
434 |
38 |
22.8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
20 |
3 |
8.8 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
19 |
3 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
688 |
507 |
209 |
3.0 |
bash |
9 |
no-host |
bin-true |
546 |
426 |
132 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,334 |
1,509 |
1,094 |
18.3 |
osh-cpython |
25 |
no-host |
bin-true |
822 |
582 |
253 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
813 |
575 |
253 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,510 |
9,399 |
6,517 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,532 |
9,309 |
6,638 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,781 |
17,958 |
13,751 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,778 |
9,138 |
6,912 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,884 |
9,320 |
6,707 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,912 |
1,654 |
1,286 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,841 |
1,638 |
1,221 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,772 |
2,234 |
1,749 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,892 |
1,675 |
1,257 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,889 |
1,677 |
1,249 |
20.8 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
26 |
24 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
44 |
36 |
8 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
208 |
149 |
62 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
22 |
28 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
32 |
17 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,575 |
9,121 |
5,930 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
15,348 |
9,336 |
6,499 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
32,612 |
21,798 |
11,936 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,808 |
9,020 |
5,986 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,718 |
8,981 |
5,927 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,854 |
1,077 |
784 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,829 |
1,016 |
817 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,530 |
1,573 |
996 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,888 |
1,108 |
783 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,869 |
1,083 |
790 |
24.5 |
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 |
62 |
45 |
16 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.2 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
6.0 |
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,525 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,117 |
0 |
0 |
0 |
8 |
0 |
39 |
2 |
dash |
23 |
no-host |
abuild-print-help |
23,862 |
0 |
0 |
0 |
8 |
0 |
45 |
9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,193 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,087 |
0 |
0 |
0 |
16 |
0 |
39 |
4 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,314 |
0 |
0 |
0 |
8 |
0 |
1,994 |
55 |
bash |
9 |
no-host |
bin-true |
67,486 |
0 |
0 |
0 |
8 |
0 |
1,990 |
32 |
dash |
17 |
no-host |
bin-true |
772,658 |
0 |
0 |
0 |
8 |
0 |
2,000 |
84 |
osh-cpython |
25 |
no-host |
bin-true |
127,259 |
0 |
0 |
0 |
16 |
0 |
1,996 |
163 |
osh-native |
33 |
no-host |
bin-true |
126,188 |
0 |
0 |
0 |
16 |
0 |
1,993 |
54 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,218,130 |
0 |
0 |
0 |
32,928 |
0 |
14,458 |
1,011 |
bash |
10 |
no-host |
configure.cpython |
2,244,990 |
0 |
0 |
0 |
32,992 |
0 |
14,570 |
1,057 |
dash |
18 |
no-host |
configure.cpython |
6,215,570 |
1 |
0 |
0 |
27,512 |
0 |
13,204 |
1,179 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,217,267 |
0 |
0 |
0 |
27,520 |
0 |
13,217 |
1,033 |
osh-native |
34 |
no-host |
configure.cpython |
2,208,836 |
1 |
0 |
0 |
27,520 |
0 |
13,248 |
958 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
409,672 |
0 |
0 |
0 |
5,120 |
0 |
1,961 |
133 |
bash |
12 |
no-host |
configure.ocaml |
390,823 |
0 |
0 |
0 |
5,112 |
0 |
1,888 |
141 |
dash |
20 |
no-host |
configure.ocaml |
645,518 |
0 |
0 |
0 |
5,112 |
0 |
1,850 |
192 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,190 |
0 |
0 |
0 |
5,120 |
0 |
1,932 |
151 |
osh-native |
36 |
no-host |
configure.ocaml |
411,805 |
0 |
0 |
0 |
5,120 |
0 |
1,932 |
151 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,553 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,474 |
0 |
0 |
0 |
96 |
0 |
47 |
4 |
dash |
21 |
no-host |
configure.tcc |
24,096 |
0 |
0 |
0 |
96 |
0 |
53 |
9 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,953 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,890 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,097,987 |
0 |
0 |
0 |
42,400 |
0 |
18,608 |
1,039 |
bash |
11 |
no-host |
configure.util-linux |
2,258,044 |
2 |
0 |
0 |
42,584 |
0 |
17,421 |
1,110 |
dash |
19 |
no-host |
configure.util-linux |
5,389,947 |
13 |
0 |
0 |
39,112 |
0 |
16,964 |
1,234 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,992,380 |
0 |
0 |
0 |
39,128 |
0 |
16,997 |
941 |
osh-native |
35 |
no-host |
configure.util-linux |
1,990,394 |
1 |
0 |
0 |
39,136 |
0 |
16,983 |
1,055 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,095 |
0 |
0 |
0 |
4,120 |
0 |
870 |
86 |
bash |
14 |
no-host |
configure.yash |
244,209 |
0 |
0 |
0 |
3,720 |
0 |
864 |
79 |
dash |
22 |
no-host |
configure.yash |
387,807 |
0 |
0 |
0 |
3,728 |
0 |
852 |
165 |
osh-cpython |
30 |
no-host |
configure.yash |
258,443 |
0 |
0 |
0 |
3,736 |
0 |
849 |
82 |
osh-native |
38 |
no-host |
configure.yash |
258,181 |
0 |
0 |
0 |
3,736 |
0 |
850 |
85 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
82 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,943 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
336 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host