Optimizing Paperclip Gem for Testing and Production
While we were working on speeding the run time of our specs, it came to our attention that the Paperclip gem contributes a fair amount to the slowness of the specs, mainly because of its dependency on external software like ImageMagick’s convert and identify; and Unix’s file. Shelling-out may not be this slow, but when…