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.58 |
1.15 |
bin-true |
no-host |
652 |
531 |
2,287 |
796 |
784 |
3.51 |
1.22 |
configure.cpython |
no-host |
14,969 |
15,132 |
28,766 |
14,961 |
14,897 |
1.92 |
1.00 |
configure.ocaml |
no-host |
3,846 |
3,694 |
4,657 |
3,775 |
3,762 |
1.21 |
0.98 |
configure.tcc |
no-host |
47 |
41 |
203 |
47 |
47 |
4.31 |
1.00 |
configure.util-linux |
no-host |
13,961 |
14,488 |
31,752 |
14,049 |
13,961 |
2.27 |
1.01 |
configure.yash |
no-host |
1,834 |
1,771 |
2,460 |
1,799 |
1,833 |
1.34 |
0.98 |
hello-world |
no-host |
1 |
1 |
57 |
3 |
3 |
42.82 |
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,520 |
1,131 |
23,945 |
3,170 |
3,091 |
9.50 |
1.26 |
bin-true |
no-host |
107,306 |
66,546 |
782,543 |
128,092 |
124,282 |
7.29 |
1.19 |
configure.cpython |
no-host |
2,004,093 |
2,028,857 |
6,066,092 |
2,006,196 |
1,997,699 |
3.03 |
1.00 |
configure.ocaml |
no-host |
373,321 |
353,708 |
611,467 |
376,411 |
375,029 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,102 |
5,029 |
23,764 |
6,486 |
6,439 |
3.89 |
1.06 |
configure.util-linux |
no-host |
1,902,270 |
2,069,222 |
5,222,509 |
1,807,723 |
1,795,583 |
2.75 |
0.95 |
configure.yash |
no-host |
233,660 |
221,171 |
368,140 |
234,849 |
235,227 |
1.58 |
1.01 |
hello-world |
no-host |
147 |
77 |
3,975 |
341 |
340 |
27.04 |
2.32 |
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,789 |
3,789 |
0 |
695 |
1,861 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
796 |
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,961 |
1 |
64 |
14.9 |
29.1 |
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,049 |
4 |
65 |
21.2 |
30.4 |
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,775 |
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 |
47 |
0 |
0 |
1.3 |
19.7 |
30,539 |
30,539 |
0 |
1,519 |
14,608 |
14,412 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,799 |
1 |
2 |
2.5 |
26.5 |
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.0 |
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 |
784 |
1 |
2 |
2.6 |
7.6 |
153,752 |
12,118 |
2,832 |
8,745 |
76,325 |
68,682 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,897 |
1 |
67 |
14.9 |
29.2 |
1,767,674 |
37,983 |
24,932 |
85,429 |
875,384 |
806,861 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,961 |
3 |
64 |
21.2 |
30.2 |
2,698,991 |
29,878 |
65,636 |
108,702 |
1,288,281 |
1,302,008 |
32,241 |
41 |
131,272 |
1 |
configure.ocaml |
no-host |
3,762 |
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.7 |
30,539 |
30,539 |
0 |
1,521 |
14,608 |
14,410 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,833 |
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.5 |
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 |
9 |
10 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
5 |
4 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
470 |
411 |
62 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
9 |
14 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
12 |
9 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
652 |
304 |
380 |
3.0 |
bash |
9 |
no-host |
bin-true |
531 |
270 |
273 |
1.3 |
dash |
17 |
no-host |
bin-true |
2,287 |
761 |
1,782 |
18.3 |
osh-cpython |
25 |
no-host |
bin-true |
796 |
294 |
517 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
784 |
287 |
514 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,969 |
6,715 |
8,641 |
29.3 |
bash |
10 |
no-host |
configure.cpython |
15,132 |
6,767 |
8,812 |
29.0 |
dash |
18 |
no-host |
configure.cpython |
28,766 |
14,248 |
16,419 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,961 |
6,532 |
8,663 |
29.1 |
osh-native |
34 |
no-host |
configure.cpython |
14,897 |
6,475 |
8,693 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,846 |
1,355 |
1,533 |
22.5 |
bash |
12 |
no-host |
configure.ocaml |
3,694 |
1,270 |
1,445 |
22.5 |
dash |
20 |
no-host |
configure.ocaml |
4,657 |
1,881 |
1,996 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,775 |
1,318 |
1,492 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,762 |
1,331 |
1,470 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
23 |
25 |
19.8 |
bash |
13 |
no-host |
configure.tcc |
41 |
25 |
16 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
203 |
146 |
61 |
19.7 |
osh-cpython |
29 |
no-host |
configure.tcc |
47 |
23 |
25 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
20 |
27 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,961 |
5,898 |
8,557 |
30.2 |
bash |
11 |
no-host |
configure.util-linux |
14,488 |
5,944 |
9,053 |
30.5 |
dash |
19 |
no-host |
configure.util-linux |
31,752 |
18,078 |
14,779 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,049 |
5,480 |
8,769 |
30.4 |
osh-native |
35 |
no-host |
configure.util-linux |
13,961 |
5,550 |
8,632 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,834 |
942 |
903 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,771 |
927 |
848 |
26.3 |
dash |
22 |
no-host |
configure.yash |
2,460 |
1,301 |
1,203 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,799 |
894 |
910 |
26.5 |
osh-native |
38 |
no-host |
configure.yash |
1,833 |
910 |
928 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
16 |
no-host |
hello-world |
57 |
36 |
21 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
2 |
1 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
2 |
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,520 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,131 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,945 |
0 |
0 |
0 |
8 |
0 |
44 |
4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,170 |
0 |
0 |
0 |
16 |
0 |
39 |
4 |
osh-native |
39 |
no-host |
abuild-print-help |
3,091 |
0 |
0 |
0 |
16 |
0 |
40 |
3 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,306 |
0 |
0 |
0 |
8 |
0 |
1,987 |
86 |
bash |
9 |
no-host |
bin-true |
66,546 |
0 |
0 |
0 |
8 |
0 |
1,990 |
82 |
dash |
17 |
no-host |
bin-true |
782,543 |
0 |
0 |
0 |
8 |
0 |
1,972 |
215 |
osh-cpython |
25 |
no-host |
bin-true |
128,092 |
0 |
0 |
0 |
16 |
0 |
1,970 |
102 |
osh-native |
33 |
no-host |
bin-true |
124,282 |
0 |
0 |
0 |
16 |
0 |
1,978 |
116 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,004,093 |
0 |
0 |
0 |
32,928 |
0 |
14,213 |
1,109 |
bash |
10 |
no-host |
configure.cpython |
2,028,857 |
0 |
0 |
0 |
32,992 |
0 |
14,362 |
1,288 |
dash |
18 |
no-host |
configure.cpython |
6,066,092 |
1 |
0 |
0 |
27,512 |
0 |
13,090 |
1,106 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,006,196 |
1 |
0 |
0 |
27,520 |
0 |
13,086 |
1,076 |
osh-native |
34 |
no-host |
configure.cpython |
1,997,699 |
0 |
0 |
0 |
27,520 |
0 |
13,016 |
1,026 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,321 |
0 |
0 |
0 |
5,120 |
0 |
1,948 |
191 |
bash |
12 |
no-host |
configure.ocaml |
353,708 |
0 |
0 |
0 |
5,112 |
0 |
1,934 |
171 |
dash |
20 |
no-host |
configure.ocaml |
611,467 |
0 |
0 |
0 |
5,112 |
0 |
1,863 |
172 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,411 |
0 |
0 |
0 |
5,120 |
0 |
1,922 |
207 |
osh-native |
36 |
no-host |
configure.ocaml |
375,029 |
0 |
0 |
0 |
5,120 |
0 |
1,923 |
217 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,102 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,029 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,764 |
0 |
0 |
0 |
96 |
0 |
52 |
6 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,486 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,439 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,902,270 |
1 |
0 |
0 |
42,400 |
0 |
18,362 |
1,151 |
bash |
11 |
no-host |
configure.util-linux |
2,069,222 |
0 |
0 |
0 |
42,584 |
0 |
17,355 |
1,363 |
dash |
19 |
no-host |
configure.util-linux |
5,222,509 |
3 |
0 |
0 |
39,120 |
0 |
16,990 |
1,324 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,807,723 |
0 |
0 |
0 |
39,120 |
0 |
16,985 |
1,276 |
osh-native |
35 |
no-host |
configure.util-linux |
1,795,583 |
0 |
0 |
0 |
39,128 |
0 |
17,067 |
1,174 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,660 |
0 |
0 |
0 |
4,120 |
0 |
867 |
90 |
bash |
14 |
no-host |
configure.yash |
221,171 |
0 |
0 |
0 |
3,720 |
0 |
867 |
89 |
dash |
22 |
no-host |
configure.yash |
368,140 |
0 |
0 |
0 |
3,728 |
0 |
853 |
90 |
osh-cpython |
30 |
no-host |
configure.yash |
234,849 |
0 |
0 |
0 |
3,736 |
0 |
847 |
98 |
osh-native |
38 |
no-host |
configure.yash |
235,227 |
0 |
0 |
0 |
3,736 |
0 |
849 |
84 |
osh-native-souffle |
0 |
no-host |
hello-world |
147 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
77 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,975 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
341 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
340 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host