add benchmarks and fix rubocop offenses