There is also a section of Modern Julia Workflows [1] about optimisation that gives helpful, practical advice.
[1] https://modernjuliaworkflows.org/optimizing/