note 103494 added to function.imagick-scaleimage

From: Date: Fri, 15 Apr 2011 17:38:35 +0000
Subject: note 103494 added to function.imagick-scaleimage
Groups: php.notes 
Request: Send a blank email to php-notes+get-178893@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: 208.69.120.55 Probable Submitter: 24.173.184.2 ---- Manual Page -- http://www.php.net/manual/en/function.imagick-scaleimage.php Edit -- https://master.php.net/note/edit/103494 Del: integrated -- https://master.php.net/note/delete/103494/integrated Del: useless -- https://master.php.net/note/delete/103494/useless Del: bad code -- https://master.php.net/note/delete/103494/bad+code Del: spam -- https://master.php.net/note/delete/103494/spam Del: non-english -- https://master.php.net/note/delete/103494/non-english Del: in docs -- https://master.php.net/note/delete/103494/in+docs Del: other reasons-- https://master.php.net/note/delete/103494 Reject -- https://master.php.net/note/reject/103494 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#178893) next »