Yes, using a mixer for cake batter is better than using a food processor. The average food mixer can process more than twice the amount of cake batter at once compared to a standard home food processor.
Moreover, food mixers come with specialized blades built for the purpose of mixing doughs, batters, and flour mixes. That said, food processors are very effective for kneading dough when the kneading blade is used.