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 |
470 |
21 |
20 |
25.12 |
1.14 |
bin-true |
no-host |
656 |
531 |
2,407 |
784 |
786 |
3.67 |
1.19 |
configure.cpython |
no-host |
14,852 |
15,067 |
29,460 |
15,237 |
15,177 |
1.98 |
1.03 |
configure.ocaml |
no-host |
3,826 |
3,754 |
4,735 |
3,805 |
3,876 |
1.24 |
0.99 |
configure.tcc |
no-host |
46 |
44 |
205 |
48 |
51 |
4.47 |
1.04 |
configure.util-linux |
no-host |
13,924 |
14,803 |
32,194 |
14,362 |
14,390 |
2.31 |
1.03 |
configure.yash |
no-host |
1,829 |
1,768 |
2,499 |
1,829 |
1,864 |
1.37 |
1.00 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
42.66 |
2.12 |
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,528 |
1,138 |
23,950 |
3,199 |
3,130 |
9.47 |
1.27 |
bin-true |
no-host |
107,367 |
65,477 |
778,966 |
126,192 |
127,195 |
7.26 |
1.18 |
configure.cpython |
no-host |
1,994,101 |
2,022,642 |
6,054,413 |
2,000,902 |
1,984,479 |
3.04 |
1.00 |
configure.ocaml |
no-host |
373,011 |
354,141 |
610,380 |
375,687 |
375,623 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,116 |
5,000 |
23,742 |
6,486 |
6,458 |
3.88 |
1.06 |
configure.util-linux |
no-host |
1,900,996 |
2,066,806 |
5,238,286 |
1,800,454 |
1,799,531 |
2.76 |
0.95 |
configure.yash |
no-host |
233,400 |
220,746 |
367,303 |
234,928 |
234,699 |
1.57 |
1.01 |
hello-world |
no-host |
147 |
74 |
3,994 |
344 |
337 |
27.17 |
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.4 |
3,789 |
3,789 |
0 |
695 |
1,861 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
784 |
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,237 |
2 |
66 |
14.9 |
29.3 |
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,362 |
3 |
64 |
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,805 |
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 |
48 |
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,829 |
1 |
2 |
2.5 |
26.5 |
139,269 |
8,031 |
6,693 |
5,990 |
67,845 |
65,434 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
9.2 |
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 |
786 |
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 |
15,177 |
2 |
68 |
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 |
14,390 |
3 |
67 |
21.2 |
30.4 |
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,876 |
1 |
2 |
2.6 |
22.7 |
149,553 |
11,057 |
5,152 |
7,511 |
70,616 |
71,426 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
51 |
0 |
0 |
1.3 |
19.6 |
30,539 |
30,539 |
0 |
1,521 |
14,608 |
14,410 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,864 |
1 |
2 |
2.5 |
26.3 |
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.8 |
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 |
11 |
8 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
2 |
7 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
470 |
408 |
66 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
21 |
8 |
13 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
14 |
7 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
656 |
297 |
394 |
2.8 |
bash |
9 |
no-host |
bin-true |
531 |
274 |
264 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,407 |
826 |
1,859 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
784 |
295 |
505 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
786 |
298 |
504 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,852 |
6,716 |
8,557 |
29.1 |
bash |
10 |
no-host |
configure.cpython |
15,067 |
6,804 |
8,717 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
29,460 |
14,751 |
16,687 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,237 |
6,700 |
8,831 |
29.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,177 |
6,771 |
8,682 |
29.1 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,826 |
1,352 |
1,510 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,754 |
1,297 |
1,479 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,735 |
1,886 |
2,067 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,805 |
1,337 |
1,508 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,876 |
1,345 |
1,570 |
22.7 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
14 |
33 |
19.6 |
bash |
13 |
no-host |
configure.tcc |
44 |
22 |
23 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
205 |
140 |
68 |
19.5 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
20 |
28 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
51 |
25 |
26 |
19.6 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,924 |
5,988 |
8,437 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,803 |
6,037 |
9,273 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
32,194 |
18,328 |
15,003 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,362 |
5,661 |
8,928 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
14,390 |
5,838 |
8,750 |
30.4 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,829 |
904 |
936 |
26.5 |
bash |
14 |
no-host |
configure.yash |
1,768 |
913 |
860 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,499 |
1,384 |
1,160 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,829 |
879 |
955 |
26.5 |
osh-native |
38 |
no-host |
configure.yash |
1,864 |
956 |
913 |
26.3 |
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 |
35 |
21 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
2 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
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,528 |
0 |
0 |
0 |
16 |
0 |
40 |
4 |
bash |
15 |
no-host |
abuild-print-help |
1,138 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,950 |
0 |
0 |
0 |
8 |
0 |
45 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,199 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,130 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,367 |
0 |
0 |
0 |
8 |
0 |
1,991 |
113 |
bash |
9 |
no-host |
bin-true |
65,477 |
0 |
0 |
0 |
8 |
0 |
1,969 |
89 |
dash |
17 |
no-host |
bin-true |
778,966 |
0 |
0 |
0 |
8 |
0 |
1,968 |
247 |
osh-cpython |
25 |
no-host |
bin-true |
126,192 |
0 |
0 |
0 |
16 |
0 |
1,979 |
92 |
osh-native |
33 |
no-host |
bin-true |
127,195 |
0 |
0 |
0 |
16 |
0 |
1,980 |
236 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,994,101 |
0 |
0 |
0 |
32,928 |
0 |
14,215 |
1,223 |
bash |
10 |
no-host |
configure.cpython |
2,022,642 |
0 |
0 |
0 |
32,992 |
0 |
14,289 |
1,080 |
dash |
18 |
no-host |
configure.cpython |
6,054,413 |
1 |
0 |
0 |
27,512 |
0 |
13,031 |
1,199 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,000,902 |
0 |
0 |
0 |
27,520 |
0 |
13,044 |
1,179 |
osh-native |
34 |
no-host |
configure.cpython |
1,984,479 |
0 |
0 |
0 |
27,520 |
0 |
12,981 |
1,163 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,011 |
0 |
0 |
0 |
5,120 |
0 |
1,955 |
188 |
bash |
12 |
no-host |
configure.ocaml |
354,141 |
1 |
0 |
0 |
5,112 |
0 |
1,943 |
228 |
dash |
20 |
no-host |
configure.ocaml |
610,380 |
1 |
0 |
0 |
5,112 |
0 |
1,853 |
202 |
osh-cpython |
28 |
no-host |
configure.ocaml |
375,687 |
0 |
0 |
0 |
5,120 |
0 |
1,918 |
214 |
osh-native |
36 |
no-host |
configure.ocaml |
375,623 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
191 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,116 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,000 |
0 |
0 |
0 |
96 |
0 |
47 |
0 |
dash |
21 |
no-host |
configure.tcc |
23,742 |
0 |
0 |
0 |
96 |
0 |
54 |
3 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,486 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,458 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,900,996 |
0 |
0 |
0 |
42,400 |
0 |
18,462 |
1,226 |
bash |
11 |
no-host |
configure.util-linux |
2,066,806 |
0 |
0 |
0 |
42,584 |
0 |
17,296 |
1,437 |
dash |
19 |
no-host |
configure.util-linux |
5,238,286 |
13 |
0 |
0 |
39,112 |
0 |
17,015 |
1,451 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,800,454 |
0 |
0 |
0 |
39,128 |
0 |
17,010 |
1,172 |
osh-native |
35 |
no-host |
configure.util-linux |
1,799,531 |
4 |
0 |
0 |
39,136 |
0 |
16,982 |
1,133 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,400 |
0 |
0 |
0 |
4,120 |
0 |
869 |
76 |
bash |
14 |
no-host |
configure.yash |
220,746 |
0 |
0 |
0 |
3,720 |
0 |
871 |
101 |
dash |
22 |
no-host |
configure.yash |
367,303 |
0 |
0 |
0 |
3,728 |
0 |
850 |
78 |
osh-cpython |
30 |
no-host |
configure.yash |
234,928 |
0 |
0 |
0 |
3,736 |
0 |
850 |
83 |
osh-native |
38 |
no-host |
configure.yash |
234,699 |
0 |
0 |
0 |
3,736 |
0 |
849 |
92 |
osh-native-souffle |
0 |
no-host |
hello-world |
147 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
74 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,994 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
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