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 |
479 |
22 |
20 |
25.87 |
1.19 |
bin-true |
no-host |
649 |
527 |
2,297 |
791 |
795 |
3.54 |
1.22 |
configure.cpython |
no-host |
14,815 |
14,810 |
28,815 |
15,008 |
14,945 |
1.94 |
1.01 |
configure.ocaml |
no-host |
3,797 |
3,704 |
4,644 |
3,801 |
3,783 |
1.22 |
1.00 |
configure.tcc |
no-host |
46 |
40 |
203 |
50 |
47 |
4.38 |
1.07 |
configure.util-linux |
no-host |
13,757 |
14,587 |
31,380 |
14,091 |
14,012 |
2.28 |
1.02 |
configure.yash |
no-host |
1,830 |
1,750 |
2,462 |
1,814 |
1,804 |
1.35 |
0.99 |
hello-world |
no-host |
1 |
1 |
58 |
3 |
3 |
39.29 |
1.87 |
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,518 |
1,101 |
23,947 |
3,209 |
3,087 |
9.51 |
1.27 |
bin-true |
no-host |
105,351 |
66,441 |
779,890 |
127,185 |
127,246 |
7.40 |
1.21 |
configure.cpython |
no-host |
1,996,247 |
2,018,720 |
6,054,587 |
2,002,882 |
1,988,746 |
3.03 |
1.00 |
configure.ocaml |
no-host |
373,119 |
353,912 |
611,365 |
376,103 |
375,471 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,084 |
5,012 |
23,764 |
6,524 |
6,447 |
3.91 |
1.07 |
configure.util-linux |
no-host |
1,903,934 |
2,067,000 |
5,228,735 |
1,807,097 |
1,801,855 |
2.75 |
0.95 |
configure.yash |
no-host |
233,159 |
221,826 |
366,307 |
234,916 |
234,959 |
1.57 |
1.01 |
hello-world |
no-host |
151 |
80 |
3,998 |
345 |
338 |
26.48 |
2.28 |
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 |
791 |
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 |
15,008 |
1 |
67 |
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,091 |
3 |
66 |
21.2 |
30.3 |
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,801 |
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 |
50 |
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,814 |
1 |
2 |
2.5 |
26.3 |
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 |
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,945 |
2 |
66 |
14.9 |
29.3 |
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,012 |
3 |
63 |
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,783 |
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.5 |
30,539 |
30,539 |
0 |
1,521 |
14,608 |
14,410 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,804 |
1 |
2 |
2.5 |
26.5 |
139,269 |
7,969 |
6,631 |
5,992 |
67,845 |
65,432 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
20 |
1 |
2 |
2.8 |
8.3 |
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 |
10 |
9 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
5 |
5 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
479 |
429 |
53 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
10 |
13 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
12 |
9 |
8.3 |
osh-native-souffle |
1 |
no-host |
bin-true |
649 |
302 |
380 |
2.9 |
bash |
9 |
no-host |
bin-true |
527 |
276 |
262 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,297 |
784 |
1,779 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
791 |
309 |
500 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
795 |
285 |
525 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,815 |
6,687 |
8,544 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
14,810 |
6,722 |
8,531 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
28,815 |
14,311 |
16,445 |
29.1 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,008 |
6,586 |
8,708 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
14,945 |
6,618 |
8,601 |
29.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,797 |
1,338 |
1,490 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,704 |
1,277 |
1,449 |
22.5 |
dash |
20 |
no-host |
configure.ocaml |
4,644 |
1,853 |
2,007 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,801 |
1,301 |
1,541 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,783 |
1,264 |
1,555 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
21 |
26 |
19.8 |
bash |
13 |
no-host |
configure.tcc |
40 |
16 |
24 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
203 |
136 |
71 |
19.5 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
21 |
29 |
19.6 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
20 |
28 |
19.5 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,757 |
5,838 |
8,420 |
30.2 |
bash |
11 |
no-host |
configure.util-linux |
14,587 |
5,854 |
9,262 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,380 |
17,807 |
14,689 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,091 |
5,594 |
8,721 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,012 |
5,523 |
8,709 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,830 |
883 |
956 |
26.3 |
bash |
14 |
no-host |
configure.yash |
1,750 |
899 |
856 |
26.3 |
dash |
22 |
no-host |
configure.yash |
2,462 |
1,384 |
1,122 |
26.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,814 |
912 |
907 |
26.3 |
osh-native |
38 |
no-host |
configure.yash |
1,804 |
914 |
895 |
26.5 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
16 |
no-host |
hello-world |
58 |
37 |
22 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
2 |
1 |
6.4 |
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,518 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,101 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,947 |
0 |
0 |
0 |
8 |
0 |
45 |
4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,209 |
0 |
0 |
0 |
16 |
0 |
39 |
4 |
osh-native |
39 |
no-host |
abuild-print-help |
3,087 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,351 |
0 |
0 |
0 |
8 |
0 |
1,982 |
147 |
bash |
9 |
no-host |
bin-true |
66,441 |
0 |
0 |
0 |
8 |
0 |
1,964 |
80 |
dash |
17 |
no-host |
bin-true |
779,890 |
0 |
0 |
0 |
8 |
0 |
1,978 |
184 |
osh-cpython |
25 |
no-host |
bin-true |
127,185 |
0 |
0 |
0 |
16 |
0 |
1,988 |
108 |
osh-native |
33 |
no-host |
bin-true |
127,246 |
0 |
0 |
0 |
16 |
0 |
1,977 |
195 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,996,247 |
0 |
0 |
0 |
32,928 |
0 |
14,208 |
1,228 |
bash |
10 |
no-host |
configure.cpython |
2,018,720 |
0 |
0 |
0 |
32,992 |
0 |
14,332 |
1,122 |
dash |
18 |
no-host |
configure.cpython |
6,054,587 |
1 |
0 |
0 |
27,512 |
0 |
13,104 |
1,179 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,002,882 |
0 |
0 |
0 |
27,520 |
0 |
13,086 |
1,108 |
osh-native |
34 |
no-host |
configure.cpython |
1,988,746 |
0 |
0 |
0 |
27,520 |
0 |
13,054 |
1,149 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,119 |
0 |
0 |
0 |
5,120 |
0 |
1,950 |
198 |
bash |
12 |
no-host |
configure.ocaml |
353,912 |
0 |
0 |
0 |
5,112 |
0 |
1,939 |
175 |
dash |
20 |
no-host |
configure.ocaml |
611,365 |
0 |
0 |
0 |
5,112 |
0 |
1,850 |
197 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,103 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
203 |
osh-native |
36 |
no-host |
configure.ocaml |
375,471 |
0 |
0 |
0 |
5,120 |
0 |
1,921 |
196 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,084 |
0 |
0 |
0 |
104 |
0 |
49 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,012 |
0 |
0 |
0 |
96 |
0 |
47 |
0 |
dash |
21 |
no-host |
configure.tcc |
23,764 |
0 |
0 |
0 |
96 |
0 |
53 |
4 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,524 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,447 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,903,934 |
0 |
0 |
0 |
42,400 |
0 |
18,399 |
1,196 |
bash |
11 |
no-host |
configure.util-linux |
2,067,000 |
1 |
0 |
0 |
42,584 |
0 |
17,246 |
1,375 |
dash |
19 |
no-host |
configure.util-linux |
5,228,735 |
11 |
0 |
0 |
39,144 |
0 |
17,032 |
1,357 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,807,097 |
0 |
0 |
0 |
39,120 |
0 |
16,985 |
1,191 |
osh-native |
35 |
no-host |
configure.util-linux |
1,801,855 |
1 |
0 |
0 |
39,128 |
0 |
16,995 |
1,213 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,159 |
0 |
0 |
0 |
4,120 |
0 |
867 |
99 |
bash |
14 |
no-host |
configure.yash |
221,826 |
0 |
0 |
0 |
3,720 |
0 |
870 |
90 |
dash |
22 |
no-host |
configure.yash |
366,307 |
0 |
0 |
0 |
3,728 |
0 |
853 |
77 |
osh-cpython |
30 |
no-host |
configure.yash |
234,916 |
0 |
0 |
0 |
3,736 |
0 |
842 |
92 |
osh-native |
38 |
no-host |
configure.yash |
234,959 |
0 |
0 |
0 |
3,736 |
0 |
852 |
96 |
osh-native-souffle |
0 |
no-host |
hello-world |
151 |
0 |
0 |
0 |
8 |
0 |
1 |
1 |
bash |
8 |
no-host |
hello-world |
80 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,998 |
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 |
338 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host