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 |
468 |
22 |
20 |
25.00 |
1.16 |
bin-true |
no-host |
660 |
528 |
2,407 |
797 |
789 |
3.65 |
1.21 |
configure.cpython |
no-host |
14,640 |
14,688 |
29,091 |
14,903 |
14,765 |
1.99 |
1.02 |
configure.ocaml |
no-host |
3,735 |
3,655 |
4,663 |
3,753 |
3,741 |
1.25 |
1.00 |
configure.tcc |
no-host |
46 |
41 |
207 |
48 |
47 |
4.51 |
1.03 |
configure.util-linux |
no-host |
13,743 |
14,406 |
31,855 |
14,017 |
13,916 |
2.32 |
1.02 |
configure.yash |
no-host |
1,799 |
1,745 |
2,443 |
1,785 |
1,778 |
1.36 |
0.99 |
hello-world |
no-host |
1 |
1 |
58 |
3 |
3 |
43.40 |
2.14 |
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,523 |
1,100 |
24,210 |
3,213 |
3,064 |
9.60 |
1.27 |
bin-true |
no-host |
105,319 |
66,429 |
800,268 |
126,216 |
125,187 |
7.60 |
1.20 |
configure.cpython |
no-host |
1,994,711 |
2,018,733 |
6,104,567 |
2,006,135 |
1,999,318 |
3.06 |
1.01 |
configure.ocaml |
no-host |
373,853 |
353,913 |
616,853 |
376,622 |
375,772 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,113 |
4,998 |
24,048 |
6,507 |
6,443 |
3.93 |
1.06 |
configure.util-linux |
no-host |
1,910,417 |
2,071,779 |
5,303,752 |
1,811,842 |
1,808,981 |
2.78 |
0.95 |
configure.yash |
no-host |
233,869 |
221,678 |
369,025 |
235,199 |
233,524 |
1.58 |
1.01 |
hello-world |
no-host |
147 |
81 |
3,966 |
349 |
339 |
26.98 |
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.4 |
3,805 |
3,805 |
0 |
700 |
1,870 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
797 |
1 |
2 |
2.6 |
8.3 |
156,772 |
15,414 |
2,901 |
8,752 |
77,337 |
70,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,903 |
1 |
72 |
15.5 |
29.2 |
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,017 |
3 |
67 |
21.6 |
30.3 |
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,753 |
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.6 |
30,575 |
30,575 |
0 |
1,542 |
14,636 |
14,397 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,785 |
1 |
2 |
2.6 |
26.3 |
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.0 |
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 |
5.8 |
3,804 |
3,804 |
0 |
701 |
1,870 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
789 |
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 |
14,765 |
1 |
67 |
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 |
13,916 |
3 |
63 |
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,741 |
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.6 |
30,575 |
30,575 |
0 |
1,544 |
14,636 |
14,395 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,778 |
1 |
2 |
2.6 |
26.4 |
139,881 |
8,034 |
6,689 |
6,399 |
68,350 |
65,132 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
20 |
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 |
9 |
11 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
468 |
411 |
60 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
14 |
8 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
8 |
12 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
660 |
301 |
391 |
3.0 |
bash |
9 |
no-host |
bin-true |
528 |
267 |
272 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,407 |
790 |
1,877 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
797 |
296 |
518 |
8.3 |
osh-native |
33 |
no-host |
bin-true |
789 |
286 |
520 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,640 |
6,614 |
8,431 |
29.3 |
bash |
10 |
no-host |
configure.cpython |
14,688 |
6,681 |
8,433 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
29,091 |
14,541 |
16,481 |
29.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,903 |
6,532 |
8,661 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
14,765 |
6,463 |
8,578 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,735 |
1,300 |
1,478 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,655 |
1,261 |
1,416 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,663 |
1,913 |
1,974 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,753 |
1,293 |
1,503 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,741 |
1,288 |
1,494 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
18 |
29 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
41 |
21 |
21 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
207 |
140 |
69 |
19.7 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
25 |
23 |
19.6 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
23 |
25 |
19.6 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,743 |
5,841 |
8,376 |
30.2 |
bash |
11 |
no-host |
configure.util-linux |
14,406 |
5,851 |
9,078 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,855 |
18,162 |
14,820 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,017 |
5,530 |
8,703 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
13,916 |
5,483 |
8,652 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,799 |
871 |
933 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,745 |
855 |
882 |
26.3 |
dash |
22 |
no-host |
configure.yash |
2,443 |
1,310 |
1,174 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,785 |
890 |
900 |
26.3 |
osh-native |
38 |
no-host |
configure.yash |
1,778 |
908 |
875 |
26.4 |
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 |
58 |
43 |
15 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
5.8 |
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,523 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,100 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,210 |
0 |
0 |
0 |
8 |
0 |
45 |
3 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,213 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,064 |
0 |
0 |
0 |
16 |
0 |
39 |
5 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,319 |
0 |
0 |
0 |
8 |
0 |
1,988 |
130 |
bash |
9 |
no-host |
bin-true |
66,429 |
0 |
0 |
0 |
8 |
0 |
1,984 |
70 |
dash |
17 |
no-host |
bin-true |
800,268 |
0 |
0 |
0 |
8 |
0 |
1,984 |
482 |
osh-cpython |
25 |
no-host |
bin-true |
126,216 |
0 |
0 |
0 |
16 |
0 |
1,985 |
215 |
osh-native |
33 |
no-host |
bin-true |
125,187 |
0 |
0 |
0 |
16 |
0 |
1,978 |
120 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,994,711 |
0 |
0 |
0 |
32,928 |
0 |
14,244 |
1,212 |
bash |
10 |
no-host |
configure.cpython |
2,018,733 |
0 |
0 |
0 |
32,992 |
0 |
14,343 |
1,183 |
dash |
18 |
no-host |
configure.cpython |
6,104,567 |
0 |
0 |
0 |
27,512 |
0 |
13,110 |
1,187 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,006,135 |
1 |
0 |
0 |
27,520 |
0 |
13,072 |
1,078 |
osh-native |
34 |
no-host |
configure.cpython |
1,999,318 |
0 |
0 |
0 |
27,520 |
0 |
13,042 |
1,118 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,853 |
0 |
0 |
0 |
5,120 |
0 |
1,950 |
180 |
bash |
12 |
no-host |
configure.ocaml |
353,913 |
0 |
0 |
0 |
5,112 |
0 |
1,938 |
191 |
dash |
20 |
no-host |
configure.ocaml |
616,853 |
0 |
0 |
0 |
5,112 |
0 |
1,848 |
182 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,622 |
0 |
0 |
0 |
5,120 |
0 |
1,933 |
211 |
osh-native |
36 |
no-host |
configure.ocaml |
375,772 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
219 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,113 |
0 |
0 |
0 |
104 |
0 |
49 |
0 |
bash |
13 |
no-host |
configure.tcc |
4,998 |
0 |
0 |
0 |
96 |
0 |
47 |
6 |
dash |
21 |
no-host |
configure.tcc |
24,048 |
0 |
0 |
0 |
96 |
0 |
54 |
9 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,507 |
0 |
0 |
0 |
104 |
0 |
47 |
5 |
osh-native |
37 |
no-host |
configure.tcc |
6,443 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,910,417 |
0 |
0 |
0 |
42,400 |
0 |
18,398 |
1,197 |
bash |
11 |
no-host |
configure.util-linux |
2,071,779 |
0 |
0 |
0 |
42,592 |
0 |
17,318 |
1,323 |
dash |
19 |
no-host |
configure.util-linux |
5,303,752 |
5 |
0 |
0 |
39,112 |
0 |
17,010 |
1,321 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,811,842 |
0 |
0 |
0 |
39,120 |
0 |
16,982 |
1,206 |
osh-native |
35 |
no-host |
configure.util-linux |
1,808,981 |
0 |
0 |
0 |
39,128 |
0 |
16,998 |
1,188 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,869 |
0 |
0 |
0 |
4,120 |
0 |
880 |
91 |
bash |
14 |
no-host |
configure.yash |
221,678 |
0 |
0 |
0 |
3,720 |
0 |
870 |
94 |
dash |
22 |
no-host |
configure.yash |
369,025 |
0 |
0 |
0 |
3,728 |
0 |
852 |
130 |
osh-cpython |
30 |
no-host |
configure.yash |
235,199 |
0 |
0 |
0 |
3,736 |
0 |
851 |
100 |
osh-native |
38 |
no-host |
configure.yash |
233,524 |
0 |
0 |
0 |
3,736 |
0 |
850 |
115 |
osh-native-souffle |
0 |
no-host |
hello-world |
147 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
81 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,966 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
349 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
339 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host