refactor RedisCache benchmark