A simple benchmarking class.