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 |
482 |
22 |
21 |
25.01 |
1.14 |
bin-true |
no-host |
663 |
534 |
2,368 |
800 |
796 |
3.57 |
1.21 |
configure.cpython |
no-host |
14,898 |
14,905 |
29,297 |
15,188 |
15,186 |
1.97 |
1.02 |
configure.ocaml |
no-host |
3,780 |
3,735 |
4,681 |
3,814 |
3,794 |
1.24 |
1.01 |
configure.tcc |
no-host |
47 |
41 |
209 |
48 |
47 |
4.44 |
1.01 |
configure.util-linux |
no-host |
13,799 |
14,695 |
31,983 |
14,238 |
14,156 |
2.32 |
1.03 |
configure.yash |
no-host |
1,816 |
1,809 |
2,489 |
1,841 |
1,819 |
1.37 |
1.01 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
38.16 |
1.89 |
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,534 |
1,141 |
24,140 |
3,208 |
3,104 |
9.53 |
1.27 |
bin-true |
no-host |
107,304 |
65,437 |
802,446 |
129,172 |
125,188 |
7.48 |
1.20 |
configure.cpython |
no-host |
1,993,415 |
2,018,324 |
6,096,571 |
2,017,741 |
2,008,158 |
3.06 |
1.01 |
configure.ocaml |
no-host |
373,522 |
354,284 |
616,002 |
376,482 |
376,028 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,088 |
4,987 |
24,039 |
6,485 |
6,486 |
3.95 |
1.07 |
configure.util-linux |
no-host |
1,910,568 |
2,074,139 |
5,302,615 |
1,815,738 |
1,818,225 |
2.78 |
0.95 |
configure.yash |
no-host |
233,276 |
222,333 |
369,415 |
235,161 |
234,929 |
1.58 |
1.01 |
hello-world |
no-host |
145 |
79 |
3,967 |
348 |
343 |
27.36 |
2.40 |
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,805 |
3,805 |
0 |
700 |
1,870 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
800 |
1 |
2 |
2.6 |
8.1 |
156,772 |
15,414 |
2,901 |
8,752 |
77,337 |
70,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,188 |
2 |
74 |
15.5 |
29.0 |
1,785,013 |
30,559 |
28,526 |
91,505 |
887,089 |
806,419 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
14,238 |
3 |
68 |
21.6 |
30.2 |
2,709,214 |
53,761 |
65,725 |
114,372 |
1,296,230 |
1,298,612 |
32,241 |
41 |
131,450 |
1 |
configure.ocaml |
no-host |
3,814 |
1 |
2 |
2.6 |
22.6 |
149,859 |
11,178 |
5,221 |
7,733 |
70,879 |
71,247 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.4 |
30,575 |
30,575 |
0 |
1,542 |
14,636 |
14,397 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,841 |
1 |
2 |
2.6 |
26.5 |
139,881 |
8,045 |
6,700 |
6,397 |
68,350 |
65,134 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,337 |
64,419 |
42,627 |
4,544 |
54,462 |
57,331 |
277 |
3 |
85,254 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.0 |
3,804 |
3,804 |
0 |
701 |
1,870 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
796 |
1 |
2 |
2.6 |
7.7 |
156,771 |
15,409 |
2,896 |
8,753 |
77,337 |
70,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,186 |
1 |
69 |
15.4 |
29.2 |
1,785,012 |
30,546 |
28,521 |
91,506 |
887,089 |
806,417 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
14,156 |
3 |
66 |
21.6 |
30.2 |
2,709,214 |
53,738 |
65,720 |
114,374 |
1,296,230 |
1,298,610 |
32,241 |
41 |
131,440 |
1 |
configure.ocaml |
no-host |
3,794 |
1 |
2 |
2.6 |
22.6 |
149,859 |
11,173 |
5,216 |
7,735 |
70,879 |
71,245 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.7 |
30,575 |
30,575 |
0 |
1,544 |
14,636 |
14,395 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,819 |
1 |
2 |
2.6 |
26.3 |
139,881 |
8,034 |
6,689 |
6,399 |
68,350 |
65,132 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.5 |
116,336 |
64,414 |
42,622 |
4,545 |
54,462 |
57,329 |
277 |
3 |
85,244 |
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 |
10 |
10 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
482 |
418 |
67 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
10 |
12 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
15 |
6 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
663 |
300 |
399 |
2.9 |
bash |
9 |
no-host |
bin-true |
534 |
279 |
266 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,368 |
833 |
1,794 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
800 |
298 |
519 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
796 |
286 |
529 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,898 |
6,795 |
8,492 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
14,905 |
6,775 |
8,571 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
29,297 |
14,512 |
16,724 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,188 |
6,597 |
8,885 |
29.0 |
osh-native |
34 |
no-host |
configure.cpython |
15,186 |
6,678 |
8,799 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,780 |
1,315 |
1,508 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,735 |
1,295 |
1,461 |
22.5 |
dash |
20 |
no-host |
configure.ocaml |
4,681 |
1,894 |
2,010 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,814 |
1,339 |
1,517 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,794 |
1,288 |
1,546 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
25 |
23 |
19.6 |
bash |
13 |
no-host |
configure.tcc |
41 |
19 |
23 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
209 |
145 |
68 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
26 |
23 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
25 |
23 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,799 |
5,793 |
8,512 |
30.2 |
bash |
11 |
no-host |
configure.util-linux |
14,695 |
5,863 |
9,321 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,983 |
18,178 |
14,893 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,238 |
5,559 |
8,882 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
14,156 |
5,681 |
8,682 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,816 |
908 |
919 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,809 |
902 |
911 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,489 |
1,383 |
1,151 |
26.3 |
osh-cpython |
30 |
no-host |
configure.yash |
1,841 |
910 |
936 |
26.5 |
osh-native |
38 |
no-host |
configure.yash |
1,819 |
914 |
907 |
26.3 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
16 |
no-host |
hello-world |
56 |
41 |
15 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
2 |
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,534 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,141 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,140 |
0 |
0 |
0 |
8 |
0 |
45 |
8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,208 |
0 |
0 |
0 |
16 |
0 |
38 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,104 |
0 |
0 |
0 |
16 |
0 |
39 |
6 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,304 |
0 |
0 |
0 |
8 |
0 |
1,990 |
171 |
bash |
9 |
no-host |
bin-true |
65,437 |
0 |
0 |
0 |
8 |
0 |
1,980 |
96 |
dash |
17 |
no-host |
bin-true |
802,446 |
0 |
0 |
0 |
8 |
0 |
1,984 |
181 |
osh-cpython |
25 |
no-host |
bin-true |
129,172 |
0 |
0 |
0 |
16 |
0 |
1,983 |
153 |
osh-native |
33 |
no-host |
bin-true |
125,188 |
0 |
0 |
0 |
16 |
0 |
1,973 |
188 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,993,415 |
0 |
0 |
0 |
32,952 |
0 |
14,305 |
1,172 |
bash |
10 |
no-host |
configure.cpython |
2,018,324 |
0 |
0 |
0 |
32,992 |
0 |
14,349 |
1,240 |
dash |
18 |
no-host |
configure.cpython |
6,096,571 |
0 |
0 |
0 |
27,512 |
0 |
13,052 |
1,166 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,017,741 |
0 |
0 |
0 |
27,520 |
0 |
13,157 |
1,089 |
osh-native |
34 |
no-host |
configure.cpython |
2,008,158 |
0 |
0 |
0 |
27,520 |
0 |
13,044 |
1,108 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,522 |
0 |
0 |
0 |
5,120 |
0 |
1,943 |
181 |
bash |
12 |
no-host |
configure.ocaml |
354,284 |
0 |
0 |
0 |
5,112 |
0 |
1,934 |
231 |
dash |
20 |
no-host |
configure.ocaml |
616,002 |
0 |
0 |
0 |
5,112 |
0 |
1,852 |
191 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,482 |
0 |
0 |
0 |
5,120 |
0 |
1,917 |
202 |
osh-native |
36 |
no-host |
configure.ocaml |
376,028 |
0 |
0 |
0 |
5,120 |
0 |
1,930 |
212 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,088 |
0 |
0 |
0 |
104 |
0 |
49 |
3 |
bash |
13 |
no-host |
configure.tcc |
4,987 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,039 |
0 |
0 |
0 |
96 |
0 |
53 |
8 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,485 |
0 |
0 |
0 |
104 |
0 |
46 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,486 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,910,568 |
0 |
0 |
0 |
42,400 |
0 |
18,413 |
1,149 |
bash |
11 |
no-host |
configure.util-linux |
2,074,139 |
1 |
0 |
0 |
42,584 |
0 |
17,334 |
1,322 |
dash |
19 |
no-host |
configure.util-linux |
5,302,615 |
9 |
0 |
0 |
39,136 |
0 |
17,043 |
1,307 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,815,738 |
1 |
0 |
0 |
39,120 |
0 |
17,004 |
1,124 |
osh-native |
35 |
no-host |
configure.util-linux |
1,818,225 |
1 |
0 |
0 |
39,136 |
0 |
17,011 |
1,138 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,276 |
0 |
0 |
0 |
4,120 |
0 |
870 |
93 |
bash |
14 |
no-host |
configure.yash |
222,333 |
0 |
0 |
0 |
3,720 |
0 |
871 |
81 |
dash |
22 |
no-host |
configure.yash |
369,415 |
0 |
0 |
0 |
3,728 |
0 |
851 |
78 |
osh-cpython |
30 |
no-host |
configure.yash |
235,161 |
0 |
0 |
0 |
3,736 |
0 |
848 |
91 |
osh-native |
38 |
no-host |
configure.yash |
234,929 |
1 |
0 |
0 |
3,736 |
0 |
852 |
97 |
osh-native-souffle |
0 |
no-host |
hello-world |
145 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
79 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,967 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
348 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
343 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host