There is currently a suggestion to make performance a synonym for optimization. I don't think that's right, for two reasons:
You can optimize code for several criteria, such as maximum execution speed, minimum code size, minimum memory usage. Optimization is not always about performance.
(Side discussion: I'm not a fan of the optimization tag either, because I think it is carelessly overused. To force some thought, I believe you should have to choose between speed-optimization, code-size-optimization, or memory-optimization. Also, the term "optimization" could refer to the domain of the problem itself, as in the goal of the code is to compute the minimum or maximum achievable value of something.)
- When performance is really bad, the problem is often that you are using a bad algorithm. The fix is not so much optimizing the existing code (e.g. pulling invariants out of loops), but rewriting the entire solution.
On the other hand, I would like to merge speed into performance. However, I am unable to propose such a change while the performance → optimization suggestion is still outstanding, since synonym chains are not allowed. ← This part is status-completed.