General advice for how to maximize code performance

I thought I’d ask for what tips you more advanced Julia users have for how to maximize code performance in general. I realize that without a specific use-case some ways may be missed, but I thought I’d check whether yous have any general advice. Based on the replies to Inconsistent typing making adding arrays and adding a vector to the end of an array difficult, I know some already, such as using StaticArrays instead of regular arrays.

There’s a lot of useful performance information here: