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 |
486 |
23 |
21 |
25.50 |
1.23 |
bin-true |
no-host |
655 |
535 |
2,379 |
797 |
795 |
3.64 |
1.22 |
configure.cpython |
no-host |
15,021 |
15,077 |
29,534 |
15,247 |
15,253 |
1.97 |
1.02 |
configure.ocaml |
no-host |
3,833 |
3,748 |
4,710 |
3,831 |
3,836 |
1.23 |
1.00 |
configure.tcc |
no-host |
47 |
41 |
208 |
49 |
48 |
4.41 |
1.03 |
configure.util-linux |
no-host |
13,983 |
14,781 |
32,377 |
14,345 |
14,298 |
2.32 |
1.03 |
configure.yash |
no-host |
1,853 |
1,789 |
2,510 |
1,856 |
1,845 |
1.35 |
1.00 |
hello-world |
no-host |
1 |
1 |
58 |
3 |
3 |
40.37 |
2.01 |
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,559 |
1,112 |
24,240 |
3,186 |
3,099 |
9.47 |
1.25 |
bin-true |
no-host |
103,311 |
66,472 |
801,142 |
125,254 |
125,224 |
7.75 |
1.21 |
configure.cpython |
no-host |
1,997,573 |
2,028,900 |
6,099,912 |
2,012,350 |
2,004,785 |
3.05 |
1.01 |
configure.ocaml |
no-host |
373,390 |
353,501 |
616,307 |
377,009 |
375,954 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,057 |
5,009 |
23,975 |
6,515 |
6,467 |
3.96 |
1.08 |
configure.util-linux |
no-host |
1,914,466 |
2,071,246 |
5,296,758 |
1,822,861 |
1,813,745 |
2.77 |
0.95 |
configure.yash |
no-host |
233,736 |
221,637 |
369,616 |
236,049 |
235,509 |
1.58 |
1.01 |
hello-world |
no-host |
148 |
75 |
3,971 |
345 |
341 |
26.83 |
2.33 |
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.4 |
3,808 |
3,808 |
0 |
702 |
1,871 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
797 |
1 |
2 |
2.6 |
8.1 |
156,775 |
15,417 |
2,904 |
8,754 |
77,338 |
70,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,247 |
2 |
71 |
15.5 |
29.2 |
1,785,016 |
30,562 |
28,529 |
91,507 |
887,090 |
806,419 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
14,345 |
3 |
66 |
21.6 |
30.2 |
2,709,217 |
53,764 |
65,728 |
114,374 |
1,296,231 |
1,298,612 |
32,241 |
41 |
131,456 |
1 |
configure.ocaml |
no-host |
3,831 |
1 |
2 |
2.6 |
22.6 |
149,862 |
11,181 |
5,224 |
7,735 |
70,880 |
71,247 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.5 |
30,578 |
30,578 |
0 |
1,544 |
14,637 |
14,397 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,856 |
1 |
2 |
2.6 |
26.3 |
139,884 |
8,048 |
6,703 |
6,399 |
68,351 |
65,134 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
9.2 |
116,340 |
64,422 |
42,630 |
4,546 |
54,463 |
57,331 |
277 |
3 |
85,260 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.9 |
3,807 |
3,807 |
0 |
703 |
1,871 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
795 |
1 |
2 |
2.6 |
7.6 |
156,774 |
15,412 |
2,899 |
8,755 |
77,338 |
70,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,253 |
1 |
71 |
15.5 |
29.2 |
1,785,015 |
30,549 |
28,524 |
91,508 |
887,090 |
806,417 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
14,298 |
3 |
66 |
21.6 |
30.3 |
2,709,217 |
53,741 |
65,723 |
114,376 |
1,296,231 |
1,298,610 |
32,241 |
41 |
131,446 |
1 |
configure.ocaml |
no-host |
3,836 |
1 |
2 |
2.6 |
22.6 |
149,862 |
11,176 |
5,219 |
7,737 |
70,880 |
71,245 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.7 |
30,578 |
30,578 |
0 |
1,546 |
14,637 |
14,395 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,845 |
1 |
2 |
2.6 |
26.4 |
139,884 |
8,037 |
6,692 |
6,401 |
68,351 |
65,132 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.4 |
116,339 |
64,417 |
42,625 |
4,547 |
54,463 |
57,329 |
277 |
3 |
85,250 |
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 |
14 |
6 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
5 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
486 |
434 |
56 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
13 |
11 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
8 |
13 |
8.4 |
osh-native-souffle |
1 |
no-host |
bin-true |
655 |
312 |
376 |
2.9 |
bash |
9 |
no-host |
bin-true |
535 |
274 |
273 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,379 |
806 |
1,837 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
797 |
307 |
509 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
795 |
304 |
508 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,021 |
6,735 |
8,712 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
15,077 |
6,760 |
8,767 |
29.3 |
dash |
18 |
no-host |
configure.cpython |
29,534 |
14,728 |
16,785 |
29.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,247 |
6,699 |
8,845 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
15,253 |
6,723 |
8,824 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,833 |
1,324 |
1,551 |
22.8 |
bash |
12 |
no-host |
configure.ocaml |
3,748 |
1,299 |
1,471 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,710 |
1,911 |
2,021 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,831 |
1,330 |
1,542 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,836 |
1,342 |
1,534 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
23 |
25 |
19.5 |
bash |
13 |
no-host |
configure.tcc |
41 |
18 |
24 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
208 |
141 |
71 |
19.5 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
23 |
26 |
19.5 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
24 |
24 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,983 |
5,867 |
8,617 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,781 |
5,952 |
9,368 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
32,377 |
18,533 |
14,990 |
30.5 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,345 |
5,690 |
8,885 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
14,298 |
5,723 |
8,794 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,853 |
927 |
935 |
26.2 |
bash |
14 |
no-host |
configure.yash |
1,789 |
908 |
885 |
26.2 |
dash |
22 |
no-host |
configure.yash |
2,510 |
1,382 |
1,173 |
26.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,856 |
959 |
902 |
26.3 |
osh-native |
38 |
no-host |
configure.yash |
1,845 |
900 |
950 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
58 |
43 |
15 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
2 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,559 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,112 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,240 |
0 |
0 |
0 |
8 |
0 |
45 |
4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,186 |
0 |
0 |
0 |
16 |
0 |
39 |
5 |
osh-native |
39 |
no-host |
abuild-print-help |
3,099 |
0 |
0 |
0 |
16 |
0 |
39 |
6 |
osh-native-souffle |
1 |
no-host |
bin-true |
103,311 |
0 |
0 |
0 |
8 |
0 |
1,983 |
58 |
bash |
9 |
no-host |
bin-true |
66,472 |
0 |
0 |
0 |
8 |
0 |
1,981 |
118 |
dash |
17 |
no-host |
bin-true |
801,142 |
0 |
0 |
0 |
8 |
0 |
1,963 |
372 |
osh-cpython |
25 |
no-host |
bin-true |
125,254 |
0 |
0 |
0 |
16 |
0 |
1,972 |
116 |
osh-native |
33 |
no-host |
bin-true |
125,224 |
0 |
0 |
0 |
16 |
0 |
1,979 |
123 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,997,573 |
0 |
0 |
0 |
32,928 |
0 |
14,242 |
1,279 |
bash |
10 |
no-host |
configure.cpython |
2,028,900 |
0 |
0 |
0 |
32,992 |
0 |
14,357 |
1,253 |
dash |
18 |
no-host |
configure.cpython |
6,099,912 |
0 |
0 |
0 |
27,512 |
0 |
13,016 |
1,072 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,012,350 |
0 |
0 |
0 |
27,520 |
0 |
12,993 |
1,138 |
osh-native |
34 |
no-host |
configure.cpython |
2,004,785 |
0 |
0 |
0 |
27,520 |
0 |
13,016 |
1,093 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,390 |
0 |
0 |
0 |
5,120 |
0 |
1,945 |
185 |
bash |
12 |
no-host |
configure.ocaml |
353,501 |
0 |
0 |
0 |
5,112 |
0 |
1,934 |
178 |
dash |
20 |
no-host |
configure.ocaml |
616,307 |
0 |
0 |
0 |
5,112 |
0 |
1,850 |
180 |
osh-cpython |
28 |
no-host |
configure.ocaml |
377,009 |
0 |
0 |
0 |
5,120 |
0 |
1,918 |
220 |
osh-native |
36 |
no-host |
configure.ocaml |
375,954 |
0 |
0 |
0 |
5,120 |
0 |
1,913 |
193 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,057 |
0 |
0 |
0 |
104 |
0 |
49 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,009 |
0 |
0 |
0 |
96 |
0 |
47 |
0 |
dash |
21 |
no-host |
configure.tcc |
23,975 |
0 |
0 |
0 |
96 |
0 |
53 |
10 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,515 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,467 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,914,466 |
0 |
0 |
0 |
42,400 |
0 |
18,389 |
1,307 |
bash |
11 |
no-host |
configure.util-linux |
2,071,246 |
1 |
0 |
0 |
42,584 |
0 |
17,352 |
1,513 |
dash |
19 |
no-host |
configure.util-linux |
5,296,758 |
12 |
0 |
0 |
39,112 |
0 |
17,046 |
1,313 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,822,861 |
1 |
0 |
0 |
39,120 |
0 |
16,962 |
1,265 |
osh-native |
35 |
no-host |
configure.util-linux |
1,813,745 |
0 |
0 |
0 |
39,136 |
0 |
16,888 |
1,136 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,736 |
0 |
0 |
0 |
4,120 |
0 |
872 |
94 |
bash |
14 |
no-host |
configure.yash |
221,637 |
0 |
0 |
0 |
3,720 |
0 |
868 |
72 |
dash |
22 |
no-host |
configure.yash |
369,616 |
0 |
0 |
0 |
3,728 |
0 |
854 |
82 |
osh-cpython |
30 |
no-host |
configure.yash |
236,049 |
0 |
0 |
0 |
3,736 |
0 |
851 |
145 |
osh-native |
38 |
no-host |
configure.yash |
235,509 |
0 |
0 |
0 |
3,736 |
0 |
850 |
93 |
osh-native-souffle |
0 |
no-host |
hello-world |
148 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
75 |
0 |
0 |
0 |
8 |
0 |
1 |
1 |
dash |
16 |
no-host |
hello-world |
3,971 |
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 |
341 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host