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 |
598 |
23 |
21 |
29.67 |
1.12 |
bin-true |
no-host |
681 |
556 |
2,581 |
833 |
897 |
3.79 |
1.22 |
configure.cpython |
no-host |
16,297 |
17,207 |
32,733 |
17,658 |
17,211 |
2.01 |
1.08 |
configure.ocaml |
no-host |
4,199 |
4,064 |
5,108 |
4,241 |
4,115 |
1.22 |
1.01 |
configure.tcc |
no-host |
48 |
41 |
415 |
49 |
49 |
8.59 |
1.01 |
configure.util-linux |
no-host |
15,523 |
16,798 |
37,238 |
16,306 |
15,875 |
2.40 |
1.05 |
configure.yash |
no-host |
1,920 |
2,043 |
3,019 |
1,971 |
2,083 |
1.57 |
1.03 |
hello-world |
no-host |
1 |
1 |
63 |
4 |
3 |
44.70 |
2.71 |
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,533 |
1,084 |
24,469 |
3,156 |
3,097 |
9.66 |
1.25 |
bin-true |
no-host |
104,379 |
66,399 |
807,207 |
128,242 |
124,280 |
7.73 |
1.23 |
configure.cpython |
no-host |
1,991,309 |
2,023,228 |
6,111,603 |
2,017,543 |
1,997,349 |
3.07 |
1.01 |
configure.ocaml |
no-host |
373,294 |
353,565 |
616,693 |
376,821 |
375,945 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,072 |
4,995 |
24,111 |
6,541 |
6,451 |
3.97 |
1.08 |
configure.util-linux |
no-host |
1,910,513 |
2,070,225 |
5,294,274 |
1,823,800 |
1,812,552 |
2.77 |
0.95 |
configure.yash |
no-host |
232,840 |
221,833 |
369,628 |
235,743 |
235,779 |
1.59 |
1.01 |
hello-world |
no-host |
148 |
76 |
3,970 |
344 |
340 |
26.82 |
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 |
4 |
0 |
0 |
0.3 |
6.3 |
3,806 |
3,806 |
0 |
701 |
1,870 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
833 |
1 |
2 |
2.6 |
8.0 |
156,773 |
15,415 |
2,902 |
8,753 |
77,337 |
70,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
17,658 |
5 |
92 |
15.5 |
29.2 |
1,785,014 |
30,560 |
28,527 |
91,506 |
887,089 |
806,419 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
16,306 |
4 |
77 |
21.6 |
30.3 |
2,709,215 |
53,762 |
65,706 |
114,373 |
1,296,230 |
1,298,612 |
32,241 |
41 |
131,412 |
1 |
configure.ocaml |
no-host |
4,241 |
1 |
2 |
2.6 |
22.5 |
149,860 |
11,179 |
5,222 |
7,734 |
70,879 |
71,247 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.6 |
30,576 |
30,576 |
0 |
1,543 |
14,636 |
14,397 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,971 |
1 |
2 |
2.6 |
26.3 |
139,882 |
8,046 |
6,701 |
6,398 |
68,350 |
65,134 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
9.2 |
116,338 |
64,420 |
42,628 |
4,545 |
54,462 |
57,331 |
277 |
3 |
85,256 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.0 |
3,805 |
3,805 |
0 |
702 |
1,870 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
897 |
1 |
2 |
2.6 |
7.6 |
156,772 |
15,410 |
2,897 |
8,754 |
77,337 |
70,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
17,211 |
3 |
80 |
15.4 |
29.1 |
1,785,013 |
30,547 |
28,522 |
91,507 |
887,089 |
806,417 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
15,875 |
4 |
77 |
21.6 |
30.3 |
2,709,215 |
53,739 |
65,701 |
114,375 |
1,296,230 |
1,298,610 |
32,241 |
41 |
131,402 |
1 |
configure.ocaml |
no-host |
4,115 |
1 |
2 |
2.6 |
22.6 |
149,860 |
11,174 |
5,217 |
7,736 |
70,879 |
71,245 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.6 |
30,576 |
30,576 |
0 |
1,545 |
14,636 |
14,395 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
2,083 |
1 |
2 |
2.6 |
26.4 |
139,882 |
8,035 |
6,690 |
6,400 |
68,350 |
65,132 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,337 |
64,415 |
42,623 |
4,546 |
54,462 |
57,329 |
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 |
20 |
11 |
10 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
598 |
525 |
77 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
12 |
11 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
8 |
14 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
681 |
299 |
418 |
3.0 |
bash |
9 |
no-host |
bin-true |
556 |
286 |
282 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,581 |
913 |
1,958 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
833 |
295 |
556 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
897 |
287 |
632 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
16,297 |
7,166 |
9,597 |
29.1 |
bash |
10 |
no-host |
configure.cpython |
17,207 |
7,470 |
10,272 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
32,733 |
16,534 |
18,413 |
29.1 |
osh-cpython |
26 |
no-host |
configure.cpython |
17,658 |
7,625 |
10,376 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
17,211 |
7,401 |
10,154 |
29.1 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
4,199 |
1,469 |
1,780 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
4,064 |
1,450 |
1,643 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
5,108 |
2,096 |
2,274 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
4,241 |
1,492 |
1,800 |
22.5 |
osh-native |
36 |
no-host |
configure.ocaml |
4,115 |
1,500 |
1,653 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
22 |
26 |
19.5 |
bash |
13 |
no-host |
configure.tcc |
41 |
18 |
24 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
415 |
280 |
145 |
19.7 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
18 |
32 |
19.6 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
21 |
28 |
19.6 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
15,523 |
6,461 |
9,621 |
30.2 |
bash |
11 |
no-host |
configure.util-linux |
16,798 |
6,740 |
10,666 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
37,238 |
21,381 |
17,186 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
16,306 |
6,350 |
10,208 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
15,875 |
6,222 |
9,895 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,920 |
949 |
983 |
26.4 |
bash |
14 |
no-host |
configure.yash |
2,043 |
1,039 |
1,010 |
26.2 |
dash |
22 |
no-host |
configure.yash |
3,019 |
1,683 |
1,391 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,971 |
962 |
1,014 |
26.3 |
osh-native |
38 |
no-host |
configure.yash |
2,083 |
1,018 |
1,072 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
16 |
no-host |
hello-world |
63 |
41 |
22 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
4 |
2 |
2 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
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,533 |
0 |
0 |
0 |
16 |
0 |
42 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,084 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,469 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,156 |
0 |
0 |
0 |
16 |
0 |
38 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,097 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,379 |
0 |
0 |
0 |
8 |
0 |
1,987 |
84 |
bash |
9 |
no-host |
bin-true |
66,399 |
0 |
0 |
0 |
8 |
0 |
1,977 |
86 |
dash |
17 |
no-host |
bin-true |
807,207 |
0 |
0 |
0 |
8 |
0 |
1,983 |
212 |
osh-cpython |
25 |
no-host |
bin-true |
128,242 |
0 |
0 |
0 |
16 |
0 |
1,982 |
108 |
osh-native |
33 |
no-host |
bin-true |
124,280 |
0 |
0 |
0 |
16 |
0 |
1,971 |
99 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,991,309 |
0 |
0 |
0 |
32,928 |
0 |
14,166 |
1,119 |
bash |
10 |
no-host |
configure.cpython |
2,023,228 |
0 |
0 |
0 |
32,992 |
0 |
14,303 |
1,133 |
dash |
18 |
no-host |
configure.cpython |
6,111,603 |
0 |
0 |
0 |
27,512 |
0 |
12,994 |
1,025 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,017,543 |
0 |
0 |
0 |
27,520 |
0 |
12,923 |
1,019 |
osh-native |
34 |
no-host |
configure.cpython |
1,997,349 |
0 |
0 |
0 |
27,520 |
0 |
12,954 |
1,027 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,294 |
0 |
0 |
0 |
5,120 |
0 |
1,943 |
192 |
bash |
12 |
no-host |
configure.ocaml |
353,565 |
0 |
0 |
0 |
5,112 |
0 |
1,882 |
180 |
dash |
20 |
no-host |
configure.ocaml |
616,693 |
0 |
0 |
0 |
5,112 |
0 |
1,844 |
209 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,821 |
0 |
0 |
0 |
5,120 |
0 |
1,923 |
219 |
osh-native |
36 |
no-host |
configure.ocaml |
375,945 |
0 |
0 |
0 |
5,120 |
0 |
1,914 |
208 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,072 |
0 |
0 |
0 |
104 |
0 |
49 |
11 |
bash |
13 |
no-host |
configure.tcc |
4,995 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,111 |
0 |
0 |
0 |
96 |
0 |
51 |
9 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,541 |
0 |
0 |
0 |
104 |
0 |
46 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,451 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,910,513 |
1 |
0 |
0 |
42,400 |
0 |
18,411 |
1,270 |
bash |
11 |
no-host |
configure.util-linux |
2,070,225 |
2 |
0 |
0 |
42,592 |
0 |
17,329 |
1,523 |
dash |
19 |
no-host |
configure.util-linux |
5,294,274 |
6 |
0 |
0 |
39,128 |
0 |
16,866 |
1,288 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,823,800 |
6 |
0 |
0 |
39,128 |
0 |
16,966 |
1,201 |
osh-native |
35 |
no-host |
configure.util-linux |
1,812,552 |
1 |
0 |
0 |
39,136 |
0 |
16,896 |
1,125 |
osh-native-souffle |
6 |
no-host |
configure.yash |
232,840 |
0 |
0 |
0 |
4,120 |
0 |
869 |
80 |
bash |
14 |
no-host |
configure.yash |
221,833 |
0 |
0 |
0 |
3,720 |
0 |
864 |
84 |
dash |
22 |
no-host |
configure.yash |
369,628 |
0 |
0 |
0 |
3,728 |
0 |
853 |
79 |
osh-cpython |
30 |
no-host |
configure.yash |
235,743 |
0 |
0 |
0 |
3,736 |
0 |
850 |
93 |
osh-native |
38 |
no-host |
configure.yash |
235,779 |
0 |
0 |
0 |
3,736 |
0 |
848 |
91 |
osh-native-souffle |
0 |
no-host |
hello-world |
148 |
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,970 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
340 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host