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 |
20 |
10 |
473 |
23 |
21 |
24.24 |
1.15 |
bin-true |
no-host |
683 |
542 |
2,303 |
820 |
811 |
3.37 |
1.20 |
configure.cpython |
no-host |
15,442 |
15,576 |
29,604 |
15,928 |
15,775 |
1.92 |
1.03 |
configure.ocaml |
no-host |
3,940 |
3,805 |
4,801 |
3,906 |
3,916 |
1.22 |
0.99 |
configure.tcc |
no-host |
51 |
43 |
207 |
52 |
53 |
4.09 |
1.02 |
configure.util-linux |
no-host |
14,537 |
15,192 |
32,051 |
14,842 |
14,751 |
2.20 |
1.02 |
configure.yash |
no-host |
1,879 |
1,805 |
2,538 |
1,885 |
1,885 |
1.35 |
1.00 |
hello-world |
no-host |
2 |
1 |
57 |
3 |
3 |
35.54 |
1.78 |
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,553 |
1,097 |
23,471 |
3,208 |
3,144 |
9.19 |
1.26 |
bin-true |
no-host |
104,356 |
65,464 |
759,911 |
127,211 |
124,191 |
7.28 |
1.22 |
configure.cpython |
no-host |
2,215,215 |
2,248,622 |
6,208,082 |
2,219,864 |
2,215,110 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,240 |
391,288 |
643,346 |
413,016 |
412,416 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,536 |
5,494 |
23,870 |
6,935 |
6,919 |
3.65 |
1.06 |
configure.util-linux |
no-host |
2,096,268 |
2,265,268 |
5,347,552 |
1,996,756 |
1,997,564 |
2.55 |
0.95 |
configure.yash |
no-host |
256,372 |
245,149 |
385,694 |
258,319 |
257,940 |
1.50 |
1.01 |
hello-world |
no-host |
154 |
84 |
3,960 |
343 |
334 |
25.71 |
2.23 |
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,791 |
3,791 |
0 |
694 |
1,863 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
820 |
1 |
2 |
2.6 |
8.0 |
153,755 |
12,331 |
2,896 |
8,743 |
76,327 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,928 |
2 |
67 |
14.9 |
27.5 |
1,771,756 |
49,614 |
28,521 |
85,415 |
878,120 |
808,221 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,842 |
3 |
66 |
21.2 |
30.0 |
2,702,522 |
53,775 |
65,700 |
108,691 |
1,290,645 |
1,303,186 |
32,239 |
41 |
131,400 |
1 |
configure.ocaml |
no-host |
3,906 |
1 |
2 |
2.6 |
20.6 |
150,089 |
11,121 |
5,216 |
7,508 |
70,974 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
52 |
0 |
0 |
1.3 |
19.3 |
30,595 |
30,595 |
0 |
1,518 |
14,646 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,885 |
1 |
2 |
2.5 |
24.2 |
139,421 |
8,033 |
6,695 |
5,989 |
67,947 |
65,485 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
9.2 |
116,301 |
64,412 |
42,622 |
4,532 |
54,441 |
57,328 |
277 |
3 |
85,244 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,790 |
3,790 |
0 |
695 |
1,863 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
811 |
1 |
2 |
2.6 |
7.7 |
153,754 |
12,120 |
2,834 |
8,744 |
76,327 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,775 |
1 |
65 |
14.9 |
27.3 |
1,771,755 |
49,072 |
28,459 |
85,416 |
878,120 |
808,219 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,751 |
3 |
66 |
21.2 |
30.0 |
2,702,522 |
53,702 |
65,638 |
108,693 |
1,290,645 |
1,303,184 |
32,239 |
41 |
131,276 |
1 |
configure.ocaml |
no-host |
3,916 |
1 |
2 |
2.6 |
20.6 |
150,089 |
11,059 |
5,154 |
7,510 |
70,974 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
53 |
0 |
0 |
1.3 |
19.1 |
30,595 |
30,595 |
0 |
1,520 |
14,646 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,885 |
1 |
2 |
2.5 |
24.4 |
139,421 |
7,971 |
6,633 |
5,991 |
67,947 |
65,483 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,300 |
64,350 |
42,560 |
4,533 |
54,441 |
57,326 |
277 |
3 |
85,120 |
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 |
20 |
13 |
7 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
6 |
4 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
473 |
421 |
55 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
17 |
7 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
20 |
2 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
683 |
516 |
196 |
3.0 |
bash |
9 |
no-host |
bin-true |
542 |
421 |
130 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,303 |
1,517 |
1,054 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
820 |
575 |
257 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
811 |
576 |
250 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,442 |
9,264 |
6,578 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,576 |
9,415 |
6,595 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,604 |
17,722 |
13,830 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,928 |
9,210 |
6,983 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,775 |
9,144 |
6,749 |
27.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,940 |
1,700 |
1,276 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,805 |
1,673 |
1,150 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,801 |
2,281 |
1,739 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,906 |
1,632 |
1,314 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,916 |
1,643 |
1,311 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
51 |
30 |
21 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
43 |
20 |
23 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
207 |
152 |
59 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
52 |
32 |
20 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
53 |
27 |
26 |
19.1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,537 |
9,131 |
5,892 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
15,192 |
9,286 |
6,407 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
32,051 |
21,209 |
11,963 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,842 |
8,958 |
6,084 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
14,751 |
8,863 |
6,083 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,879 |
1,078 |
811 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,805 |
1,062 |
747 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,538 |
1,593 |
986 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,885 |
1,037 |
852 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,885 |
1,074 |
815 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
57 |
37 |
20 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,553 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,097 |
0 |
0 |
0 |
8 |
0 |
39 |
3 |
dash |
23 |
no-host |
abuild-print-help |
23,471 |
0 |
0 |
0 |
8 |
0 |
45 |
12 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,208 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,144 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,356 |
0 |
0 |
0 |
8 |
0 |
1,993 |
64 |
bash |
9 |
no-host |
bin-true |
65,464 |
0 |
0 |
0 |
8 |
0 |
1,989 |
25 |
dash |
17 |
no-host |
bin-true |
759,911 |
0 |
0 |
0 |
8 |
0 |
1,999 |
165 |
osh-cpython |
25 |
no-host |
bin-true |
127,211 |
0 |
0 |
0 |
16 |
0 |
1,993 |
93 |
osh-native |
33 |
no-host |
bin-true |
124,191 |
0 |
0 |
0 |
16 |
0 |
1,992 |
59 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,215,215 |
0 |
0 |
0 |
32,928 |
0 |
14,436 |
852 |
bash |
10 |
no-host |
configure.cpython |
2,248,622 |
0 |
0 |
0 |
32,992 |
0 |
14,617 |
985 |
dash |
18 |
no-host |
configure.cpython |
6,208,082 |
0 |
0 |
0 |
27,512 |
0 |
13,305 |
1,172 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,219,864 |
0 |
0 |
0 |
27,520 |
0 |
13,240 |
1,020 |
osh-native |
34 |
no-host |
configure.cpython |
2,215,110 |
0 |
0 |
0 |
27,520 |
0 |
13,250 |
911 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,240 |
0 |
0 |
0 |
5,120 |
0 |
1,974 |
155 |
bash |
12 |
no-host |
configure.ocaml |
391,288 |
0 |
0 |
0 |
5,112 |
0 |
1,947 |
145 |
dash |
20 |
no-host |
configure.ocaml |
643,346 |
0 |
0 |
0 |
5,112 |
0 |
1,858 |
164 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,016 |
0 |
0 |
0 |
5,120 |
0 |
1,919 |
157 |
osh-native |
36 |
no-host |
configure.ocaml |
412,416 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
160 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,536 |
0 |
0 |
0 |
104 |
0 |
49 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,494 |
0 |
0 |
0 |
96 |
0 |
47 |
4 |
dash |
21 |
no-host |
configure.tcc |
23,870 |
0 |
0 |
0 |
96 |
0 |
53 |
10 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,935 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,919 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,096,268 |
0 |
0 |
0 |
42,400 |
0 |
18,545 |
980 |
bash |
11 |
no-host |
configure.util-linux |
2,265,268 |
3 |
0 |
0 |
42,584 |
0 |
17,525 |
1,090 |
dash |
19 |
no-host |
configure.util-linux |
5,347,552 |
9 |
0 |
0 |
39,136 |
0 |
17,016 |
1,214 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,996,756 |
0 |
0 |
0 |
39,120 |
0 |
16,961 |
967 |
osh-native |
35 |
no-host |
configure.util-linux |
1,997,564 |
0 |
0 |
0 |
39,136 |
0 |
16,973 |
1,276 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,372 |
0 |
0 |
0 |
4,120 |
0 |
869 |
83 |
bash |
14 |
no-host |
configure.yash |
245,149 |
0 |
0 |
0 |
3,720 |
0 |
874 |
73 |
dash |
22 |
no-host |
configure.yash |
385,694 |
0 |
0 |
0 |
3,728 |
0 |
850 |
91 |
osh-cpython |
30 |
no-host |
configure.yash |
258,319 |
0 |
0 |
0 |
3,736 |
0 |
850 |
85 |
osh-native |
38 |
no-host |
configure.yash |
257,940 |
0 |
0 |
0 |
3,736 |
0 |
849 |
92 |
osh-native-souffle |
0 |
no-host |
hello-world |
154 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
84 |
0 |
0 |
0 |
8 |
0 |
0 |
0 |
dash |
16 |
no-host |
hello-world |
3,960 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
343 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
334 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host