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 |
18 |
9 |
471 |
22 |
20 |
25.83 |
1.19 |
bin-true |
no-host |
649 |
525 |
2,299 |
784 |
792 |
3.54 |
1.21 |
configure.cpython |
no-host |
14,499 |
14,529 |
28,136 |
14,752 |
14,970 |
1.94 |
1.02 |
configure.ocaml |
no-host |
3,705 |
3,666 |
4,588 |
3,763 |
3,729 |
1.24 |
1.02 |
configure.tcc |
no-host |
46 |
40 |
201 |
47 |
47 |
4.37 |
1.02 |
configure.util-linux |
no-host |
13,471 |
14,341 |
30,817 |
13,875 |
13,797 |
2.29 |
1.03 |
configure.yash |
no-host |
1,794 |
1,719 |
2,420 |
1,805 |
1,775 |
1.35 |
1.01 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
42.45 |
2.11 |
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,534 |
1,086 |
23,935 |
3,169 |
3,068 |
9.45 |
1.25 |
bin-true |
no-host |
103,375 |
65,438 |
778,336 |
128,150 |
128,162 |
7.53 |
1.24 |
configure.cpython |
no-host |
2,001,115 |
2,018,434 |
6,040,338 |
2,009,867 |
1,993,775 |
3.02 |
1.00 |
configure.ocaml |
no-host |
373,730 |
354,029 |
612,283 |
376,089 |
375,925 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,101 |
5,005 |
23,657 |
6,481 |
6,435 |
3.88 |
1.06 |
configure.util-linux |
no-host |
1,900,605 |
2,071,337 |
5,225,066 |
1,811,086 |
1,805,751 |
2.75 |
0.95 |
configure.yash |
no-host |
234,030 |
222,253 |
366,738 |
235,932 |
235,421 |
1.57 |
1.01 |
hello-world |
no-host |
146 |
74 |
3,958 |
345 |
335 |
27.11 |
2.36 |
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.4 |
3,799 |
3,799 |
0 |
699 |
1,867 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
784 |
1 |
2 |
2.6 |
8.1 |
153,766 |
12,331 |
2,895 |
8,751 |
76,334 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,752 |
1 |
63 |
15.3 |
29.2 |
1,773,757 |
49,822 |
28,520 |
91,504 |
881,462 |
800,791 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,875 |
3 |
62 |
21.6 |
30.2 |
2,704,668 |
53,751 |
65,719 |
114,371 |
1,293,954 |
1,296,343 |
32,241 |
41 |
131,438 |
1 |
configure.ocaml |
no-host |
3,763 |
1 |
2 |
2.6 |
22.6 |
149,782 |
11,148 |
5,215 |
7,732 |
70,841 |
71,209 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.7 |
30,567 |
30,567 |
0 |
1,541 |
14,632 |
14,394 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,805 |
1 |
2 |
2.6 |
26.4 |
139,678 |
8,035 |
6,694 |
6,393 |
68,250 |
65,035 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,315 |
64,413 |
42,621 |
4,543 |
54,451 |
57,321 |
277 |
3 |
85,242 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.9 |
3,798 |
3,798 |
0 |
700 |
1,867 |
1,231 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
792 |
1 |
2 |
2.6 |
7.7 |
153,765 |
12,326 |
2,890 |
8,752 |
76,334 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,970 |
1 |
65 |
15.3 |
29.1 |
1,773,756 |
49,817 |
28,515 |
91,505 |
881,462 |
800,789 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,797 |
3 |
64 |
21.6 |
30.3 |
2,704,668 |
53,734 |
65,714 |
114,373 |
1,293,954 |
1,296,341 |
32,241 |
41 |
131,428 |
1 |
configure.ocaml |
no-host |
3,729 |
1 |
2 |
2.6 |
22.6 |
149,782 |
11,143 |
5,210 |
7,734 |
70,841 |
71,207 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.7 |
30,567 |
30,567 |
0 |
1,543 |
14,632 |
14,392 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,775 |
1 |
2 |
2.6 |
26.3 |
139,678 |
8,030 |
6,689 |
6,395 |
68,250 |
65,033 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
20 |
1 |
2 |
2.8 |
8.4 |
116,314 |
64,408 |
42,616 |
4,544 |
54,451 |
57,319 |
277 |
3 |
85,232 |
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 |
18 |
10 |
8 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
471 |
412 |
63 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
11 |
11 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
9 |
11 |
8.4 |
osh-native-souffle |
1 |
no-host |
bin-true |
649 |
300 |
383 |
3.0 |
bash |
9 |
no-host |
bin-true |
525 |
267 |
268 |
1.3 |
dash |
17 |
no-host |
bin-true |
2,299 |
772 |
1,794 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
784 |
296 |
505 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
792 |
289 |
518 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,499 |
6,553 |
8,356 |
29.0 |
bash |
10 |
no-host |
configure.cpython |
14,529 |
6,622 |
8,336 |
28.9 |
dash |
18 |
no-host |
configure.cpython |
28,136 |
14,005 |
16,031 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,752 |
6,451 |
8,585 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
14,970 |
6,538 |
8,598 |
29.1 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,705 |
1,259 |
1,486 |
22.5 |
bash |
12 |
no-host |
configure.ocaml |
3,666 |
1,262 |
1,424 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,588 |
1,854 |
1,951 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,763 |
1,302 |
1,501 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,729 |
1,264 |
1,504 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
18 |
29 |
19.6 |
bash |
13 |
no-host |
configure.tcc |
40 |
21 |
19 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
201 |
143 |
63 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
47 |
22 |
26 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
20 |
28 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,471 |
5,747 |
8,210 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,341 |
5,787 |
9,074 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
30,817 |
17,650 |
14,271 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
13,875 |
5,662 |
8,436 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
13,797 |
5,600 |
8,418 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,794 |
930 |
860 |
26.5 |
bash |
14 |
no-host |
configure.yash |
1,719 |
897 |
826 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,420 |
1,345 |
1,118 |
26.3 |
osh-cpython |
30 |
no-host |
configure.yash |
1,805 |
890 |
920 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,775 |
882 |
898 |
26.3 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
41 |
15 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
2 |
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,534 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,086 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,935 |
0 |
0 |
0 |
8 |
0 |
45 |
4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,169 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,068 |
0 |
0 |
0 |
16 |
0 |
39 |
4 |
osh-native-souffle |
1 |
no-host |
bin-true |
103,375 |
0 |
0 |
0 |
8 |
0 |
1,990 |
170 |
bash |
9 |
no-host |
bin-true |
65,438 |
0 |
0 |
0 |
8 |
0 |
1,970 |
118 |
dash |
17 |
no-host |
bin-true |
778,336 |
0 |
0 |
0 |
8 |
0 |
1,978 |
232 |
osh-cpython |
25 |
no-host |
bin-true |
128,150 |
0 |
0 |
0 |
16 |
0 |
1,985 |
90 |
osh-native |
33 |
no-host |
bin-true |
128,162 |
0 |
0 |
0 |
16 |
0 |
1,977 |
229 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,001,115 |
0 |
0 |
0 |
32,928 |
0 |
14,207 |
1,159 |
bash |
10 |
no-host |
configure.cpython |
2,018,434 |
0 |
0 |
0 |
32,992 |
0 |
14,382 |
1,183 |
dash |
18 |
no-host |
configure.cpython |
6,040,338 |
0 |
0 |
0 |
27,512 |
0 |
13,054 |
1,144 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,009,867 |
0 |
0 |
0 |
27,520 |
0 |
13,151 |
1,208 |
osh-native |
34 |
no-host |
configure.cpython |
1,993,775 |
0 |
0 |
0 |
27,520 |
0 |
13,082 |
1,057 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,730 |
0 |
0 |
0 |
5,120 |
0 |
1,944 |
189 |
bash |
12 |
no-host |
configure.ocaml |
354,029 |
0 |
0 |
0 |
5,112 |
0 |
1,934 |
187 |
dash |
20 |
no-host |
configure.ocaml |
612,283 |
0 |
0 |
0 |
5,112 |
0 |
1,855 |
193 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,089 |
0 |
0 |
0 |
5,120 |
0 |
1,918 |
202 |
osh-native |
36 |
no-host |
configure.ocaml |
375,925 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
228 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,101 |
0 |
0 |
0 |
104 |
0 |
48 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,005 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
23,657 |
0 |
0 |
0 |
96 |
0 |
53 |
5 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,481 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,435 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,900,605 |
0 |
0 |
0 |
42,400 |
0 |
18,435 |
1,200 |
bash |
11 |
no-host |
configure.util-linux |
2,071,337 |
0 |
0 |
0 |
42,592 |
0 |
17,240 |
1,454 |
dash |
19 |
no-host |
configure.util-linux |
5,225,066 |
4 |
0 |
0 |
39,112 |
0 |
17,044 |
1,382 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,811,086 |
0 |
0 |
0 |
39,120 |
0 |
16,996 |
1,290 |
osh-native |
35 |
no-host |
configure.util-linux |
1,805,751 |
0 |
0 |
0 |
39,128 |
0 |
17,013 |
1,253 |
osh-native-souffle |
6 |
no-host |
configure.yash |
234,030 |
0 |
0 |
0 |
4,120 |
0 |
878 |
102 |
bash |
14 |
no-host |
configure.yash |
222,253 |
0 |
0 |
0 |
3,720 |
0 |
867 |
104 |
dash |
22 |
no-host |
configure.yash |
366,738 |
0 |
0 |
0 |
3,728 |
0 |
853 |
82 |
osh-cpython |
30 |
no-host |
configure.yash |
235,932 |
0 |
0 |
0 |
3,736 |
0 |
848 |
116 |
osh-native |
38 |
no-host |
configure.yash |
235,421 |
0 |
0 |
0 |
3,736 |
0 |
852 |
100 |
osh-native-souffle |
0 |
no-host |
hello-world |
146 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
74 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,958 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
335 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host