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 |
478 |
23 |
21 |
25.00 |
1.18 |
bin-true |
no-host |
664 |
533 |
2,311 |
797 |
792 |
3.48 |
1.20 |
configure.cpython |
no-host |
14,718 |
14,818 |
28,888 |
14,901 |
14,755 |
1.96 |
1.01 |
configure.ocaml |
no-host |
3,767 |
3,702 |
4,621 |
3,762 |
3,787 |
1.23 |
1.00 |
configure.tcc |
no-host |
50 |
40 |
203 |
48 |
48 |
4.08 |
0.95 |
configure.util-linux |
no-host |
13,835 |
14,530 |
31,590 |
13,946 |
14,010 |
2.28 |
1.01 |
configure.yash |
no-host |
1,799 |
1,734 |
2,461 |
1,795 |
1,800 |
1.37 |
1.00 |
hello-world |
no-host |
1 |
1 |
57 |
3 |
3 |
42.28 |
2.06 |
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,538 |
1,113 |
23,941 |
3,206 |
3,116 |
9.43 |
1.26 |
bin-true |
no-host |
107,351 |
65,381 |
783,597 |
126,167 |
124,228 |
7.30 |
1.18 |
configure.cpython |
no-host |
2,002,291 |
2,017,436 |
6,054,138 |
2,000,526 |
1,993,862 |
3.02 |
1.00 |
configure.ocaml |
no-host |
373,314 |
354,038 |
610,891 |
376,182 |
375,211 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,087 |
5,005 |
23,775 |
6,483 |
6,446 |
3.91 |
1.07 |
configure.util-linux |
no-host |
1,903,793 |
2,066,816 |
5,233,115 |
1,806,507 |
1,801,603 |
2.75 |
0.95 |
configure.yash |
no-host |
233,634 |
221,857 |
367,680 |
235,692 |
234,767 |
1.57 |
1.01 |
hello-world |
no-host |
146 |
76 |
3,966 |
342 |
337 |
27.16 |
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 |
797 |
1 |
2 |
2.6 |
8.0 |
153,753 |
12,329 |
2,894 |
8,744 |
76,325 |
68,684 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,901 |
1 |
65 |
14.9 |
29.0 |
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,946 |
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,762 |
1 |
2 |
2.6 |
22.5 |
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,795 |
1 |
2 |
2.5 |
26.3 |
139,269 |
8,031 |
6,693 |
5,990 |
67,845 |
65,434 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
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 |
6.0 |
3,788 |
3,788 |
0 |
696 |
1,861 |
1,231 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
792 |
1 |
2 |
2.6 |
7.5 |
153,752 |
12,118 |
2,832 |
8,745 |
76,325 |
68,682 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,755 |
1 |
66 |
14.9 |
29.2 |
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,010 |
3 |
64 |
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,787 |
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 |
48 |
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,800 |
1 |
2 |
2.5 |
26.5 |
139,269 |
7,969 |
6,631 |
5,992 |
67,845 |
65,432 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
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 |
12 |
7 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
478 |
415 |
66 |
22.9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
11 |
12 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
10 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
664 |
314 |
382 |
3.0 |
bash |
9 |
no-host |
bin-true |
533 |
269 |
272 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,311 |
786 |
1,781 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
797 |
293 |
522 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
792 |
276 |
531 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,718 |
6,635 |
8,500 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
14,818 |
6,635 |
8,620 |
29.3 |
dash |
18 |
no-host |
configure.cpython |
28,888 |
14,472 |
16,326 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,901 |
6,590 |
8,601 |
29.0 |
osh-native |
34 |
no-host |
configure.cpython |
14,755 |
6,499 |
8,536 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,767 |
1,291 |
1,513 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,702 |
1,315 |
1,409 |
22.5 |
dash |
20 |
no-host |
configure.ocaml |
4,621 |
1,886 |
1,950 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,762 |
1,271 |
1,529 |
22.5 |
osh-native |
36 |
no-host |
configure.ocaml |
3,787 |
1,299 |
1,527 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
50 |
22 |
28 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
40 |
18 |
22 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
203 |
143 |
64 |
19.7 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
25 |
23 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
20 |
28 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,835 |
5,953 |
8,388 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,530 |
5,879 |
9,176 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,590 |
17,984 |
14,706 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
13,946 |
5,638 |
8,530 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
14,010 |
5,517 |
8,720 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,799 |
943 |
865 |
26.3 |
bash |
14 |
no-host |
configure.yash |
1,734 |
914 |
825 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,461 |
1,333 |
1,171 |
26.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,795 |
913 |
887 |
26.3 |
osh-native |
38 |
no-host |
configure.yash |
1,800 |
895 |
910 |
26.5 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
57 |
38 |
19 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
2 |
1 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
2 |
1 |
6.0 |
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,538 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,113 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,941 |
0 |
0 |
0 |
8 |
0 |
45 |
3 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,206 |
0 |
0 |
0 |
16 |
0 |
39 |
4 |
osh-native |
39 |
no-host |
abuild-print-help |
3,116 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,351 |
0 |
0 |
0 |
8 |
0 |
1,983 |
169 |
bash |
9 |
no-host |
bin-true |
65,381 |
0 |
0 |
0 |
8 |
0 |
1,970 |
227 |
dash |
17 |
no-host |
bin-true |
783,597 |
0 |
0 |
0 |
8 |
0 |
1,991 |
348 |
osh-cpython |
25 |
no-host |
bin-true |
126,167 |
0 |
0 |
0 |
16 |
0 |
1,982 |
182 |
osh-native |
33 |
no-host |
bin-true |
124,228 |
0 |
0 |
0 |
16 |
0 |
1,953 |
104 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,002,291 |
0 |
0 |
0 |
32,928 |
0 |
14,235 |
1,234 |
bash |
10 |
no-host |
configure.cpython |
2,017,436 |
0 |
0 |
0 |
32,992 |
0 |
14,327 |
1,221 |
dash |
18 |
no-host |
configure.cpython |
6,054,138 |
0 |
0 |
0 |
27,512 |
0 |
13,110 |
1,171 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,000,526 |
0 |
0 |
0 |
27,520 |
0 |
12,922 |
1,121 |
osh-native |
34 |
no-host |
configure.cpython |
1,993,862 |
0 |
0 |
0 |
27,520 |
0 |
13,034 |
1,175 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,314 |
0 |
0 |
0 |
5,120 |
0 |
1,953 |
183 |
bash |
12 |
no-host |
configure.ocaml |
354,038 |
0 |
0 |
0 |
5,112 |
0 |
1,934 |
176 |
dash |
20 |
no-host |
configure.ocaml |
610,891 |
0 |
0 |
0 |
5,112 |
0 |
1,864 |
192 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,182 |
0 |
0 |
0 |
5,120 |
0 |
1,921 |
194 |
osh-native |
36 |
no-host |
configure.ocaml |
375,211 |
0 |
0 |
0 |
5,120 |
0 |
1,916 |
171 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,087 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,005 |
0 |
0 |
0 |
96 |
0 |
46 |
1 |
dash |
21 |
no-host |
configure.tcc |
23,775 |
0 |
0 |
0 |
96 |
0 |
53 |
5 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,483 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,446 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,903,793 |
1 |
0 |
0 |
42,400 |
0 |
18,449 |
1,292 |
bash |
11 |
no-host |
configure.util-linux |
2,066,816 |
1 |
0 |
0 |
42,584 |
0 |
17,315 |
1,403 |
dash |
19 |
no-host |
configure.util-linux |
5,233,115 |
12 |
0 |
0 |
39,128 |
0 |
17,023 |
1,263 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,806,507 |
0 |
0 |
0 |
39,120 |
0 |
16,974 |
1,176 |
osh-native |
35 |
no-host |
configure.util-linux |
1,801,603 |
0 |
0 |
0 |
39,136 |
0 |
16,992 |
1,110 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,634 |
0 |
0 |
0 |
4,120 |
0 |
872 |
97 |
bash |
14 |
no-host |
configure.yash |
221,857 |
0 |
0 |
0 |
3,720 |
0 |
871 |
84 |
dash |
22 |
no-host |
configure.yash |
367,680 |
1 |
0 |
0 |
3,728 |
0 |
855 |
82 |
osh-cpython |
30 |
no-host |
configure.yash |
235,692 |
0 |
0 |
0 |
3,736 |
0 |
848 |
93 |
osh-native |
38 |
no-host |
configure.yash |
234,767 |
0 |
0 |
0 |
3,736 |
0 |
845 |
92 |
osh-native-souffle |
0 |
no-host |
hello-world |
146 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
76 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,966 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
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