Any questions about how to achieve top performance in Julia? Or do you have a specific small piece of code that you want to make as fast as possible?
- Read the manual, especially Performance Tips · The Julia Language
- Use
@code_warntype
to check that you don’t have type-instabilities in your code. -
ProfileView.jl
and the profiler are your friends. - Use
BenchmarkTools.jl
to get real timings
If you post code, please ensure that it is a MWE that can be run as is.