In a straight fight, Sonic probably takes it on speed alone. But that's the wrong measure, because Mario's appeal has never been about winning brawls — he's the everyman who does extraordinary things, and that framing is why he's endured.
Which one you prefer really comes down to what you want from a platformer: precision and level design, or momentum and speed. There's no objective winner.