Measure it. Or optimize it. Can't do both without impacting the other.
Software is a work of art and creativity, not the work of a rules-based factory.