Better benchmark routine