And versioninfo(): Julia Version 0.3.0-prerelease+3144 Commit 6ae8670* (2014-05-21 21:24 UTC) Platform Info: System: Darwin (x86_64-apple-darwin12.5.0) CPU: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz WORD_SIZE: 64 BLAS: libgfortblas LAPACK: liblapack LIBM: libopenlibm
Den onsdag den 18. juni 2014 12.35.06 UTC+2 skrev Oliver Lylloff: > > Hello all, > > I'm computing a 2D convolution with fft and seeing a timing difference > between Matlab and Julia, with Matlab being about 2x faster than Julia. > I've simplified my code down to an example (see gist here: > https://gist.github.com/1oly/51f39a831cef3931e7b8). The bottleneck of my > code is evaluating the function > > function func(b,x,Fps) > r = fftshift(ifft(fft(x).*Fps)) - b; > return r > end > > Timings are after one initial run to remove overhead and Matlab is single > thread. > > Matlab (-singleCompThread) = 0.0026s > Julia = 0.005s > > Does other people see this difference as well? Any suggestions to possible > speed-ups? > > Best, > Oliver >
