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 |
470 |
22 |
21 |
24.10 |
1.11 |
bin-true |
no-host |
660 |
527 |
2,321 |
798 |
795 |
3.52 |
1.21 |
configure.cpython |
no-host |
14,698 |
14,767 |
28,588 |
14,915 |
14,841 |
1.94 |
1.01 |
configure.ocaml |
no-host |
3,769 |
3,704 |
4,633 |
3,780 |
3,757 |
1.23 |
1.00 |
configure.tcc |
no-host |
46 |
41 |
208 |
48 |
47 |
4.53 |
1.05 |
configure.util-linux |
no-host |
13,629 |
14,493 |
31,201 |
14,018 |
14,084 |
2.29 |
1.03 |
configure.yash |
no-host |
1,791 |
1,740 |
2,470 |
1,802 |
1,794 |
1.38 |
1.01 |
hello-world |
no-host |
1 |
1 |
57 |
3 |
3 |
41.53 |
2.02 |
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,550 |
1,110 |
23,949 |
3,211 |
3,102 |
9.39 |
1.26 |
bin-true |
no-host |
106,363 |
65,422 |
778,050 |
127,136 |
126,211 |
7.32 |
1.20 |
configure.cpython |
no-host |
2,002,451 |
2,022,700 |
6,053,294 |
2,003,453 |
1,993,472 |
3.02 |
1.00 |
configure.ocaml |
no-host |
373,126 |
353,633 |
610,655 |
376,009 |
375,911 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,095 |
5,012 |
23,824 |
6,481 |
6,435 |
3.91 |
1.06 |
configure.util-linux |
no-host |
1,900,340 |
2,076,041 |
5,242,736 |
1,808,784 |
1,802,635 |
2.76 |
0.95 |
configure.yash |
no-host |
233,625 |
222,459 |
367,150 |
234,887 |
234,712 |
1.57 |
1.01 |
hello-world |
no-host |
146 |
74 |
3,993 |
345 |
336 |
27.35 |
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.2 |
6.3 |
3,789 |
3,789 |
0 |
695 |
1,861 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
798 |
1 |
2 |
2.6 |
8.1 |
153,753 |
12,329 |
2,894 |
8,744 |
76,325 |
68,684 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,915 |
2 |
68 |
14.9 |
29.2 |
1,767,675 |
49,060 |
28,519 |
85,428 |
875,384 |
806,863 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,018 |
3 |
65 |
21.2 |
30.2 |
2,698,991 |
29,940 |
65,718 |
108,700 |
1,288,281 |
1,302,010 |
32,241 |
41 |
131,436 |
1 |
configure.ocaml |
no-host |
3,780 |
1 |
2 |
2.6 |
22.6 |
149,553 |
11,119 |
5,214 |
7,509 |
70,616 |
71,428 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.6 |
30,539 |
30,539 |
0 |
1,519 |
14,608 |
14,412 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,802 |
1 |
2 |
2.5 |
26.4 |
139,269 |
8,031 |
6,693 |
5,990 |
67,845 |
65,434 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,299 |
64,410 |
42,620 |
4,533 |
54,439 |
57,327 |
277 |
3 |
85,240 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,788 |
3,788 |
0 |
696 |
1,861 |
1,231 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
795 |
1 |
2 |
2.6 |
7.7 |
153,752 |
12,118 |
2,832 |
8,745 |
76,325 |
68,682 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,841 |
2 |
70 |
14.9 |
29.1 |
1,767,674 |
37,983 |
24,932 |
85,429 |
875,384 |
806,861 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,084 |
3 |
69 |
21.2 |
30.3 |
2,698,991 |
29,878 |
65,656 |
108,702 |
1,288,281 |
1,302,008 |
32,241 |
41 |
131,312 |
1 |
configure.ocaml |
no-host |
3,757 |
1 |
2 |
2.6 |
22.6 |
149,553 |
11,057 |
5,152 |
7,511 |
70,616 |
71,426 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.6 |
30,539 |
30,539 |
0 |
1,521 |
14,608 |
14,410 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,794 |
1 |
2 |
2.5 |
26.4 |
139,269 |
7,969 |
6,631 |
5,992 |
67,845 |
65,432 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,298 |
64,348 |
42,558 |
4,534 |
54,439 |
57,325 |
277 |
3 |
85,116 |
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 |
8 |
12 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
470 |
416 |
57 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
9 |
13 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
9 |
12 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
660 |
324 |
369 |
3.0 |
bash |
9 |
no-host |
bin-true |
527 |
279 |
260 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,321 |
805 |
1,786 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
798 |
293 |
520 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
795 |
298 |
512 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,698 |
6,632 |
8,477 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
14,767 |
6,591 |
8,616 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
28,588 |
14,211 |
16,297 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,915 |
6,605 |
8,605 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
14,841 |
6,485 |
8,636 |
29.1 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,769 |
1,335 |
1,477 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,704 |
1,304 |
1,421 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,633 |
1,861 |
1,989 |
22.5 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,780 |
1,310 |
1,511 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,757 |
1,319 |
1,479 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
22 |
24 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
41 |
21 |
20 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
208 |
143 |
68 |
19.7 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
24 |
25 |
19.6 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
17 |
31 |
19.6 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,629 |
5,752 |
8,374 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,493 |
5,938 |
9,084 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,201 |
17,688 |
14,620 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,018 |
5,591 |
8,647 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
14,084 |
5,694 |
8,621 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,791 |
931 |
869 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,740 |
882 |
863 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,470 |
1,342 |
1,172 |
26.3 |
osh-cpython |
30 |
no-host |
configure.yash |
1,802 |
895 |
911 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,794 |
875 |
924 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.3 |
dash |
16 |
no-host |
hello-world |
57 |
36 |
21 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
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,550 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,110 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,949 |
0 |
0 |
0 |
8 |
0 |
45 |
8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,211 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,102 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,363 |
0 |
0 |
0 |
8 |
0 |
1,991 |
320 |
bash |
9 |
no-host |
bin-true |
65,422 |
0 |
0 |
0 |
8 |
0 |
1,975 |
82 |
dash |
17 |
no-host |
bin-true |
778,050 |
0 |
0 |
0 |
8 |
0 |
1,973 |
347 |
osh-cpython |
25 |
no-host |
bin-true |
127,136 |
0 |
0 |
0 |
16 |
0 |
1,986 |
274 |
osh-native |
33 |
no-host |
bin-true |
126,211 |
0 |
0 |
0 |
16 |
0 |
1,980 |
205 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,002,451 |
0 |
0 |
0 |
32,928 |
0 |
14,250 |
1,114 |
bash |
10 |
no-host |
configure.cpython |
2,022,700 |
0 |
0 |
0 |
32,992 |
0 |
14,400 |
1,296 |
dash |
18 |
no-host |
configure.cpython |
6,053,294 |
0 |
0 |
0 |
27,512 |
0 |
13,076 |
1,206 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,003,453 |
0 |
0 |
0 |
27,520 |
0 |
13,086 |
1,031 |
osh-native |
34 |
no-host |
configure.cpython |
1,993,472 |
0 |
0 |
0 |
27,520 |
0 |
13,034 |
1,185 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,126 |
0 |
0 |
0 |
5,120 |
0 |
1,940 |
232 |
bash |
12 |
no-host |
configure.ocaml |
353,633 |
0 |
0 |
0 |
5,112 |
0 |
1,932 |
240 |
dash |
20 |
no-host |
configure.ocaml |
610,655 |
0 |
0 |
0 |
5,112 |
0 |
1,860 |
179 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,009 |
0 |
0 |
0 |
5,120 |
0 |
1,925 |
204 |
osh-native |
36 |
no-host |
configure.ocaml |
375,911 |
0 |
0 |
0 |
5,120 |
0 |
1,924 |
203 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,095 |
0 |
0 |
0 |
104 |
0 |
48 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,012 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,824 |
0 |
0 |
0 |
96 |
0 |
53 |
12 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,481 |
0 |
0 |
0 |
104 |
0 |
47 |
17 |
osh-native |
37 |
no-host |
configure.tcc |
6,435 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,900,340 |
0 |
0 |
0 |
42,400 |
0 |
18,466 |
1,272 |
bash |
11 |
no-host |
configure.util-linux |
2,076,041 |
0 |
0 |
0 |
42,584 |
0 |
17,327 |
1,428 |
dash |
19 |
no-host |
configure.util-linux |
5,242,736 |
10 |
0 |
0 |
39,112 |
0 |
17,012 |
1,300 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,808,784 |
0 |
0 |
0 |
39,120 |
0 |
16,922 |
1,174 |
osh-native |
35 |
no-host |
configure.util-linux |
1,802,635 |
0 |
0 |
0 |
39,128 |
0 |
16,930 |
1,110 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,625 |
0 |
0 |
0 |
4,120 |
0 |
869 |
96 |
bash |
14 |
no-host |
configure.yash |
222,459 |
0 |
0 |
0 |
3,720 |
0 |
871 |
89 |
dash |
22 |
no-host |
configure.yash |
367,150 |
0 |
0 |
0 |
3,728 |
0 |
855 |
118 |
osh-cpython |
30 |
no-host |
configure.yash |
234,887 |
0 |
0 |
0 |
3,736 |
0 |
849 |
95 |
osh-native |
38 |
no-host |
configure.yash |
234,712 |
0 |
0 |
0 |
3,736 |
0 |
847 |
79 |
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,993 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
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