add benchmark for image marshal