read image files write a buffer to a file benchmark write test compare each image file service worker?