A query creating an internal temporary table that exceeded the in-memory limit on every execution, silently. The ratio of disk to memory temporary tables is the diagnostic and…
A search document carrying the full product description as both an indexed text field and a stored copy, on a catalogue where descriptions run to several pages. The…
Three days of profiling locally to explain a production slowdown that did not exist locally. A local profile measures the code and a production profile measures the system,…
Eight milliseconds of every request spent resolving class paths, on a deploy that was running the wrong Composer command. Eight milliseconds spread across every request is the kind…
Four interactive blocks on a page, each shipping its own approach to the same problem. Four independent solutions to the same class of problem is what happens when…
Checking whether a string is valid JSON meant decoding it and throwing the result away, which allocates the whole structure to answer a yes-or-no question. The saving is…
Full tracing on a service doing forty thousand requests a day is a data volume problem; sampling uniformly loses the requests worth looking at. Head sampling decides at…
Eleven per cent of a request spent in the autoloader, on a machine where the optimised classmap had not been generated. The authoritative flag turns every autoload into…