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 |
9 |
491 |
22 |
21 |
24.97 |
1.14 |
bin-true |
no-host |
667 |
544 |
2,317 |
794 |
789 |
3.47 |
1.19 |
configure.cpython |
no-host |
15,560 |
15,317 |
29,885 |
15,530 |
15,497 |
1.92 |
1.00 |
configure.ocaml |
no-host |
3,927 |
3,819 |
4,786 |
3,873 |
3,909 |
1.22 |
0.99 |
configure.tcc |
no-host |
49 |
42 |
215 |
48 |
49 |
4.41 |
0.99 |
configure.util-linux |
no-host |
14,450 |
15,039 |
32,895 |
14,586 |
14,653 |
2.28 |
1.01 |
configure.yash |
no-host |
1,889 |
1,807 |
2,544 |
1,878 |
1,892 |
1.35 |
0.99 |
hello-world |
no-host |
2 |
1 |
61 |
3 |
3 |
38.38 |
1.82 |
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,541 |
1,115 |
23,429 |
3,223 |
3,091 |
9.22 |
1.27 |
bin-true |
no-host |
107,368 |
66,451 |
757,237 |
126,149 |
125,278 |
7.05 |
1.17 |
configure.cpython |
no-host |
1,999,345 |
2,017,195 |
5,974,311 |
2,001,097 |
1,991,092 |
2.99 |
1.00 |
configure.ocaml |
no-host |
373,574 |
353,933 |
606,085 |
375,758 |
374,847 |
1.62 |
1.01 |
configure.tcc |
no-host |
6,088 |
5,033 |
23,447 |
6,473 |
6,445 |
3.85 |
1.06 |
configure.util-linux |
no-host |
1,902,213 |
2,069,096 |
5,163,556 |
1,801,374 |
1,796,982 |
2.71 |
0.95 |
configure.yash |
no-host |
233,775 |
221,625 |
364,271 |
235,271 |
234,686 |
1.56 |
1.01 |
hello-world |
no-host |
149 |
75 |
3,963 |
345 |
337 |
26.60 |
2.32 |
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 |
694 |
1,861 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
794 |
1 |
2 |
2.6 |
8.1 |
153,753 |
12,329 |
2,894 |
8,743 |
76,325 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,530 |
2 |
72 |
14.9 |
29.2 |
1,767,675 |
49,060 |
28,519 |
85,427 |
875,384 |
806,864 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,586 |
3 |
70 |
21.2 |
30.3 |
2,698,991 |
29,940 |
65,698 |
108,699 |
1,288,281 |
1,302,011 |
32,241 |
41 |
131,396 |
1 |
configure.ocaml |
no-host |
3,873 |
1 |
2 |
2.6 |
22.6 |
149,553 |
11,119 |
5,214 |
7,508 |
70,616 |
71,429 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.7 |
30,539 |
30,539 |
0 |
1,518 |
14,608 |
14,413 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,878 |
1 |
2 |
2.5 |
26.4 |
139,269 |
8,031 |
6,693 |
5,989 |
67,845 |
65,435 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,299 |
64,410 |
42,620 |
4,532 |
54,439 |
57,328 |
277 |
3 |
85,240 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,788 |
3,788 |
0 |
695 |
1,861 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
789 |
1 |
2 |
2.6 |
7.9 |
153,752 |
12,118 |
2,832 |
8,744 |
76,325 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,497 |
2 |
71 |
14.9 |
29.2 |
1,767,674 |
37,983 |
24,932 |
85,428 |
875,384 |
806,862 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,653 |
3 |
69 |
21.2 |
30.4 |
2,698,991 |
29,878 |
65,636 |
108,701 |
1,288,281 |
1,302,009 |
32,241 |
41 |
131,272 |
1 |
configure.ocaml |
no-host |
3,909 |
1 |
2 |
2.6 |
22.6 |
149,553 |
11,057 |
5,152 |
7,510 |
70,616 |
71,427 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.7 |
30,539 |
30,539 |
0 |
1,520 |
14,608 |
14,411 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,892 |
1 |
2 |
2.5 |
26.4 |
139,269 |
7,969 |
6,631 |
5,991 |
67,845 |
65,433 |
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,533 |
54,439 |
57,326 |
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 |
20 |
12 |
8 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
6 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
491 |
442 |
53 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
13 |
10 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
13 |
9 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
667 |
304 |
395 |
2.9 |
bash |
9 |
no-host |
bin-true |
544 |
288 |
268 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,317 |
763 |
1,827 |
18.3 |
osh-cpython |
25 |
no-host |
bin-true |
794 |
296 |
515 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
789 |
302 |
504 |
7.9 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,560 |
6,944 |
9,060 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
15,317 |
6,773 |
9,003 |
29.0 |
dash |
18 |
no-host |
configure.cpython |
29,885 |
14,740 |
17,150 |
28.9 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,530 |
6,719 |
9,110 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
15,497 |
6,719 |
9,060 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,927 |
1,356 |
1,613 |
22.5 |
bash |
12 |
no-host |
configure.ocaml |
3,819 |
1,350 |
1,492 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,786 |
1,906 |
2,103 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,873 |
1,361 |
1,553 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,909 |
1,369 |
1,579 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
21 |
28 |
19.5 |
bash |
13 |
no-host |
configure.tcc |
42 |
19 |
23 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
215 |
132 |
86 |
19.8 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
23 |
26 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
27 |
22 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,450 |
6,082 |
8,904 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
15,039 |
6,115 |
9,453 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
32,895 |
18,714 |
15,381 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,586 |
5,785 |
9,019 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,653 |
5,742 |
9,138 |
30.4 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,889 |
907 |
993 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,807 |
930 |
882 |
26.3 |
dash |
22 |
no-host |
configure.yash |
2,544 |
1,382 |
1,210 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,878 |
931 |
952 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,892 |
904 |
994 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
61 |
40 |
21 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
2 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
2 |
1 |
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,541 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,115 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,429 |
0 |
0 |
0 |
8 |
0 |
45 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,223 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,091 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,368 |
0 |
0 |
0 |
8 |
0 |
1,978 |
176 |
bash |
9 |
no-host |
bin-true |
66,451 |
0 |
0 |
0 |
8 |
0 |
1,981 |
184 |
dash |
17 |
no-host |
bin-true |
757,237 |
0 |
0 |
0 |
8 |
0 |
1,978 |
186 |
osh-cpython |
25 |
no-host |
bin-true |
126,149 |
0 |
0 |
0 |
16 |
0 |
1,972 |
182 |
osh-native |
33 |
no-host |
bin-true |
125,278 |
0 |
0 |
0 |
16 |
0 |
1,975 |
144 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,999,345 |
0 |
0 |
0 |
32,928 |
0 |
14,219 |
1,147 |
bash |
10 |
no-host |
configure.cpython |
2,017,195 |
0 |
0 |
0 |
32,992 |
0 |
14,330 |
1,124 |
dash |
18 |
no-host |
configure.cpython |
5,974,311 |
0 |
0 |
0 |
27,512 |
0 |
13,023 |
1,131 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,001,097 |
0 |
0 |
0 |
27,520 |
0 |
13,127 |
1,122 |
osh-native |
34 |
no-host |
configure.cpython |
1,991,092 |
0 |
0 |
0 |
27,520 |
0 |
13,002 |
1,001 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,574 |
0 |
0 |
0 |
5,120 |
0 |
1,936 |
190 |
bash |
12 |
no-host |
configure.ocaml |
353,933 |
0 |
0 |
0 |
5,112 |
0 |
1,936 |
172 |
dash |
20 |
no-host |
configure.ocaml |
606,085 |
0 |
0 |
0 |
5,112 |
0 |
1,852 |
205 |
osh-cpython |
28 |
no-host |
configure.ocaml |
375,758 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
204 |
osh-native |
36 |
no-host |
configure.ocaml |
374,847 |
0 |
0 |
0 |
5,120 |
0 |
1,922 |
198 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,088 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,033 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
23,447 |
0 |
0 |
0 |
96 |
0 |
53 |
6 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,473 |
0 |
0 |
0 |
104 |
0 |
47 |
10 |
osh-native |
37 |
no-host |
configure.tcc |
6,445 |
0 |
0 |
0 |
104 |
0 |
46 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,902,213 |
1 |
0 |
0 |
42,408 |
0 |
18,466 |
1,144 |
bash |
11 |
no-host |
configure.util-linux |
2,069,096 |
1 |
0 |
0 |
42,592 |
0 |
17,360 |
1,360 |
dash |
19 |
no-host |
configure.util-linux |
5,163,556 |
8 |
0 |
0 |
39,120 |
0 |
16,974 |
1,286 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,801,374 |
1 |
0 |
0 |
39,128 |
0 |
16,996 |
1,188 |
osh-native |
35 |
no-host |
configure.util-linux |
1,796,982 |
1 |
0 |
0 |
39,136 |
0 |
16,936 |
1,110 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,775 |
0 |
0 |
0 |
4,120 |
0 |
868 |
88 |
bash |
14 |
no-host |
configure.yash |
221,625 |
0 |
0 |
0 |
3,720 |
0 |
863 |
89 |
dash |
22 |
no-host |
configure.yash |
364,271 |
0 |
0 |
0 |
3,728 |
0 |
854 |
87 |
osh-cpython |
30 |
no-host |
configure.yash |
235,271 |
0 |
0 |
0 |
3,736 |
0 |
851 |
82 |
osh-native |
38 |
no-host |
configure.yash |
234,686 |
0 |
0 |
0 |
3,736 |
0 |
850 |
77 |
osh-native-souffle |
0 |
no-host |
hello-world |
149 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
75 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,963 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
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