About the Performance category

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 Performance Tips · The Julia Language
  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.

6 Likes