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 |
465 |
22 |
21 |
23.68 |
1.13 |
bin-true |
no-host |
675 |
550 |
2,303 |
824 |
818 |
3.41 |
1.22 |
configure.cpython |
no-host |
15,137 |
15,206 |
29,069 |
15,361 |
15,490 |
1.92 |
1.01 |
configure.ocaml |
no-host |
3,840 |
3,753 |
4,698 |
3,854 |
3,872 |
1.22 |
1.00 |
configure.tcc |
no-host |
48 |
42 |
205 |
49 |
51 |
4.25 |
1.02 |
configure.util-linux |
no-host |
14,130 |
15,020 |
31,497 |
14,490 |
14,448 |
2.23 |
1.03 |
configure.yash |
no-host |
1,848 |
1,774 |
2,479 |
1,840 |
1,892 |
1.34 |
1.00 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
37.56 |
1.91 |
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,543 |
1,086 |
23,855 |
3,195 |
3,052 |
9.38 |
1.26 |
bin-true |
no-host |
104,368 |
66,409 |
771,544 |
129,265 |
127,267 |
7.39 |
1.24 |
configure.cpython |
no-host |
2,216,822 |
2,241,766 |
6,253,229 |
2,213,748 |
2,205,851 |
2.82 |
1.00 |
configure.ocaml |
no-host |
410,772 |
391,108 |
647,728 |
412,618 |
412,541 |
1.58 |
1.00 |
configure.tcc |
no-host |
6,550 |
5,475 |
24,119 |
6,956 |
6,922 |
3.68 |
1.06 |
configure.util-linux |
no-host |
2,101,901 |
2,260,283 |
5,390,458 |
1,998,435 |
1,997,588 |
2.56 |
0.95 |
configure.yash |
no-host |
256,648 |
244,590 |
387,588 |
257,000 |
258,117 |
1.51 |
1.00 |
hello-world |
no-host |
152 |
83 |
3,940 |
347 |
338 |
25.92 |
2.28 |
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,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
824 |
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,361 |
1 |
64 |
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,490 |
3 |
63 |
21.2 |
30.1 |
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,854 |
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 |
49 |
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,840 |
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.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 |
818 |
1 |
2 |
2.6 |
7.5 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,490 |
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,448 |
3 |
63 |
21.2 |
30.4 |
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,872 |
1 |
2 |
2.6 |
20.4 |
150,080 |
11,050 |
5,145 |
7,510 |
70,969 |
71,601 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
51 |
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,892 |
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.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 |
15 |
5 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
7 |
3 |
3.3 |
dash |
23 |
no-host |
abuild-print-help |
465 |
427 |
41 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
13 |
10 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
13 |
8 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
675 |
525 |
183 |
2.9 |
bash |
9 |
no-host |
bin-true |
550 |
429 |
131 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,303 |
1,479 |
1,083 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
824 |
579 |
259 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
818 |
582 |
252 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,137 |
9,002 |
6,539 |
27.5 |
bash |
10 |
no-host |
configure.cpython |
15,206 |
9,232 |
6,407 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
29,069 |
17,892 |
13,068 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,361 |
9,083 |
6,549 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,490 |
9,060 |
6,567 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,840 |
1,588 |
1,290 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,753 |
1,534 |
1,239 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,698 |
2,286 |
1,624 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,854 |
1,650 |
1,243 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,872 |
1,636 |
1,275 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
29 |
20 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
42 |
20 |
22 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
205 |
142 |
66 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
32 |
18 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
51 |
28 |
23 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,130 |
8,891 |
5,712 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
15,020 |
9,345 |
6,169 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,497 |
20,991 |
11,604 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,490 |
8,692 |
5,997 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,448 |
8,687 |
5,964 |
30.4 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,848 |
1,066 |
789 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,774 |
1,065 |
712 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,479 |
1,544 |
977 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,840 |
1,055 |
787 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,892 |
1,046 |
849 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
16 |
no-host |
hello-world |
56 |
40 |
16 |
18.2 |
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,543 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,086 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,855 |
0 |
0 |
0 |
8 |
0 |
45 |
12 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,195 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,052 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,368 |
0 |
0 |
0 |
8 |
0 |
1,992 |
36 |
bash |
9 |
no-host |
bin-true |
66,409 |
0 |
0 |
0 |
8 |
0 |
1,989 |
35 |
dash |
17 |
no-host |
bin-true |
771,544 |
0 |
0 |
0 |
8 |
0 |
1,997 |
201 |
osh-cpython |
25 |
no-host |
bin-true |
129,265 |
0 |
0 |
0 |
16 |
0 |
1,992 |
62 |
osh-native |
33 |
no-host |
bin-true |
127,267 |
0 |
0 |
0 |
16 |
0 |
1,995 |
58 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,216,822 |
0 |
0 |
0 |
32,928 |
0 |
14,487 |
1,065 |
bash |
10 |
no-host |
configure.cpython |
2,241,766 |
0 |
0 |
0 |
32,992 |
0 |
14,647 |
915 |
dash |
18 |
no-host |
configure.cpython |
6,253,229 |
0 |
0 |
0 |
27,512 |
0 |
13,240 |
1,107 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,213,748 |
1 |
0 |
0 |
27,520 |
0 |
13,259 |
1,001 |
osh-native |
34 |
no-host |
configure.cpython |
2,205,851 |
0 |
0 |
0 |
27,520 |
0 |
13,287 |
1,004 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,772 |
0 |
0 |
0 |
5,120 |
0 |
1,960 |
163 |
bash |
12 |
no-host |
configure.ocaml |
391,108 |
0 |
0 |
0 |
5,112 |
0 |
1,899 |
154 |
dash |
20 |
no-host |
configure.ocaml |
647,728 |
0 |
0 |
0 |
5,112 |
0 |
1,851 |
180 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,618 |
0 |
0 |
0 |
5,120 |
0 |
1,925 |
170 |
osh-native |
36 |
no-host |
configure.ocaml |
412,541 |
0 |
0 |
0 |
5,120 |
0 |
1,933 |
146 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,550 |
0 |
0 |
0 |
104 |
0 |
49 |
4 |
bash |
13 |
no-host |
configure.tcc |
5,475 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
24,119 |
0 |
0 |
0 |
96 |
0 |
53 |
18 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,956 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native |
37 |
no-host |
configure.tcc |
6,922 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,101,901 |
0 |
0 |
0 |
42,408 |
0 |
18,530 |
927 |
bash |
11 |
no-host |
configure.util-linux |
2,260,283 |
1 |
0 |
0 |
42,592 |
0 |
17,472 |
1,161 |
dash |
19 |
no-host |
configure.util-linux |
5,390,458 |
10 |
0 |
0 |
39,112 |
0 |
16,958 |
1,279 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,998,435 |
0 |
0 |
0 |
39,120 |
0 |
16,982 |
911 |
osh-native |
35 |
no-host |
configure.util-linux |
1,997,588 |
0 |
0 |
0 |
39,128 |
0 |
16,983 |
953 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,648 |
0 |
0 |
0 |
4,120 |
0 |
871 |
82 |
bash |
14 |
no-host |
configure.yash |
244,590 |
0 |
0 |
0 |
3,720 |
0 |
867 |
82 |
dash |
22 |
no-host |
configure.yash |
387,588 |
0 |
0 |
0 |
3,728 |
0 |
852 |
111 |
osh-cpython |
30 |
no-host |
configure.yash |
257,000 |
0 |
0 |
0 |
3,736 |
0 |
845 |
81 |
osh-native |
38 |
no-host |
configure.yash |
258,117 |
0 |
0 |
0 |
3,736 |
0 |
848 |
81 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
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,940 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
347 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
338 |
0 |
0 |
0 |
16 |
0 |
0 |
1 |
osh-native-souffle |
Shell and Host