It's documented as having some overhead. But I have never seen any performance changes with it being enabled.

I agree, exposing the flags as an option is probably the right way to solve this.