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 |
495 |
22 |
22 |
26.43 |
1.19 |
bin-true |
no-host |
661 |
526 |
2,345 |
808 |
797 |
3.54 |
1.22 |
configure.cpython |
no-host |
14,709 |
14,707 |
28,689 |
15,392 |
15,223 |
1.95 |
1.05 |
configure.ocaml |
no-host |
3,768 |
3,685 |
4,746 |
3,841 |
3,812 |
1.26 |
1.02 |
configure.tcc |
no-host |
46 |
40 |
214 |
50 |
48 |
4.65 |
1.09 |
configure.util-linux |
no-host |
13,792 |
14,347 |
31,876 |
14,314 |
14,391 |
2.31 |
1.04 |
configure.yash |
no-host |
1,786 |
1,729 |
2,522 |
1,891 |
1,824 |
1.41 |
1.06 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
42.82 |
2.24 |
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,526 |
1,092 |
24,648 |
3,211 |
3,078 |
9.76 |
1.27 |
bin-true |
no-host |
105,323 |
66,439 |
795,413 |
127,222 |
124,207 |
7.55 |
1.21 |
configure.cpython |
no-host |
1,996,248 |
2,026,059 |
6,097,847 |
2,008,022 |
2,003,182 |
3.05 |
1.01 |
configure.ocaml |
no-host |
373,178 |
353,734 |
616,002 |
376,826 |
376,100 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,106 |
5,007 |
24,048 |
6,530 |
6,480 |
3.94 |
1.07 |
configure.util-linux |
no-host |
1,916,727 |
2,080,315 |
5,284,478 |
1,821,562 |
1,813,449 |
2.76 |
0.95 |
configure.yash |
no-host |
233,177 |
222,165 |
369,408 |
235,439 |
233,791 |
1.58 |
1.01 |
hello-world |
no-host |
147 |
76 |
3,967 |
345 |
344 |
26.99 |
2.35 |
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.3 |
6.3 |
3,809 |
3,809 |
0 |
701 |
1,871 |
1,237 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
808 |
1 |
2 |
2.6 |
8.1 |
156,776 |
15,415 |
2,902 |
8,753 |
77,338 |
70,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,392 |
2 |
72 |
15.5 |
29.1 |
1,785,017 |
30,560 |
28,527 |
91,506 |
886,575 |
806,936 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
14,314 |
3 |
67 |
21.6 |
30.3 |
2,709,218 |
53,762 |
65,706 |
114,373 |
1,295,038 |
1,299,807 |
32,241 |
41 |
131,412 |
1 |
configure.ocaml |
no-host |
3,841 |
1 |
2 |
2.6 |
22.6 |
149,863 |
11,179 |
5,222 |
7,734 |
70,875 |
71,254 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.8 |
30,579 |
30,579 |
0 |
1,543 |
14,637 |
14,399 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,891 |
1 |
2 |
2.6 |
26.4 |
139,885 |
8,046 |
6,701 |
6,398 |
68,340 |
65,147 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.3 |
116,341 |
64,420 |
42,628 |
4,545 |
54,463 |
57,333 |
277 |
3 |
85,256 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.0 |
3,808 |
3,808 |
0 |
702 |
1,871 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
797 |
1 |
2 |
2.6 |
7.5 |
156,775 |
15,410 |
2,897 |
8,754 |
77,338 |
70,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,223 |
1 |
70 |
15.4 |
29.2 |
1,785,016 |
30,547 |
28,522 |
91,507 |
886,575 |
806,934 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
14,391 |
3 |
67 |
21.6 |
30.2 |
2,709,218 |
53,739 |
65,721 |
114,375 |
1,295,038 |
1,299,805 |
32,241 |
41 |
131,442 |
1 |
configure.ocaml |
no-host |
3,812 |
1 |
2 |
2.6 |
22.5 |
149,863 |
11,174 |
5,217 |
7,736 |
70,875 |
71,252 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.8 |
30,579 |
30,579 |
0 |
1,545 |
14,637 |
14,397 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,824 |
1 |
2 |
2.6 |
26.4 |
139,885 |
8,035 |
6,690 |
6,400 |
68,340 |
65,145 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
8.7 |
116,340 |
64,415 |
42,623 |
4,546 |
54,463 |
57,331 |
277 |
3 |
85,246 |
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.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
495 |
430 |
69 |
22.8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
11 |
12 |
9.3 |
osh-native |
39 |
no-host |
abuild-print-help |
22 |
12 |
10 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
661 |
301 |
393 |
2.9 |
bash |
9 |
no-host |
bin-true |
526 |
268 |
269 |
1.3 |
dash |
17 |
no-host |
bin-true |
2,345 |
752 |
1,848 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
808 |
299 |
527 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
797 |
282 |
532 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,709 |
6,528 |
8,587 |
29.3 |
bash |
10 |
no-host |
configure.cpython |
14,707 |
6,569 |
8,573 |
29.0 |
dash |
18 |
no-host |
configure.cpython |
28,689 |
14,212 |
16,378 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,392 |
6,731 |
8,955 |
29.1 |
osh-native |
34 |
no-host |
configure.cpython |
15,223 |
6,750 |
8,762 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,768 |
1,326 |
1,481 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,685 |
1,242 |
1,463 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,746 |
1,965 |
2,011 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,841 |
1,335 |
1,548 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,812 |
1,296 |
1,556 |
22.5 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
21 |
26 |
19.8 |
bash |
13 |
no-host |
configure.tcc |
40 |
22 |
18 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
214 |
147 |
70 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
25 |
26 |
19.8 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
23 |
26 |
19.8 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,792 |
5,810 |
8,491 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,347 |
5,758 |
9,108 |
30.2 |
dash |
19 |
no-host |
configure.util-linux |
31,876 |
18,136 |
14,851 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,314 |
5,664 |
8,874 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,391 |
5,641 |
8,976 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,786 |
922 |
874 |
26.3 |
bash |
14 |
no-host |
configure.yash |
1,729 |
870 |
864 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,522 |
1,351 |
1,216 |
26.1 |
osh-cpython |
30 |
no-host |
configure.yash |
1,891 |
954 |
942 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,824 |
904 |
924 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
38 |
18 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
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,526 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,092 |
0 |
0 |
0 |
8 |
0 |
39 |
3 |
dash |
23 |
no-host |
abuild-print-help |
24,648 |
0 |
0 |
0 |
8 |
0 |
45 |
11 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,211 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,078 |
0 |
0 |
0 |
16 |
0 |
38 |
5 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,323 |
0 |
0 |
0 |
8 |
0 |
1,988 |
266 |
bash |
9 |
no-host |
bin-true |
66,439 |
0 |
0 |
0 |
8 |
0 |
1,964 |
93 |
dash |
17 |
no-host |
bin-true |
795,413 |
0 |
0 |
0 |
8 |
0 |
1,979 |
239 |
osh-cpython |
25 |
no-host |
bin-true |
127,222 |
0 |
0 |
0 |
16 |
0 |
1,969 |
101 |
osh-native |
33 |
no-host |
bin-true |
124,207 |
0 |
0 |
0 |
16 |
0 |
1,974 |
179 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,996,248 |
0 |
0 |
0 |
32,928 |
0 |
14,292 |
1,213 |
bash |
10 |
no-host |
configure.cpython |
2,026,059 |
0 |
0 |
0 |
32,992 |
0 |
14,340 |
1,207 |
dash |
18 |
no-host |
configure.cpython |
6,097,847 |
0 |
0 |
0 |
27,512 |
0 |
13,024 |
1,153 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,008,022 |
1 |
0 |
0 |
27,520 |
0 |
13,061 |
950 |
osh-native |
34 |
no-host |
configure.cpython |
2,003,182 |
0 |
0 |
0 |
27,520 |
0 |
13,094 |
1,022 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,178 |
0 |
0 |
0 |
5,120 |
0 |
1,952 |
171 |
bash |
12 |
no-host |
configure.ocaml |
353,734 |
0 |
0 |
0 |
5,112 |
0 |
1,939 |
179 |
dash |
20 |
no-host |
configure.ocaml |
616,002 |
0 |
0 |
0 |
5,112 |
0 |
1,850 |
217 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,826 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
192 |
osh-native |
36 |
no-host |
configure.ocaml |
376,100 |
0 |
0 |
0 |
5,120 |
0 |
1,922 |
205 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,106 |
0 |
0 |
0 |
104 |
0 |
48 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,007 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,048 |
0 |
0 |
0 |
96 |
0 |
53 |
16 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,530 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,480 |
0 |
0 |
0 |
104 |
0 |
46 |
0 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,916,727 |
0 |
0 |
0 |
42,400 |
0 |
18,461 |
1,160 |
bash |
11 |
no-host |
configure.util-linux |
2,080,315 |
0 |
0 |
0 |
42,584 |
0 |
17,081 |
1,292 |
dash |
19 |
no-host |
configure.util-linux |
5,284,478 |
13 |
0 |
0 |
39,136 |
0 |
17,024 |
1,358 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,821,562 |
0 |
0 |
0 |
39,120 |
0 |
16,966 |
1,145 |
osh-native |
35 |
no-host |
configure.util-linux |
1,813,449 |
0 |
0 |
0 |
39,128 |
0 |
17,008 |
1,149 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,177 |
0 |
0 |
0 |
4,120 |
0 |
872 |
89 |
bash |
14 |
no-host |
configure.yash |
222,165 |
0 |
0 |
0 |
3,720 |
0 |
867 |
89 |
dash |
22 |
no-host |
configure.yash |
369,408 |
0 |
0 |
0 |
3,728 |
0 |
848 |
81 |
osh-cpython |
30 |
no-host |
configure.yash |
235,439 |
0 |
0 |
0 |
3,736 |
0 |
847 |
89 |
osh-native |
38 |
no-host |
configure.yash |
233,791 |
0 |
0 |
0 |
3,736 |
0 |
851 |
80 |
osh-native-souffle |
0 |
no-host |
hello-world |
147 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
76 |
0 |
0 |
0 |
8 |
0 |
1 |
1 |
dash |
16 |
no-host |
hello-world |
3,967 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
344 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host