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 |
459 |
22 |
21 |
23.80 |
1.14 |
bin-true |
no-host |
673 |
536 |
2,280 |
807 |
805 |
3.39 |
1.20 |
configure.cpython |
no-host |
14,947 |
15,024 |
28,782 |
15,213 |
15,339 |
1.93 |
1.02 |
configure.ocaml |
no-host |
3,833 |
3,723 |
4,638 |
3,804 |
3,815 |
1.21 |
0.99 |
configure.tcc |
no-host |
48 |
41 |
206 |
49 |
48 |
4.29 |
1.02 |
configure.util-linux |
no-host |
13,983 |
14,779 |
31,387 |
14,292 |
14,236 |
2.24 |
1.02 |
configure.yash |
no-host |
1,807 |
1,774 |
2,464 |
1,819 |
1,824 |
1.36 |
1.01 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
37.74 |
1.91 |
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,104 |
23,499 |
3,164 |
3,128 |
9.32 |
1.26 |
bin-true |
no-host |
104,371 |
66,444 |
761,640 |
125,216 |
124,206 |
7.30 |
1.20 |
configure.cpython |
no-host |
2,222,005 |
2,245,721 |
6,210,067 |
2,224,129 |
2,218,522 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,724 |
391,112 |
645,145 |
413,328 |
412,197 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,552 |
5,462 |
23,926 |
6,953 |
6,899 |
3.65 |
1.06 |
configure.util-linux |
no-host |
2,096,798 |
2,256,400 |
5,353,800 |
2,001,527 |
1,996,765 |
2.55 |
0.95 |
configure.yash |
no-host |
254,901 |
245,058 |
386,534 |
258,086 |
257,883 |
1.52 |
1.01 |
hello-world |
no-host |
152 |
82 |
3,951 |
343 |
337 |
25.99 |
2.26 |
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 |
694 |
1,861 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
807 |
1 |
2 |
2.6 |
7.7 |
153,753 |
12,329 |
2,894 |
8,743 |
76,325 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,213 |
1 |
61 |
14.9 |
27.5 |
1,771,800 |
49,612 |
28,519 |
85,427 |
878,134 |
808,239 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,292 |
3 |
60 |
21.2 |
30.1 |
2,702,546 |
45,807 |
65,718 |
108,699 |
1,290,651 |
1,303,196 |
32,241 |
41 |
131,436 |
1 |
configure.ocaml |
no-host |
3,804 |
1 |
2 |
2.6 |
20.4 |
150,087 |
11,119 |
5,214 |
7,508 |
70,972 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.3 |
30,593 |
30,593 |
0 |
1,518 |
14,644 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,819 |
1 |
2 |
2.5 |
24.4 |
139,419 |
8,031 |
6,693 |
5,989 |
67,945 |
65,485 |
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,532 |
54,439 |
57,328 |
277 |
3 |
85,240 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,788 |
3,788 |
0 |
695 |
1,861 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
805 |
1 |
2 |
2.6 |
7.7 |
153,752 |
12,118 |
2,832 |
8,744 |
76,325 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,339 |
1 |
60 |
14.9 |
27.4 |
1,771,799 |
49,070 |
28,457 |
85,428 |
878,134 |
808,237 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,236 |
3 |
60 |
21.2 |
30.1 |
2,702,546 |
53,700 |
65,656 |
108,701 |
1,290,651 |
1,303,194 |
32,241 |
41 |
131,312 |
1 |
configure.ocaml |
no-host |
3,815 |
1 |
2 |
2.6 |
20.6 |
150,087 |
11,057 |
5,152 |
7,510 |
70,972 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.4 |
30,593 |
30,593 |
0 |
1,520 |
14,644 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,824 |
1 |
2 |
2.5 |
24.2 |
139,419 |
7,969 |
6,631 |
5,991 |
67,945 |
65,483 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.4 |
116,298 |
64,348 |
42,558 |
4,533 |
54,439 |
57,326 |
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 |
15 |
5 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
5 |
4 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
459 |
426 |
35 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
13 |
9 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
15 |
6 |
8.4 |
osh-native-souffle |
1 |
no-host |
bin-true |
673 |
516 |
188 |
3.0 |
bash |
9 |
no-host |
bin-true |
536 |
413 |
134 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,280 |
1,439 |
1,094 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
807 |
559 |
262 |
7.7 |
osh-native |
33 |
no-host |
bin-true |
805 |
563 |
257 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,947 |
9,012 |
6,339 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,024 |
9,152 |
6,289 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,782 |
17,636 |
12,975 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,213 |
9,122 |
6,363 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,339 |
8,766 |
6,695 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,833 |
1,653 |
1,202 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,723 |
1,511 |
1,232 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,638 |
2,253 |
1,595 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,804 |
1,648 |
1,195 |
20.4 |
osh-native |
36 |
no-host |
configure.ocaml |
3,815 |
1,635 |
1,214 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
32 |
16 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
27 |
14 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
206 |
159 |
51 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
35 |
14 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
20 |
28 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,983 |
8,820 |
5,634 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,779 |
9,043 |
6,219 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,387 |
20,987 |
11,481 |
30.0 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,292 |
8,641 |
5,849 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,236 |
8,413 |
6,023 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,807 |
1,022 |
793 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,774 |
1,043 |
735 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,464 |
1,484 |
1,021 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,819 |
1,026 |
797 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,824 |
1,092 |
736 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
2 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
39 |
18 |
18.0 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
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,520 |
0 |
0 |
0 |
16 |
0 |
41 |
3 |
bash |
15 |
no-host |
abuild-print-help |
1,104 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,499 |
0 |
0 |
0 |
8 |
0 |
45 |
9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,164 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,128 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,371 |
0 |
0 |
0 |
8 |
0 |
1,989 |
52 |
bash |
9 |
no-host |
bin-true |
66,444 |
0 |
0 |
0 |
8 |
0 |
1,986 |
40 |
dash |
17 |
no-host |
bin-true |
761,640 |
0 |
0 |
0 |
8 |
0 |
1,990 |
236 |
osh-cpython |
25 |
no-host |
bin-true |
125,216 |
0 |
0 |
0 |
16 |
0 |
1,980 |
74 |
osh-native |
33 |
no-host |
bin-true |
124,206 |
0 |
0 |
0 |
16 |
0 |
1,991 |
128 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,222,005 |
0 |
0 |
0 |
32,928 |
0 |
14,566 |
1,081 |
bash |
10 |
no-host |
configure.cpython |
2,245,721 |
0 |
0 |
0 |
32,992 |
0 |
14,580 |
1,143 |
dash |
18 |
no-host |
configure.cpython |
6,210,067 |
0 |
0 |
0 |
27,512 |
0 |
13,263 |
1,238 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,224,129 |
1 |
0 |
0 |
27,520 |
0 |
13,201 |
937 |
osh-native |
34 |
no-host |
configure.cpython |
2,218,522 |
1 |
0 |
0 |
27,520 |
0 |
13,301 |
992 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,724 |
0 |
0 |
0 |
5,120 |
0 |
1,946 |
138 |
bash |
12 |
no-host |
configure.ocaml |
391,112 |
0 |
0 |
0 |
5,112 |
0 |
1,918 |
170 |
dash |
20 |
no-host |
configure.ocaml |
645,145 |
1 |
0 |
0 |
5,112 |
0 |
1,857 |
171 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,328 |
0 |
0 |
0 |
5,120 |
0 |
1,930 |
171 |
osh-native |
36 |
no-host |
configure.ocaml |
412,197 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
153 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,552 |
0 |
0 |
0 |
104 |
0 |
49 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,462 |
0 |
0 |
0 |
96 |
0 |
47 |
0 |
dash |
21 |
no-host |
configure.tcc |
23,926 |
0 |
0 |
0 |
96 |
0 |
53 |
15 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,953 |
0 |
0 |
0 |
104 |
0 |
47 |
12 |
osh-native |
37 |
no-host |
configure.tcc |
6,899 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,096,798 |
0 |
0 |
0 |
42,400 |
0 |
18,580 |
1,012 |
bash |
11 |
no-host |
configure.util-linux |
2,256,400 |
0 |
0 |
0 |
42,584 |
0 |
17,414 |
1,030 |
dash |
19 |
no-host |
configure.util-linux |
5,353,800 |
10 |
0 |
0 |
39,120 |
0 |
16,948 |
1,226 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,001,527 |
1 |
0 |
0 |
39,128 |
0 |
16,992 |
1,052 |
osh-native |
35 |
no-host |
configure.util-linux |
1,996,765 |
0 |
0 |
0 |
39,136 |
0 |
16,995 |
924 |
osh-native-souffle |
6 |
no-host |
configure.yash |
254,901 |
0 |
0 |
0 |
4,120 |
0 |
869 |
66 |
bash |
14 |
no-host |
configure.yash |
245,058 |
0 |
0 |
0 |
3,720 |
0 |
863 |
85 |
dash |
22 |
no-host |
configure.yash |
386,534 |
0 |
0 |
0 |
3,728 |
0 |
854 |
102 |
osh-cpython |
30 |
no-host |
configure.yash |
258,086 |
0 |
0 |
0 |
3,736 |
0 |
847 |
69 |
osh-native |
38 |
no-host |
configure.yash |
257,883 |
0 |
0 |
0 |
3,736 |
0 |
847 |
73 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
82 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,951 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
343 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
337 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host