It's not always easy to profile each step of a loop for long running tasks, but Symfony Stopwatch provides a way to do so fairly easily.
Network latency can be more of an issue in production than in development, and your queries should allow for that.
If you're not deploying your application correctly, its performance will suffer.
Analytics scripts can be detrimental to the performance of your site, but there are sometimes ways you can improve this.
N+1 queries are among the most common performance bottlenecks around. Learn how to find them with profiling tools.
A persistent myth holds that the choice of single quotes is more performant than double quotes. This is nonsense.
It can be difficult to come up with consistent cache keys for some use cases, but using hashes for this can be helpful.
HTTP has multiple different verbs, and understanding the right ones to use can make it easier to cache the responses.
Page 1 of 3