Performance Improvement
Posted: 2017-06-11T22:47:29-07:00
I have been writing few custom image effects using MagickWand C, and later on use that effects.
Some effects are slow as they contains so many operations. I have written Clone and Destroy wands on many places so I guess it might affect on speed. There is a memory pool but I think it might be very difficult to manage.
And for ImageMagick shared library (.so file) __attribute__((constructor)) and __attribute__((destructor)) might be useful.
What are the steps I need to consider to improve the performance.
Few days ago I have been through https://docs.imgix.com/apis/url this site and their image processing is very fast but I guess they might be not using IM. So I just want to know that what are the things I need to keep in mind.
Some effects are slow as they contains so many operations. I have written Clone and Destroy wands on many places so I guess it might affect on speed. There is a memory pool but I think it might be very difficult to manage.
And for ImageMagick shared library (.so file) __attribute__((constructor)) and __attribute__((destructor)) might be useful.
What are the steps I need to consider to improve the performance.
Few days ago I have been through https://docs.imgix.com/apis/url this site and their image processing is very fast but I guess they might be not using IM. So I just want to know that what are the things I need to keep in mind.