Don't block event loop for a long time
Add benchmark for large images