When I started I was taught "if you want fast, switch to (possibly inline) assembly".
For me at least, it turned out to be a pretty good benchmark: "Do I need this fast badly enough that I'm willing to switch it to ASM? No? Okay, code as normal & move on."