Log time consumption of thumbnail generation