4 ms·
What's the best way to identify bottlenecks?
by iaskwhy 14y ago
What's the best way to identify bottlenecks?
- pwaring 14y agoNot sure about 'best', but the way I go about it is to measure the total time required for an application to complete a task, then attempt to measure the individual components (time spent in PHP, data transfer, rending on client side etc.) and keep narrowing it down until you find the exact cause, such as a database query which requires optimisation.