Telecom network security

Using a firewall rules can hinder the performance of a network, what are some way to stop that from happening? What are some methods that you would use to improve the performance of a firewall? Can those methods be used with on-perm firewalls as well as cloud firewalls?