display image and measure time taken