Performance wise a template modification is equally as fast as a direct template edit. I suggest always using template modification so that when you upgrade XenForo those template modification will reapply without problems, assuming the templates they modify have not been changed.