Custom distributor curving.

Sorry for my ignorance, but..
How do I know when my dist need to be recurved ?
Is it based on how it runs or on the specs of the cam or....?