How to benchmark in-place functions?

Related: BenchmarkTools setup isn't run between each iteration? - #6 by rdeits