Doctor Eggman vs The Sarlacc: who would win?

Doctor Eggman favored — Slight edge (~55%)

Doctor Eggman · Sonic · Base

Tier
9-B, up to 5-B
Attack Potency
Wall Level, up to Planet Level
Speed
Peak Human, up to Massively Hypersonic
Durability
Large Building Level, up to Town Level+

The Sarlacc · Star Wars · Base

Tier
9-B, up to 7-B
Attack Potency
Wall Level, up to City Level
Speed
Immobile
Durability
Large Building Level, up to City Level

A heuristic estimate from normalized VS Battles Wiki stats: tier, attack potency, speed and durability.