note 103493 added to function.imagick-resizeimage

From: Date: Fri, 15 Apr 2011 17:37:46 +0000
Subject: note 103493 added to function.imagick-resizeimage
Groups: php.notes 
Request: Send a blank email to php-notes+get-178892@lists.php.net to get a copy of this message
In our linux environment, using resizeImage with any filter produced extremely high CPU Utilization (in the range of 40-50%) while doing batch resizing. We switched to scaleImage, which produces similar results to FILTER_BOX, and CPU Utilization dropped to 2-3%. Using XHProf to profile the two batch jobs showed amazing decreases in CPU Time, so if you're doing a lot of picture resizing, it might be beneficial to use scaleImage instead of resizeImage, as it seems to be much much more efficient. ---- Server IP: 69.147.83.197 Probable Submitter: 24.173.184.2 ---- Manual Page -- http://www.php.net/manual/en/function.imagick-resizeimage.php Edit -- https://master.php.net/note/edit/103493 Del: integrated -- https://master.php.net/note/delete/103493/integrated Del: useless -- https://master.php.net/note/delete/103493/useless Del: bad code -- https://master.php.net/note/delete/103493/bad+code Del: spam -- https://master.php.net/note/delete/103493/spam Del: non-english -- https://master.php.net/note/delete/103493/non-english Del: in docs -- https://master.php.net/note/delete/103493/in+docs Del: other reasons-- https://master.php.net/note/delete/103493 Reject -- https://master.php.net/note/reject/103493 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#178892) next »