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 |
465 |
22 |
20 |
24.51 |
1.14 |
bin-true |
no-host |
664 |
523 |
2,321 |
808 |
783 |
3.49 |
1.22 |
configure.cpython |
no-host |
14,646 |
14,610 |
28,741 |
14,800 |
14,711 |
1.96 |
1.01 |
configure.ocaml |
no-host |
3,736 |
3,672 |
4,584 |
3,733 |
3,747 |
1.23 |
1.00 |
configure.tcc |
no-host |
60 |
40 |
204 |
47 |
47 |
3.41 |
0.79 |
configure.util-linux |
no-host |
13,665 |
14,441 |
31,899 |
13,898 |
13,849 |
2.33 |
1.02 |
configure.yash |
no-host |
1,776 |
1,725 |
2,427 |
1,786 |
1,781 |
1.37 |
1.01 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
43.67 |
2.19 |
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,542 |
1,131 |
23,884 |
3,199 |
3,113 |
9.40 |
1.26 |
bin-true |
no-host |
106,335 |
66,421 |
780,674 |
126,199 |
123,219 |
7.34 |
1.19 |
configure.cpython |
no-host |
2,003,276 |
2,025,265 |
6,049,898 |
2,010,258 |
1,992,943 |
3.02 |
1.00 |
configure.ocaml |
no-host |
373,444 |
354,300 |
611,928 |
376,604 |
375,300 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,071 |
5,022 |
23,783 |
6,504 |
6,437 |
3.92 |
1.07 |
configure.util-linux |
no-host |
1,905,587 |
2,068,132 |
5,243,522 |
1,807,835 |
1,797,061 |
2.75 |
0.95 |
configure.yash |
no-host |
233,930 |
221,822 |
366,993 |
234,777 |
234,245 |
1.57 |
1.00 |
hello-world |
no-host |
148 |
78 |
4,002 |
347 |
337 |
27.04 |
2.34 |
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 |
808 |
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,800 |
1 |
64 |
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 |
13,898 |
3 |
62 |
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,733 |
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,786 |
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 |
8.9 |
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.8 |
3,788 |
3,788 |
0 |
696 |
1,861 |
1,231 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
783 |
1 |
2 |
2.6 |
7.9 |
153,752 |
12,118 |
2,832 |
8,745 |
76,325 |
68,682 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,711 |
1 |
65 |
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 |
13,849 |
3 |
62 |
21.2 |
30.2 |
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,747 |
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,781 |
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 |
20 |
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 |
10 |
10 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
5 |
4 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
465 |
408 |
60 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
12 |
10 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
13 |
8 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
664 |
304 |
395 |
2.9 |
bash |
9 |
no-host |
bin-true |
523 |
275 |
259 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,321 |
763 |
1,823 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
808 |
294 |
529 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
783 |
288 |
512 |
7.9 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,646 |
6,614 |
8,450 |
29.3 |
bash |
10 |
no-host |
configure.cpython |
14,610 |
6,682 |
8,366 |
29.3 |
dash |
18 |
no-host |
configure.cpython |
28,741 |
14,303 |
16,355 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,800 |
6,554 |
8,534 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
14,711 |
6,374 |
8,619 |
29.1 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,736 |
1,324 |
1,449 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,672 |
1,265 |
1,428 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,584 |
1,846 |
1,953 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,733 |
1,301 |
1,473 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,747 |
1,290 |
1,495 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
60 |
28 |
32 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
40 |
20 |
21 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
204 |
139 |
69 |
19.7 |
osh-cpython |
29 |
no-host |
configure.tcc |
47 |
18 |
30 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
22 |
26 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,665 |
5,734 |
8,368 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,441 |
5,903 |
9,046 |
30.2 |
dash |
19 |
no-host |
configure.util-linux |
31,899 |
18,161 |
14,857 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
13,898 |
5,510 |
8,603 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
13,849 |
5,515 |
8,550 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,776 |
907 |
879 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,725 |
880 |
849 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,427 |
1,334 |
1,135 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,786 |
876 |
914 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,781 |
922 |
864 |
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.4 |
dash |
16 |
no-host |
hello-world |
56 |
38 |
17 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
1 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
2 |
1 |
5.8 |
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,542 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,131 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,884 |
0 |
0 |
0 |
8 |
0 |
45 |
13 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,199 |
0 |
0 |
0 |
16 |
0 |
38 |
4 |
osh-native |
39 |
no-host |
abuild-print-help |
3,113 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,335 |
0 |
0 |
0 |
8 |
0 |
1,980 |
228 |
bash |
9 |
no-host |
bin-true |
66,421 |
0 |
0 |
0 |
8 |
0 |
1,979 |
131 |
dash |
17 |
no-host |
bin-true |
780,674 |
0 |
0 |
0 |
8 |
0 |
1,974 |
284 |
osh-cpython |
25 |
no-host |
bin-true |
126,199 |
0 |
0 |
0 |
16 |
0 |
1,994 |
572 |
osh-native |
33 |
no-host |
bin-true |
123,219 |
0 |
0 |
0 |
16 |
0 |
1,982 |
93 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,003,276 |
0 |
0 |
0 |
32,928 |
0 |
14,294 |
1,200 |
bash |
10 |
no-host |
configure.cpython |
2,025,265 |
0 |
0 |
0 |
32,992 |
0 |
14,350 |
1,168 |
dash |
18 |
no-host |
configure.cpython |
6,049,898 |
0 |
0 |
0 |
27,512 |
0 |
13,071 |
1,276 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,010,258 |
0 |
0 |
0 |
27,520 |
0 |
13,064 |
1,209 |
osh-native |
34 |
no-host |
configure.cpython |
1,992,943 |
0 |
0 |
0 |
27,520 |
0 |
13,029 |
1,138 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,444 |
0 |
0 |
0 |
5,120 |
0 |
1,965 |
201 |
bash |
12 |
no-host |
configure.ocaml |
354,300 |
0 |
0 |
0 |
5,112 |
0 |
1,940 |
199 |
dash |
20 |
no-host |
configure.ocaml |
611,928 |
0 |
0 |
0 |
5,112 |
0 |
1,854 |
200 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,604 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
196 |
osh-native |
36 |
no-host |
configure.ocaml |
375,300 |
0 |
0 |
0 |
5,120 |
0 |
1,920 |
198 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,071 |
0 |
0 |
0 |
104 |
0 |
46 |
4 |
bash |
13 |
no-host |
configure.tcc |
5,022 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
23,783 |
0 |
0 |
0 |
96 |
0 |
53 |
10 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,504 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,437 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,905,587 |
0 |
0 |
0 |
42,400 |
0 |
18,480 |
1,187 |
bash |
11 |
no-host |
configure.util-linux |
2,068,132 |
0 |
0 |
0 |
42,584 |
0 |
17,318 |
1,318 |
dash |
19 |
no-host |
configure.util-linux |
5,243,522 |
7 |
0 |
0 |
39,136 |
0 |
17,106 |
1,500 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,807,835 |
0 |
0 |
0 |
39,120 |
0 |
17,033 |
1,180 |
osh-native |
35 |
no-host |
configure.util-linux |
1,797,061 |
0 |
0 |
0 |
39,128 |
0 |
16,946 |
1,247 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,930 |
0 |
0 |
0 |
4,120 |
0 |
872 |
112 |
bash |
14 |
no-host |
configure.yash |
221,822 |
0 |
0 |
0 |
3,720 |
0 |
869 |
99 |
dash |
22 |
no-host |
configure.yash |
366,993 |
0 |
0 |
0 |
3,728 |
0 |
857 |
103 |
osh-cpython |
30 |
no-host |
configure.yash |
234,777 |
0 |
0 |
0 |
3,736 |
0 |
852 |
113 |
osh-native |
38 |
no-host |
configure.yash |
234,245 |
0 |
0 |
0 |
3,736 |
0 |
850 |
111 |
osh-native-souffle |
0 |
no-host |
hello-world |
148 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
78 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
4,002 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
347 |
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