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 |
466 |
22 |
21 |
24.21 |
1.15 |
bin-true |
no-host |
683 |
542 |
2,446 |
811 |
805 |
3.58 |
1.19 |
configure.cpython |
no-host |
14,888 |
14,936 |
28,603 |
15,148 |
15,252 |
1.92 |
1.02 |
configure.ocaml |
no-host |
3,803 |
3,709 |
4,617 |
3,798 |
3,807 |
1.21 |
1.00 |
configure.tcc |
no-host |
47 |
41 |
204 |
48 |
48 |
4.32 |
1.03 |
configure.util-linux |
no-host |
13,929 |
14,801 |
31,204 |
14,250 |
14,219 |
2.24 |
1.02 |
configure.yash |
no-host |
1,800 |
1,753 |
2,444 |
1,797 |
1,805 |
1.36 |
1.00 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
37.69 |
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,546 |
1,113 |
23,780 |
3,207 |
3,072 |
9.34 |
1.26 |
bin-true |
no-host |
108,328 |
67,405 |
764,377 |
126,232 |
125,279 |
7.06 |
1.17 |
configure.cpython |
no-host |
2,226,914 |
2,244,783 |
6,223,541 |
2,229,720 |
2,208,314 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,188 |
390,794 |
646,616 |
412,804 |
412,370 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,536 |
5,476 |
24,043 |
6,964 |
6,936 |
3.68 |
1.07 |
configure.util-linux |
no-host |
2,110,941 |
2,257,448 |
5,375,511 |
2,004,569 |
1,996,289 |
2.55 |
0.95 |
configure.yash |
no-host |
256,535 |
244,211 |
388,235 |
256,986 |
258,216 |
1.51 |
1.00 |
hello-world |
no-host |
152 |
82 |
3,936 |
343 |
337 |
25.89 |
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.4 |
3,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
811 |
1 |
2 |
2.6 |
8.1 |
153,746 |
12,267 |
2,887 |
8,743 |
78,327 |
66,676 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,148 |
1 |
61 |
14.9 |
27.5 |
1,771,747 |
49,125 |
28,512 |
85,415 |
908,079 |
778,253 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,250 |
3 |
59 |
21.2 |
30.3 |
2,702,513 |
45,898 |
65,711 |
108,691 |
1,320,585 |
1,273,237 |
32,239 |
41 |
131,422 |
1 |
configure.ocaml |
no-host |
3,798 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,112 |
5,207 |
7,508 |
71,612 |
70,960 |
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,782 |
14,286 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,797 |
1 |
2 |
2.5 |
24.4 |
139,412 |
8,024 |
6,686 |
5,989 |
70,287 |
63,136 |
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,527 |
57,233 |
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 |
805 |
1 |
2 |
2.6 |
7.3 |
153,745 |
12,111 |
2,825 |
8,744 |
78,327 |
66,674 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,252 |
1 |
60 |
14.9 |
27.4 |
1,771,746 |
44,577 |
28,450 |
85,416 |
908,079 |
778,251 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,219 |
3 |
60 |
21.2 |
30.1 |
2,702,513 |
53,693 |
65,649 |
108,693 |
1,320,585 |
1,273,235 |
32,239 |
41 |
131,298 |
1 |
configure.ocaml |
no-host |
3,807 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,050 |
5,145 |
7,510 |
71,612 |
70,958 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,520 |
14,782 |
14,284 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,805 |
1 |
2 |
2.5 |
24.4 |
139,412 |
7,962 |
6,624 |
5,991 |
70,287 |
63,134 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,291 |
64,341 |
42,551 |
4,533 |
54,527 |
57,231 |
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.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
8 |
1 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
466 |
421 |
48 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
11 |
12 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
16 |
6 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
683 |
503 |
214 |
3.0 |
bash |
9 |
no-host |
bin-true |
542 |
414 |
137 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,446 |
1,572 |
1,143 |
18.2 |
osh-cpython |
25 |
no-host |
bin-true |
811 |
566 |
258 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
805 |
577 |
243 |
7.3 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,888 |
9,002 |
6,291 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
14,936 |
9,014 |
6,343 |
27.1 |
dash |
18 |
no-host |
configure.cpython |
28,603 |
17,951 |
12,495 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,148 |
8,906 |
6,506 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,252 |
9,032 |
6,318 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,803 |
1,641 |
1,182 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,709 |
1,547 |
1,181 |
20.4 |
dash |
20 |
no-host |
configure.ocaml |
4,617 |
2,139 |
1,688 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,798 |
1,651 |
1,186 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,807 |
1,600 |
1,243 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
15 |
33 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
30 |
12 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
204 |
151 |
56 |
19.1 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
25 |
24 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
18 |
30 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,929 |
8,733 |
5,676 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,801 |
8,913 |
6,382 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,204 |
20,651 |
11,627 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,250 |
8,619 |
5,835 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,219 |
8,586 |
5,830 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,800 |
1,071 |
737 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,753 |
1,038 |
719 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,444 |
1,515 |
970 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,797 |
1,061 |
740 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,805 |
1,069 |
740 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
2 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
44 |
12 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.4 |
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,546 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,113 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,780 |
0 |
0 |
0 |
8 |
0 |
45 |
12 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,207 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,072 |
0 |
0 |
0 |
16 |
0 |
40 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
108,328 |
0 |
0 |
0 |
8 |
0 |
1,993 |
238 |
bash |
9 |
no-host |
bin-true |
67,405 |
0 |
0 |
0 |
8 |
0 |
1,988 |
61 |
dash |
17 |
no-host |
bin-true |
764,377 |
0 |
0 |
0 |
8 |
0 |
2,000 |
389 |
osh-cpython |
25 |
no-host |
bin-true |
126,232 |
0 |
0 |
0 |
16 |
0 |
1,988 |
97 |
osh-native |
33 |
no-host |
bin-true |
125,279 |
0 |
0 |
0 |
16 |
0 |
1,993 |
68 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,226,914 |
0 |
0 |
0 |
32,928 |
0 |
14,515 |
1,074 |
bash |
10 |
no-host |
configure.cpython |
2,244,783 |
0 |
0 |
0 |
32,992 |
0 |
14,604 |
1,002 |
dash |
18 |
no-host |
configure.cpython |
6,223,541 |
0 |
0 |
0 |
27,512 |
0 |
13,228 |
1,251 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,229,720 |
1 |
0 |
0 |
27,520 |
0 |
13,230 |
1,234 |
osh-native |
34 |
no-host |
configure.cpython |
2,208,314 |
0 |
0 |
0 |
27,520 |
0 |
13,204 |
1,012 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,188 |
0 |
0 |
0 |
5,120 |
0 |
1,947 |
152 |
bash |
12 |
no-host |
configure.ocaml |
390,794 |
0 |
0 |
0 |
5,112 |
0 |
1,901 |
161 |
dash |
20 |
no-host |
configure.ocaml |
646,616 |
0 |
0 |
0 |
5,112 |
0 |
1,862 |
172 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,804 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
159 |
osh-native |
36 |
no-host |
configure.ocaml |
412,370 |
0 |
0 |
0 |
5,120 |
0 |
1,934 |
226 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,536 |
0 |
0 |
0 |
104 |
0 |
49 |
5 |
bash |
13 |
no-host |
configure.tcc |
5,476 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
24,043 |
0 |
0 |
0 |
96 |
0 |
53 |
8 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,964 |
0 |
0 |
0 |
104 |
0 |
47 |
5 |
osh-native |
37 |
no-host |
configure.tcc |
6,936 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,110,941 |
0 |
0 |
0 |
42,400 |
0 |
18,515 |
1,037 |
bash |
11 |
no-host |
configure.util-linux |
2,257,448 |
1 |
0 |
0 |
42,584 |
0 |
17,466 |
1,013 |
dash |
19 |
no-host |
configure.util-linux |
5,375,511 |
6 |
0 |
0 |
39,120 |
0 |
16,962 |
1,237 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,004,569 |
0 |
0 |
0 |
39,120 |
0 |
17,108 |
917 |
osh-native |
35 |
no-host |
configure.util-linux |
1,996,289 |
0 |
0 |
0 |
39,128 |
0 |
16,893 |
1,013 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,535 |
0 |
0 |
0 |
4,120 |
0 |
875 |
79 |
bash |
14 |
no-host |
configure.yash |
244,211 |
0 |
0 |
0 |
3,720 |
0 |
866 |
74 |
dash |
22 |
no-host |
configure.yash |
388,235 |
0 |
0 |
0 |
3,728 |
0 |
855 |
85 |
osh-cpython |
30 |
no-host |
configure.yash |
256,986 |
0 |
0 |
0 |
3,736 |
0 |
846 |
87 |
osh-native |
38 |
no-host |
configure.yash |
258,216 |
0 |
0 |
0 |
3,736 |
0 |
847 |
89 |
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,936 |
0 |
0 |
0 |
8 |
0 |
7 |
6 |
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