Order of magnitude performance improvement for resultimage.php (from 6ms to 0.4ms on the production webpagetest instance).  It was ~20% of the CPU time for the server and is now down to <2%