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 |
466 |
23 |
21 |
23.84 |
1.15 |
bin-true |
no-host |
672 |
536 |
2,299 |
813 |
808 |
3.42 |
1.21 |
configure.cpython |
no-host |
15,033 |
15,083 |
28,636 |
15,423 |
15,438 |
1.90 |
1.03 |
configure.ocaml |
no-host |
3,863 |
3,747 |
4,689 |
3,889 |
3,826 |
1.21 |
1.01 |
configure.tcc |
no-host |
47 |
42 |
201 |
50 |
49 |
4.25 |
1.05 |
configure.util-linux |
no-host |
14,016 |
14,921 |
31,461 |
14,540 |
14,428 |
2.24 |
1.04 |
configure.yash |
no-host |
1,820 |
1,778 |
2,469 |
1,858 |
1,830 |
1.36 |
1.02 |
hello-world |
no-host |
2 |
1 |
56 |
3 |
3 |
37.22 |
1.84 |
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,547 |
1,143 |
23,695 |
3,179 |
3,101 |
9.30 |
1.25 |
bin-true |
no-host |
106,317 |
66,494 |
773,756 |
125,195 |
124,288 |
7.28 |
1.18 |
configure.cpython |
no-host |
2,221,775 |
2,242,409 |
6,206,392 |
2,225,139 |
2,208,448 |
2.79 |
1.00 |
configure.ocaml |
no-host |
411,206 |
391,354 |
646,823 |
412,995 |
413,124 |
1.57 |
1.00 |
configure.tcc |
no-host |
6,575 |
5,497 |
24,083 |
6,956 |
6,900 |
3.66 |
1.06 |
configure.util-linux |
no-host |
2,103,045 |
2,263,527 |
5,400,711 |
1,987,245 |
1,992,079 |
2.57 |
0.94 |
configure.yash |
no-host |
256,811 |
245,180 |
389,001 |
257,793 |
258,088 |
1.51 |
1.00 |
hello-world |
no-host |
150 |
79 |
3,952 |
344 |
337 |
26.35 |
2.29 |
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,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
813 |
1 |
2 |
2.6 |
8.1 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,423 |
1 |
62 |
14.9 |
27.4 |
1,771,747 |
49,125 |
28,512 |
85,415 |
878,115 |
808,217 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,540 |
3 |
62 |
21.2 |
30.3 |
2,702,513 |
53,766 |
65,691 |
108,691 |
1,290,640 |
1,303,182 |
32,239 |
41 |
131,382 |
1 |
configure.ocaml |
no-host |
3,889 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,112 |
5,207 |
7,508 |
70,969 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,858 |
1 |
2 |
2.5 |
24.4 |
139,412 |
8,024 |
6,686 |
5,989 |
67,942 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
9.0 |
116,292 |
64,403 |
42,613 |
4,532 |
54,436 |
57,324 |
277 |
3 |
85,226 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.8 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
808 |
1 |
2 |
2.6 |
7.9 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,438 |
1 |
61 |
14.9 |
27.4 |
1,771,746 |
44,577 |
28,450 |
85,416 |
878,115 |
808,215 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,428 |
3 |
59 |
21.2 |
30.1 |
2,702,513 |
53,693 |
65,649 |
108,693 |
1,290,640 |
1,303,180 |
32,239 |
41 |
131,298 |
1 |
configure.ocaml |
no-host |
3,826 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,050 |
5,145 |
7,510 |
70,969 |
71,601 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.4 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,830 |
1 |
2 |
2.5 |
24.4 |
139,412 |
7,962 |
6,624 |
5,991 |
67,942 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,291 |
64,341 |
42,551 |
4,533 |
54,436 |
57,322 |
277 |
3 |
85,102 |
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.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
6 |
4 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
466 |
411 |
58 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
16 |
7 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
15 |
6 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
672 |
494 |
211 |
3.0 |
bash |
9 |
no-host |
bin-true |
536 |
415 |
130 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,299 |
1,535 |
1,022 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
813 |
568 |
260 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
808 |
589 |
235 |
7.9 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,033 |
9,055 |
6,378 |
27.5 |
bash |
10 |
no-host |
configure.cpython |
15,083 |
9,005 |
6,496 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,636 |
17,393 |
13,098 |
27.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,423 |
8,921 |
6,769 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,438 |
9,010 |
6,525 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,863 |
1,638 |
1,214 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,747 |
1,560 |
1,206 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,689 |
2,301 |
1,596 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,889 |
1,633 |
1,292 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,826 |
1,592 |
1,269 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
22 |
26 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
42 |
36 |
7 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
201 |
135 |
69 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
31 |
19 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
27 |
22 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,016 |
8,972 |
5,511 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,921 |
9,022 |
6,385 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,461 |
21,020 |
11,530 |
30.0 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,540 |
8,834 |
5,902 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,428 |
8,586 |
6,017 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,820 |
1,095 |
727 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,778 |
1,072 |
710 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,469 |
1,502 |
1,007 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,858 |
1,100 |
762 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,830 |
1,008 |
826 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.6 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
29 |
28 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
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,547 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,143 |
0 |
0 |
0 |
8 |
0 |
38 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,695 |
0 |
0 |
0 |
8 |
0 |
45 |
11 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,179 |
0 |
0 |
0 |
16 |
0 |
39 |
6 |
osh-native |
39 |
no-host |
abuild-print-help |
3,101 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,317 |
0 |
0 |
0 |
8 |
0 |
1,994 |
97 |
bash |
9 |
no-host |
bin-true |
66,494 |
0 |
0 |
0 |
8 |
0 |
1,986 |
36 |
dash |
17 |
no-host |
bin-true |
773,756 |
0 |
0 |
0 |
8 |
0 |
1,996 |
292 |
osh-cpython |
25 |
no-host |
bin-true |
125,195 |
0 |
0 |
0 |
16 |
0 |
1,995 |
148 |
osh-native |
33 |
no-host |
bin-true |
124,288 |
0 |
0 |
0 |
16 |
0 |
1,990 |
95 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,221,775 |
0 |
0 |
0 |
32,928 |
0 |
14,548 |
1,089 |
bash |
10 |
no-host |
configure.cpython |
2,242,409 |
0 |
0 |
0 |
32,992 |
0 |
14,660 |
1,030 |
dash |
18 |
no-host |
configure.cpython |
6,206,392 |
0 |
0 |
0 |
27,512 |
0 |
13,211 |
1,186 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,225,139 |
0 |
0 |
0 |
27,520 |
0 |
13,398 |
1,000 |
osh-native |
34 |
no-host |
configure.cpython |
2,208,448 |
0 |
0 |
0 |
27,520 |
0 |
13,299 |
937 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
411,206 |
0 |
0 |
0 |
5,120 |
0 |
1,946 |
173 |
bash |
12 |
no-host |
configure.ocaml |
391,354 |
0 |
0 |
0 |
5,112 |
0 |
1,876 |
155 |
dash |
20 |
no-host |
configure.ocaml |
646,823 |
0 |
0 |
0 |
5,112 |
0 |
1,855 |
192 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,995 |
0 |
0 |
0 |
5,120 |
0 |
1,921 |
168 |
osh-native |
36 |
no-host |
configure.ocaml |
413,124 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
170 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,575 |
0 |
0 |
0 |
104 |
0 |
49 |
0 |
bash |
13 |
no-host |
configure.tcc |
5,497 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
24,083 |
0 |
0 |
0 |
96 |
0 |
53 |
11 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,956 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,900 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,103,045 |
0 |
0 |
0 |
42,400 |
0 |
18,665 |
1,141 |
bash |
11 |
no-host |
configure.util-linux |
2,263,527 |
0 |
0 |
0 |
42,584 |
0 |
17,526 |
1,195 |
dash |
19 |
no-host |
configure.util-linux |
5,400,711 |
10 |
0 |
0 |
39,112 |
0 |
16,940 |
1,144 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,987,245 |
0 |
0 |
0 |
39,120 |
0 |
16,986 |
946 |
osh-native |
35 |
no-host |
configure.util-linux |
1,992,079 |
0 |
0 |
0 |
39,136 |
0 |
16,922 |
920 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,811 |
0 |
0 |
0 |
4,120 |
0 |
871 |
79 |
bash |
14 |
no-host |
configure.yash |
245,180 |
0 |
0 |
0 |
3,720 |
0 |
863 |
78 |
dash |
22 |
no-host |
configure.yash |
389,001 |
0 |
0 |
0 |
3,728 |
0 |
856 |
108 |
osh-cpython |
30 |
no-host |
configure.yash |
257,793 |
0 |
0 |
0 |
3,736 |
0 |
851 |
74 |
osh-native |
38 |
no-host |
configure.yash |
258,088 |
0 |
0 |
0 |
3,736 |
0 |
847 |
83 |
osh-native-souffle |
0 |
no-host |
hello-world |
150 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
79 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,952 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
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