Here’s why it’s a good idea …. (The server was upgraded on the 23rd of May. The graph shows CPU time – where yellow is idle and blue+green are used/busy).
xdebug – profiling a really long running PHP application (and handling really large cachegrind output files)
Normally, profiling a PHP application is pretty straight forward thanks to the great xDebug . Normally, we’re looking at profiling a slow page (taking 5-15 seconds to load) and improving it’s performance down to a sub-second response. Such profiling can produce relatively large output files – e.g. in the order of a few hundred megabytes. Unfortunately […]
Today we received an email along the lines of : “Help! A customer’s website is slow and they’re complaining it’s taking over 2 seconds to load!”
Using something like munin it’s trivial to create a graph plotting trends – and assists in answering questions like : Why is the website on server X feeling slow today? Are we receiving significantly more hits/email/whatever than normal? How effective is the new mail server? When are we likely to run out of disk space? […]
While desktop users are generally getting faster and faster internet connections, it’s still the case that optimising a page’s generation and delivery can lead to a significantly better user experience. This is especially the case for mobile users – who are often on a relatively low speed and/or high latency connection. With this in mind, here […]