[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
Fri Jan 13 20:21:08 UTC 2017


#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:  Media        |     Version:  4.7
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  performance
-------------------------+------------------------------

Comment (by mikeschroder):

 Replying to [comment:8 Hristo Sg]:
 > The tests are timing this <?php echo "OK"; ?> with and without imagick
 pecl loaded into PHP
 >
 > So, yes *all* requests are being slowed down by just including imagick
 pecl into PHP
 >
 > It doesn't matter if imagick functions are being used or not, every
 request takes the hit.

 Based on that, I definitely think it makes sense to test this on some more
 platforms to see how it looks.

 I don't like that all of the requests are slower, but feeling like, even
 if it does show it to be this much slower everywhere, the performance loss
 of 0.07ms (note ms, rather than seconds) per request is probably worth it
 to users having a better image experience.

 I still love the idea of this in a plugin so that hosts that prefer that
 option (but still want to see the benefits of Imagick for their users) can
 choose it.

 Would be interested to hear others' opinions on this as well.

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


More information about the wp-trac mailing list