You can try using @code_warntype to see if there are type instabilities.

On Thu, Oct 22, 2015 at 5:50 PM, Gunnar Farnebäck <[email protected]>
wrote:

> If you don't have deprecation warnings I would suspect some change in 0.4
> has introduced type instabilities. If you are using typed concatenations
> you could be hit by https://github.com/JuliaLang/julia/issues/13254.
>
>
> Den torsdag 22 oktober 2015 kl. 23:03:00 UTC+2 skrev Kris De Meyer:
>>
>> Are there any general style guidelines for moving code from 0.3.11 to
>> 0.4.0? Running the unit and functionality tests for a module that I
>> developed under 0.3.11 in 0.4, I experience a 500 times slowdown of blocks
>> of code that I time with @time.
>>
>> Can't even imagine where I have to start looking, and find it
>> flabbergasting that perfectly valid julia code under 0.3.11 (not generating
>> a single warning) can show such a performance degradation under 0.4.0.
>>
>> Anyone seen anything similar? Is there some fundamental difference in how
>> code is JIT-compiled under 0.4.0?
>>
>> Thanks,
>>
>> Kris
>>
>>
>>
>>

Reply via email to