refactor(benchmark): reduce complexity, and move formatting of values into template