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 |
475 |
22 |
20 |
24.65 |
1.14 |
bin-true |
no-host |
652 |
526 |
2,372 |
798 |
797 |
3.64 |
1.22 |
configure.cpython |
no-host |
14,800 |
14,775 |
28,893 |
14,974 |
14,945 |
1.95 |
1.01 |
configure.ocaml |
no-host |
3,769 |
3,712 |
4,705 |
3,833 |
3,788 |
1.25 |
1.02 |
configure.tcc |
no-host |
47 |
42 |
218 |
49 |
48 |
4.63 |
1.03 |
configure.util-linux |
no-host |
13,701 |
14,565 |
32,089 |
14,077 |
14,014 |
2.34 |
1.03 |
configure.yash |
no-host |
1,804 |
1,760 |
2,474 |
1,835 |
1,800 |
1.37 |
1.02 |
hello-world |
no-host |
1 |
1 |
57 |
3 |
3 |
43.00 |
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,520 |
1,099 |
24,642 |
3,204 |
3,116 |
9.78 |
1.27 |
bin-true |
no-host |
106,257 |
66,383 |
807,410 |
125,224 |
126,110 |
7.60 |
1.18 |
configure.cpython |
no-host |
2,001,178 |
2,018,501 |
6,103,929 |
2,012,622 |
1,995,378 |
3.05 |
1.01 |
configure.ocaml |
no-host |
373,258 |
354,307 |
616,121 |
376,569 |
375,565 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,081 |
5,022 |
24,104 |
6,522 |
6,474 |
3.96 |
1.07 |
configure.util-linux |
no-host |
1,912,064 |
2,075,765 |
5,294,317 |
1,816,779 |
1,812,828 |
2.77 |
0.95 |
configure.yash |
no-host |
232,695 |
221,631 |
369,523 |
235,186 |
235,141 |
1.59 |
1.01 |
hello-world |
no-host |
148 |
75 |
3,972 |
351 |
342 |
26.84 |
2.37 |
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,807 |
3,807 |
0 |
701 |
1,870 |
1,236 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
798 |
1 |
2 |
2.6 |
8.1 |
156,774 |
15,415 |
2,902 |
8,753 |
77,337 |
70,684 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,974 |
1 |
70 |
15.5 |
29.3 |
1,785,014 |
30,560 |
28,527 |
91,506 |
886,574 |
806,934 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
14,077 |
4 |
67 |
21.6 |
30.2 |
2,709,215 |
53,762 |
65,726 |
114,373 |
1,295,037 |
1,299,805 |
32,241 |
41 |
131,452 |
1 |
configure.ocaml |
no-host |
3,833 |
1 |
2 |
2.6 |
22.6 |
149,861 |
11,179 |
5,222 |
7,734 |
70,874 |
71,253 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.7 |
30,577 |
30,577 |
0 |
1,543 |
14,636 |
14,398 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,835 |
1 |
2 |
2.6 |
26.2 |
139,883 |
8,046 |
6,701 |
6,398 |
68,339 |
65,146 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,339 |
64,420 |
42,628 |
4,545 |
54,462 |
57,332 |
277 |
3 |
85,256 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.9 |
3,806 |
3,806 |
0 |
702 |
1,870 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
797 |
1 |
2 |
2.6 |
7.7 |
156,773 |
15,410 |
2,897 |
8,754 |
77,337 |
70,682 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,945 |
1 |
69 |
15.4 |
29.2 |
1,785,013 |
30,547 |
28,522 |
91,507 |
886,574 |
806,932 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
14,014 |
3 |
64 |
21.6 |
30.5 |
2,709,215 |
53,739 |
65,721 |
114,375 |
1,295,037 |
1,299,803 |
32,241 |
41 |
131,442 |
1 |
configure.ocaml |
no-host |
3,788 |
1 |
2 |
2.6 |
22.6 |
149,861 |
11,174 |
5,217 |
7,736 |
70,874 |
71,251 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.7 |
30,577 |
30,577 |
0 |
1,545 |
14,636 |
14,396 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,800 |
1 |
2 |
2.6 |
26.3 |
139,883 |
8,035 |
6,690 |
6,400 |
68,339 |
65,144 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
20 |
1 |
2 |
2.8 |
8.7 |
116,338 |
64,415 |
42,623 |
4,546 |
54,462 |
57,330 |
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 |
13 |
7 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
5 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
475 |
421 |
58 |
22.9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
12 |
11 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
9 |
12 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
652 |
303 |
383 |
2.9 |
bash |
9 |
no-host |
bin-true |
526 |
277 |
261 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,372 |
811 |
1,825 |
18.8 |
osh-cpython |
25 |
no-host |
bin-true |
798 |
295 |
519 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
797 |
286 |
527 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,800 |
6,676 |
8,549 |
29.1 |
bash |
10 |
no-host |
configure.cpython |
14,775 |
6,687 |
8,526 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
28,893 |
14,360 |
16,475 |
29.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,974 |
6,529 |
8,739 |
29.3 |
osh-native |
34 |
no-host |
configure.cpython |
14,945 |
6,622 |
8,611 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,769 |
1,308 |
1,503 |
22.5 |
bash |
12 |
no-host |
configure.ocaml |
3,712 |
1,284 |
1,451 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,705 |
1,880 |
2,047 |
22.5 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,833 |
1,356 |
1,518 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,788 |
1,315 |
1,513 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
16 |
32 |
19.6 |
bash |
13 |
no-host |
configure.tcc |
42 |
21 |
21 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
218 |
147 |
75 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
17 |
32 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
22 |
27 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,701 |
5,871 |
8,323 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,565 |
5,848 |
9,245 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
32,089 |
18,325 |
14,856 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,077 |
5,637 |
8,669 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
14,014 |
5,526 |
8,711 |
30.5 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,804 |
898 |
915 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,760 |
921 |
844 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,474 |
1,385 |
1,133 |
26.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,835 |
894 |
946 |
26.2 |
osh-native |
38 |
no-host |
configure.yash |
1,800 |
903 |
901 |
26.3 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
57 |
39 |
18 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
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,520 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,099 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,642 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,204 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
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 |
106,257 |
0 |
0 |
0 |
8 |
0 |
1,988 |
78 |
bash |
9 |
no-host |
bin-true |
66,383 |
0 |
0 |
0 |
8 |
0 |
1,981 |
57 |
dash |
17 |
no-host |
bin-true |
807,410 |
0 |
0 |
0 |
8 |
0 |
1,983 |
309 |
osh-cpython |
25 |
no-host |
bin-true |
125,224 |
0 |
0 |
0 |
16 |
0 |
1,984 |
123 |
osh-native |
33 |
no-host |
bin-true |
126,110 |
0 |
0 |
0 |
16 |
0 |
1,981 |
97 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,001,178 |
0 |
0 |
0 |
32,928 |
0 |
14,205 |
1,357 |
bash |
10 |
no-host |
configure.cpython |
2,018,501 |
0 |
0 |
0 |
32,992 |
0 |
14,307 |
1,234 |
dash |
18 |
no-host |
configure.cpython |
6,103,929 |
1 |
0 |
0 |
27,512 |
0 |
13,053 |
1,104 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,012,622 |
1 |
0 |
0 |
27,520 |
0 |
13,034 |
1,158 |
osh-native |
34 |
no-host |
configure.cpython |
1,995,378 |
0 |
0 |
0 |
27,520 |
0 |
13,011 |
1,053 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,258 |
0 |
0 |
0 |
5,120 |
0 |
1,943 |
214 |
bash |
12 |
no-host |
configure.ocaml |
354,307 |
0 |
0 |
0 |
5,112 |
0 |
1,936 |
173 |
dash |
20 |
no-host |
configure.ocaml |
616,121 |
0 |
0 |
0 |
5,112 |
0 |
1,850 |
219 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,569 |
0 |
0 |
0 |
5,120 |
0 |
1,922 |
179 |
osh-native |
36 |
no-host |
configure.ocaml |
375,565 |
0 |
0 |
0 |
5,120 |
0 |
1,921 |
195 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,081 |
0 |
0 |
0 |
104 |
0 |
49 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,022 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,104 |
0 |
0 |
0 |
96 |
0 |
53 |
4 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,522 |
0 |
0 |
0 |
104 |
0 |
46 |
0 |
osh-native |
37 |
no-host |
configure.tcc |
6,474 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,912,064 |
0 |
0 |
0 |
42,400 |
0 |
18,415 |
1,255 |
bash |
11 |
no-host |
configure.util-linux |
2,075,765 |
1 |
0 |
0 |
42,584 |
0 |
17,290 |
1,396 |
dash |
19 |
no-host |
configure.util-linux |
5,294,317 |
8 |
0 |
0 |
39,136 |
0 |
17,025 |
1,332 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,816,779 |
0 |
0 |
0 |
39,120 |
0 |
16,994 |
1,171 |
osh-native |
35 |
no-host |
configure.util-linux |
1,812,828 |
0 |
0 |
0 |
39,128 |
0 |
16,968 |
1,091 |
osh-native-souffle |
6 |
no-host |
configure.yash |
232,695 |
0 |
0 |
0 |
4,120 |
0 |
874 |
95 |
bash |
14 |
no-host |
configure.yash |
221,631 |
0 |
0 |
0 |
3,720 |
0 |
870 |
91 |
dash |
22 |
no-host |
configure.yash |
369,523 |
0 |
0 |
0 |
3,728 |
0 |
858 |
95 |
osh-cpython |
30 |
no-host |
configure.yash |
235,186 |
0 |
0 |
0 |
3,736 |
0 |
850 |
98 |
osh-native |
38 |
no-host |
configure.yash |
235,141 |
0 |
0 |
0 |
3,736 |
0 |
847 |
99 |
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 |
0 |
dash |
16 |
no-host |
hello-world |
3,972 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
351 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
342 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host