measure time to mosaic