Imagick driver works super slow with v11 #3641
Replies: 3 comments
-
We re-tested our API and found that it works fine, so the problem appears only when running feature tests. As a hotfix we set |
Beta Was this translation helpful? Give feedback.
-
@aprokopenko Just to clarify, you mean when running your feature tests, not the feature tests included with this package? Thanks for following up on the issue as well! 👍 |
Beta Was this translation helpful? Give feedback.
-
That's intresting. V11 has the updated spatie/image package under the hood where we replaced intervention/image with our own code. I would have expected that most of the "heaviness" comes from Imagick itself though, so I'm curious to what we do differently than intervention/image to cause a difference. If anyone has ideas I would be happy to read them and optimize our package. |
Beta Was this translation helpful? Give feedback.
-
Hi,
we just upgraded to v11 from v10. All working fine except conversions and image manipulations are working super slow (2 mins comparing to 1 second) with "imagick" driver.
We use PHP 8.2.15, imagick 3.7.0 (installed via pecl).
Changing driver to
gd
provides better results, but still about 6-7 seconds, not 1 sec as before.We have feature tests, and now all tests with image manipulations processed about 130-150secs instead of 5-6secs.
I'm not sure how to reproduce the bug, here are our settings:
and the configs:
Beta Was this translation helpful? Give feedback.
All reactions