Refactored storing benchmarks into a use case object.