record time elapsed during benchmark