About the Performance category


#1

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?

  1. Read the manual, especially https://docs.julialang.org/en/latest/manual/performance-tips/
  2. Use @code_warntype to check that you don’t have type-instabilities in your code.
  3. ProfileView.jl and the profiler are your friends.
  4. Use BenchmarkTools.jl to get real timings

If you post code, please ensure that it is a MWE that can be run as is.