I have rewritten some python code in julia. Now I see that the Julia code is 1/3 faster than the naive python code, but still a factor of two slower than the optimized one.
Is there a line profiler for Julia which can check where I spend the most time in the Julia code?
I suspect the following function to be called most, but I don’t know.
function fox_goodwin_step!(w_p1,w_0,w_m1,r) aa = 2*I+10*w_0 bb = (I-w_m1)*r cc = I-w_p1 r .= (aa.-bb)\cc w_m1 .= w_0 w_0 .= w_p1 r end
The project is located here: https://github.com/feanor12/HASlib.jl