Comparison of perturbed Dirac operators