Towards robust support for benchmarking.

@gzm0 can you please check if I am doing everything right with ScalaMeter?