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

Reply via email to