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 |
454 |
22 |
21 |
23.67 |
1.13 |
bin-true |
no-host |
664 |
538 |
2,289 |
798 |
798 |
3.45 |
1.20 |
configure.cpython |
no-host |
14,739 |
14,788 |
28,401 |
14,925 |
15,060 |
1.93 |
1.01 |
configure.ocaml |
no-host |
3,748 |
3,685 |
4,634 |
3,787 |
3,761 |
1.24 |
1.01 |
configure.tcc |
no-host |
47 |
41 |
201 |
48 |
47 |
4.26 |
1.02 |
configure.util-linux |
no-host |
13,755 |
14,613 |
30,965 |
14,080 |
14,107 |
2.25 |
1.02 |
configure.yash |
no-host |
1,789 |
1,742 |
2,415 |
1,796 |
1,798 |
1.35 |
1.00 |
hello-world |
no-host |
2 |
1 |
56 |
3 |
3 |
34.57 |
1.76 |
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,583 |
1,086 |
23,828 |
3,191 |
3,063 |
9.22 |
1.24 |
bin-true |
no-host |
103,357 |
66,475 |
769,580 |
125,272 |
124,258 |
7.45 |
1.21 |
configure.cpython |
no-host |
2,223,311 |
2,243,808 |
6,237,744 |
2,214,490 |
2,207,240 |
2.81 |
1.00 |
configure.ocaml |
no-host |
410,808 |
391,120 |
647,420 |
412,892 |
412,444 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,545 |
5,473 |
24,103 |
6,983 |
6,937 |
3.68 |
1.07 |
configure.util-linux |
no-host |
2,103,667 |
2,261,265 |
5,395,485 |
1,989,993 |
1,989,996 |
2.56 |
0.95 |
configure.yash |
no-host |
255,960 |
245,144 |
388,490 |
258,081 |
257,196 |
1.52 |
1.01 |
hello-world |
no-host |
152 |
80 |
3,947 |
344 |
336 |
25.97 |
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.3 |
3,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
798 |
1 |
2 |
2.6 |
8.3 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,925 |
1 |
58 |
14.9 |
27.3 |
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,080 |
3 |
57 |
21.2 |
30.3 |
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,787 |
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 |
48 |
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,796 |
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 |
9.0 |
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 |
798 |
1 |
2 |
2.6 |
7.9 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,060 |
2 |
58 |
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,107 |
2 |
58 |
21.2 |
30.3 |
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,761 |
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 |
47 |
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,798 |
1 |
2 |
2.5 |
24.4 |
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 |
19 |
17 |
3 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
8 |
2 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
454 |
417 |
40 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
17 |
5 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
11 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
664 |
482 |
211 |
3.0 |
bash |
9 |
no-host |
bin-true |
538 |
419 |
128 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,289 |
1,464 |
1,080 |
18.2 |
osh-cpython |
25 |
no-host |
bin-true |
798 |
555 |
258 |
8.3 |
osh-native |
33 |
no-host |
bin-true |
798 |
564 |
250 |
7.9 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,739 |
8,953 |
6,177 |
27.5 |
bash |
10 |
no-host |
configure.cpython |
14,788 |
8,982 |
6,220 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
28,401 |
17,339 |
12,891 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,925 |
8,750 |
6,440 |
27.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,060 |
8,773 |
6,420 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,748 |
1,586 |
1,201 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,685 |
1,546 |
1,158 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,634 |
2,300 |
1,543 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,787 |
1,618 |
1,208 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,761 |
1,565 |
1,232 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
23 |
25 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
32 |
9 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
201 |
157 |
47 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
27 |
22 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
22 |
26 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,755 |
8,793 |
5,443 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,613 |
8,804 |
6,298 |
30.0 |
dash |
19 |
no-host |
configure.util-linux |
30,965 |
20,788 |
11,234 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,080 |
8,437 |
5,840 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,107 |
8,528 |
5,778 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,789 |
1,051 |
745 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,742 |
1,006 |
740 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,415 |
1,529 |
926 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,796 |
1,028 |
772 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,798 |
1,072 |
729 |
24.4 |
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 |
56 |
28 |
27 |
18.1 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
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,583 |
0 |
0 |
0 |
16 |
0 |
39 |
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,828 |
0 |
0 |
0 |
8 |
0 |
45 |
11 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,191 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,063 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
103,357 |
0 |
0 |
0 |
8 |
0 |
1,989 |
92 |
bash |
9 |
no-host |
bin-true |
66,475 |
0 |
0 |
0 |
8 |
0 |
1,986 |
42 |
dash |
17 |
no-host |
bin-true |
769,580 |
0 |
0 |
0 |
8 |
0 |
1,993 |
184 |
osh-cpython |
25 |
no-host |
bin-true |
125,272 |
0 |
0 |
0 |
16 |
0 |
1,984 |
68 |
osh-native |
33 |
no-host |
bin-true |
124,258 |
0 |
0 |
0 |
16 |
0 |
1,989 |
58 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,223,311 |
0 |
0 |
0 |
32,928 |
0 |
14,512 |
931 |
bash |
10 |
no-host |
configure.cpython |
2,243,808 |
0 |
0 |
0 |
32,992 |
0 |
14,659 |
908 |
dash |
18 |
no-host |
configure.cpython |
6,237,744 |
0 |
0 |
0 |
27,512 |
0 |
13,283 |
1,054 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,214,490 |
0 |
0 |
0 |
27,520 |
0 |
13,216 |
950 |
osh-native |
34 |
no-host |
configure.cpython |
2,207,240 |
1 |
0 |
0 |
27,520 |
0 |
13,221 |
930 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,808 |
0 |
0 |
0 |
5,120 |
0 |
1,948 |
152 |
bash |
12 |
no-host |
configure.ocaml |
391,120 |
0 |
0 |
0 |
5,112 |
0 |
1,901 |
152 |
dash |
20 |
no-host |
configure.ocaml |
647,420 |
0 |
0 |
0 |
5,112 |
0 |
1,861 |
170 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,892 |
0 |
0 |
0 |
5,120 |
0 |
1,922 |
214 |
osh-native |
36 |
no-host |
configure.ocaml |
412,444 |
0 |
0 |
0 |
5,120 |
0 |
1,934 |
140 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,545 |
0 |
0 |
0 |
104 |
0 |
49 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,473 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,103 |
0 |
0 |
0 |
96 |
0 |
53 |
14 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,983 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,937 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,103,667 |
0 |
0 |
0 |
42,400 |
0 |
18,656 |
976 |
bash |
11 |
no-host |
configure.util-linux |
2,261,265 |
0 |
0 |
0 |
42,584 |
0 |
17,364 |
1,139 |
dash |
19 |
no-host |
configure.util-linux |
5,395,485 |
13 |
0 |
0 |
39,120 |
0 |
16,934 |
1,164 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,989,993 |
0 |
0 |
0 |
39,120 |
0 |
16,942 |
926 |
osh-native |
35 |
no-host |
configure.util-linux |
1,989,996 |
1 |
0 |
0 |
39,136 |
0 |
17,000 |
987 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,960 |
0 |
0 |
0 |
4,120 |
0 |
871 |
72 |
bash |
14 |
no-host |
configure.yash |
245,144 |
0 |
0 |
0 |
3,720 |
0 |
870 |
80 |
dash |
22 |
no-host |
configure.yash |
388,490 |
0 |
0 |
0 |
3,728 |
0 |
854 |
111 |
osh-cpython |
30 |
no-host |
configure.yash |
258,081 |
0 |
0 |
0 |
3,736 |
0 |
853 |
68 |
osh-native |
38 |
no-host |
configure.yash |
257,196 |
0 |
0 |
0 |
3,736 |
0 |
848 |
93 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
80 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,947 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
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