Refactor benchmark so that it has easily comparable results.