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 |
480 |
21 |
21 |
25.57 |
1.13 |
bin-true |
no-host |
643 |
527 |
2,354 |
785 |
785 |
3.66 |
1.22 |
configure.cpython |
no-host |
14,455 |
14,539 |
28,536 |
14,709 |
14,780 |
1.97 |
1.02 |
configure.ocaml |
no-host |
3,710 |
3,644 |
4,597 |
3,735 |
3,745 |
1.24 |
1.01 |
configure.tcc |
no-host |
46 |
40 |
206 |
47 |
47 |
4.47 |
1.02 |
configure.util-linux |
no-host |
13,468 |
14,270 |
31,104 |
13,867 |
13,778 |
2.31 |
1.03 |
configure.yash |
no-host |
1,793 |
1,720 |
2,418 |
1,772 |
1,769 |
1.35 |
0.99 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
42.41 |
2.07 |
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,112 |
24,171 |
3,220 |
3,120 |
9.50 |
1.27 |
bin-true |
no-host |
103,371 |
66,397 |
809,260 |
127,145 |
127,093 |
7.83 |
1.23 |
configure.cpython |
no-host |
1,999,993 |
2,025,787 |
6,117,089 |
2,016,054 |
2,006,452 |
3.06 |
1.01 |
configure.ocaml |
no-host |
373,402 |
354,229 |
616,316 |
376,970 |
376,431 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,087 |
5,002 |
24,083 |
6,525 |
6,462 |
3.96 |
1.07 |
configure.util-linux |
no-host |
1,911,491 |
2,072,848 |
5,302,581 |
1,818,037 |
1,799,726 |
2.77 |
0.95 |
configure.yash |
no-host |
232,786 |
221,291 |
369,685 |
234,717 |
233,325 |
1.59 |
1.01 |
hello-world |
no-host |
148 |
76 |
3,963 |
347 |
338 |
26.78 |
2.34 |
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.3 |
6.3 |
3,805 |
3,805 |
0 |
700 |
1,870 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
785 |
1 |
2 |
2.6 |
8.1 |
153,772 |
12,413 |
2,901 |
8,752 |
76,337 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,709 |
1 |
63 |
15.3 |
29.2 |
1,773,763 |
49,828 |
28,526 |
91,505 |
881,465 |
800,793 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,867 |
3 |
64 |
21.6 |
30.3 |
2,704,674 |
53,757 |
65,725 |
114,372 |
1,293,957 |
1,296,345 |
32,241 |
41 |
131,450 |
1 |
configure.ocaml |
no-host |
3,735 |
1 |
2 |
2.6 |
22.6 |
149,788 |
11,154 |
5,221 |
7,733 |
70,844 |
71,211 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.6 |
30,573 |
30,573 |
0 |
1,542 |
14,635 |
14,396 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,772 |
1 |
2 |
2.6 |
26.3 |
139,684 |
8,041 |
6,700 |
6,394 |
68,253 |
65,037 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
9.2 |
116,321 |
64,419 |
42,627 |
4,544 |
54,454 |
57,323 |
277 |
3 |
85,254 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.9 |
3,804 |
3,804 |
0 |
701 |
1,870 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
785 |
1 |
2 |
2.6 |
7.7 |
153,771 |
12,332 |
2,896 |
8,753 |
76,337 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,780 |
1 |
62 |
15.3 |
29.1 |
1,773,762 |
49,823 |
28,521 |
91,506 |
881,465 |
800,791 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,778 |
3 |
62 |
21.6 |
30.1 |
2,704,674 |
53,734 |
65,720 |
114,374 |
1,293,957 |
1,296,343 |
32,241 |
41 |
131,440 |
1 |
configure.ocaml |
no-host |
3,745 |
1 |
2 |
2.6 |
22.5 |
149,788 |
11,149 |
5,216 |
7,735 |
70,844 |
71,209 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.6 |
30,573 |
30,573 |
0 |
1,544 |
14,635 |
14,394 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,769 |
1 |
2 |
2.6 |
26.3 |
139,684 |
8,030 |
6,689 |
6,396 |
68,253 |
65,035 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.5 |
116,320 |
64,414 |
42,622 |
4,545 |
54,454 |
57,321 |
277 |
3 |
85,244 |
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 |
10 |
10 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
480 |
420 |
63 |
22.9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
21 |
11 |
11 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
9 |
12 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
643 |
302 |
374 |
3.0 |
bash |
9 |
no-host |
bin-true |
527 |
273 |
266 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,354 |
806 |
1,809 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
785 |
294 |
508 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
785 |
290 |
511 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,455 |
6,536 |
8,332 |
29.1 |
bash |
10 |
no-host |
configure.cpython |
14,539 |
6,646 |
8,322 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
28,536 |
14,086 |
16,339 |
29.1 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,709 |
6,483 |
8,507 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
14,780 |
6,458 |
8,488 |
29.1 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,710 |
1,319 |
1,434 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,644 |
1,254 |
1,412 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,597 |
1,865 |
1,953 |
22.5 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,735 |
1,343 |
1,435 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,745 |
1,294 |
1,491 |
22.5 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
19 |
28 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
40 |
23 |
17 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
206 |
134 |
76 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
47 |
27 |
21 |
19.6 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
18 |
29 |
19.6 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,468 |
5,850 |
8,111 |
30.2 |
bash |
11 |
no-host |
configure.util-linux |
14,270 |
5,748 |
9,038 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,104 |
17,764 |
14,418 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
13,867 |
5,558 |
8,532 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
13,778 |
5,514 |
8,485 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,793 |
903 |
899 |
26.3 |
bash |
14 |
no-host |
configure.yash |
1,720 |
875 |
849 |
26.5 |
dash |
22 |
no-host |
configure.yash |
2,418 |
1,336 |
1,125 |
26.3 |
osh-cpython |
30 |
no-host |
configure.yash |
1,772 |
899 |
878 |
26.3 |
osh-native |
38 |
no-host |
configure.yash |
1,769 |
906 |
867 |
26.3 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
37 |
20 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
1 |
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 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,112 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,171 |
0 |
0 |
0 |
8 |
0 |
45 |
8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,220 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,120 |
0 |
0 |
0 |
16 |
0 |
39 |
6 |
osh-native-souffle |
1 |
no-host |
bin-true |
103,371 |
0 |
0 |
0 |
8 |
0 |
1,979 |
166 |
bash |
9 |
no-host |
bin-true |
66,397 |
0 |
0 |
0 |
8 |
0 |
1,974 |
95 |
dash |
17 |
no-host |
bin-true |
809,260 |
0 |
0 |
0 |
8 |
0 |
1,970 |
204 |
osh-cpython |
25 |
no-host |
bin-true |
127,145 |
0 |
0 |
0 |
16 |
0 |
1,974 |
98 |
osh-native |
33 |
no-host |
bin-true |
127,093 |
0 |
0 |
0 |
16 |
0 |
1,978 |
97 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,999,993 |
0 |
0 |
0 |
32,928 |
0 |
14,236 |
1,125 |
bash |
10 |
no-host |
configure.cpython |
2,025,787 |
0 |
0 |
0 |
32,992 |
0 |
14,319 |
1,212 |
dash |
18 |
no-host |
configure.cpython |
6,117,089 |
0 |
0 |
0 |
27,512 |
0 |
13,061 |
1,173 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,016,054 |
1 |
0 |
0 |
27,520 |
0 |
13,160 |
1,097 |
osh-native |
34 |
no-host |
configure.cpython |
2,006,452 |
0 |
0 |
0 |
27,520 |
0 |
13,119 |
1,088 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,402 |
0 |
0 |
0 |
5,120 |
0 |
1,948 |
210 |
bash |
12 |
no-host |
configure.ocaml |
354,229 |
0 |
0 |
0 |
5,112 |
0 |
1,941 |
165 |
dash |
20 |
no-host |
configure.ocaml |
616,316 |
0 |
0 |
0 |
5,112 |
0 |
1,853 |
194 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,970 |
0 |
0 |
0 |
5,120 |
0 |
1,934 |
206 |
osh-native |
36 |
no-host |
configure.ocaml |
376,431 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
189 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,087 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,002 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,083 |
0 |
0 |
0 |
96 |
0 |
53 |
11 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,525 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,462 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,911,491 |
0 |
0 |
0 |
42,400 |
0 |
18,426 |
1,274 |
bash |
11 |
no-host |
configure.util-linux |
2,072,848 |
1 |
0 |
0 |
42,592 |
0 |
17,311 |
1,299 |
dash |
19 |
no-host |
configure.util-linux |
5,302,581 |
12 |
0 |
0 |
39,112 |
0 |
17,013 |
1,378 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,818,037 |
2 |
0 |
0 |
39,128 |
0 |
16,988 |
1,170 |
osh-native |
35 |
no-host |
configure.util-linux |
1,799,726 |
2 |
0 |
0 |
39,136 |
0 |
16,884 |
1,199 |
osh-native-souffle |
6 |
no-host |
configure.yash |
232,786 |
0 |
0 |
0 |
4,120 |
0 |
870 |
99 |
bash |
14 |
no-host |
configure.yash |
221,291 |
0 |
0 |
0 |
3,720 |
0 |
870 |
94 |
dash |
22 |
no-host |
configure.yash |
369,685 |
0 |
0 |
0 |
3,728 |
0 |
848 |
114 |
osh-cpython |
30 |
no-host |
configure.yash |
234,717 |
0 |
0 |
0 |
3,736 |
0 |
850 |
100 |
osh-native |
38 |
no-host |
configure.yash |
233,325 |
0 |
0 |
0 |
3,736 |
0 |
851 |
104 |
osh-native-souffle |
0 |
no-host |
hello-world |
148 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
76 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,963 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
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 |
1 |
0 |
osh-native-souffle |
Shell and Host