A simple benchmark class.