Profiling the test suite on 32-bit-Linux and Cygwin gives inconsistent results. Only 2 functions are in the top 10 time-users for both environments (wd_ and capture). The top 10 time-users in each are:
% cumulative self self total
time seconds seconds calls ms/call ms/call name
92.68 0.76 0.76 237195 0.00 0.00 doMergeGrade
1.22 0.77 0.01 566458 0.00 0.00 distributionGrade
1.22 0.78 0.01 286987 0.00 0.00 capture
1.22 0.79 0.01 55818 0.00 0.00 Kv
1.22 0.80 0.01 10353 0.00 0.00 dv_ex
1.22 0.81 0.01 9133 0.00 0.00 wd_
1.22 0.82 0.01 5990 0.00 0.00 cirRef
0.00 0.82 0.00 564432 0.00 0.00 plus_scan
0.00 0.82 0.00 353953 0.00 0.00 merger
0.00 0.82 0.00 241650 0.00 0.00 minus_eachpair
% cumulative self self total
time seconds seconds calls us/call us/call name
87.10 0.54 0.54 bv_ex
4.84 0.57 0.03 6868 4.37 4.37 capture
1.61 0.58 0.01 326719 0.03 0.03 sd_
1.61 0.59 0.01 26242 0.38 0.38 wd_
1.61 0.60 0.01 24529 0.41 0.41 ci
1.61 0.61 0.01 17848 0.56 0.59 FC
0.00 0.61 0.00 1202504 0.00 0.00 vf_ex
0.00 0.61 0.00 572706 0.00 0.00 _lsq
0.00 0.61 0.00 221944 0.00 0.00 KC
0.00 0.61 0.00 190539 0.00 0.00 _sm
But, the complete tests suite of 870 tests takes less than a second to complete, and all the tests are very short.
On the other hand, a single execution of ray.k takes over a minute to run. Profiling an execution of ray.k gives quite consistent results in 32-bit-Linux and Cygwin. The top 9 time-users are exactly the same (in somewhat different in order). The top 10 time-users in each are:
32-bit-Linux (ray.k)
% cumulative self self total
time seconds seconds calls s/call s/call name
32.69 25.69 25.69 4799040 0.00 0.00 wd_
17.03 39.07 13.38 116088485 0.00 0.00 cd
7.24 44.76 5.69 37800866 0.00 0.00 capture
5.01 48.70 3.94 4799050 0.00 0.00 complete
4.30 52.08 3.38 1009351442 0.00 0.00 max
3.75 55.03 2.95 55828898 0.00 0.00 ci
3.41 57.71 2.68 82795586 0.00 0.00 newK
3.35 60.34 2.63 137026270 0.00 0.00 charpos
2.33 62.17 1.83 1117081 0.00 0.00 kclone
2.06 63.79 1.62 10973880 0.00 0.00 ex2
Cygwin (ray.k)
% cumulative self self total
time seconds seconds calls us/call us/call name
28.58 12.79 12.79 4799040 2.67 4.79 wd_
6.61 22.16 2.96 148453584 0.02 0.02 newK
6.23 27.78 2.79 1009351442 0.00 0.00 max
3.49 32.05 1.56 137026270 0.01 0.01 charpos
3.15 33.46 1.41 1117081 1.26 2.13 kclone
3.06 34.83 1.37 55828898 0.02 0.02 ci
1.41 35.46 0.63 127018929 0.00 0.00 bottom