[wp-trac] [WordPress Trac] #39262: Fall back to ImageMagick command line when the pecl imagic is not available on the server

WordPress Trac noreply at wordpress.org
Tue Dec 13 12:04:08 UTC 2016


#39262: Fall back to ImageMagick command line when the pecl imagic is not available
on the server
--------------------------------+------------------------------
 Reporter:  Hristo Sg           |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  External Libraries  |     Version:  4.7
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:
--------------------------------+------------------------------

Comment (by Hristo Sg):

 Here are the performance test we've done so far:

 CPU - Total number of CPU-seconds that the process used directly (in user
 mode), in seconds.
 MaxRSS - Maximum resident set size of the process during its lifetime, in
 Kilobytes.

 PHP 7.0 - no imagick loaded - MaxRSS: 93261 CPU user: 0.0204
 PHP 7.0 - imagick loaded - MaxRSS: 118094 CPU user: 0.0742
 PHP 7.1 - no imagick loaded - MaxRSS: 50444 CPU user: 0.0144
 PHP 7.1 - imagick loaded: MaxRSS: 82350 CPU user: 0.0678
 Curl requests to phpinfo comparison (1 request per second - 5 min):
 PHP 7.0 (no imagick)- Average response time: 0.071818 ms |Number of
 requests: 300
 PHP 7.0 (with imagick) - Average response time: 0.143573 ms |Number of
 requests: 300


 Performed tests and added results for PHP 5.6
 PHP 5.6 - no imagick loaded - MaxRSS: 60400 CPU user: 0.019
 PHP 5.6 - imagick loaded - MaxRSS: 85870 CPU user: 0.080
 Curl requests to phpinfo comparison (1 request per second - 5 min):
 PHP 5.6 (no imagick)- Average response time: 0.059901 ms |Number of
 requests: 300
 PHP 5.6 (with imagick) - Average response time: 0.134315 ms |Number of
 requests: 300

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39262#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list