Demon King Ghidorah vs Dungeon Guardian: who would win?

Demon King Ghidorah favored — Slight edge (~55%)

Demon King Ghidorah · Godzilla · Base

Tier
HIGH 5-A
Attack Potency
Brown Dwarf Level+
Speed
Subsonic, up to Massively Hypersonic+
Durability
Brown Dwarf Level+

Dungeon Guardian · Terraria · Base

Tier
HIGH 5-A
Attack Potency
Brown Dwarf Level
Speed
Subsonic+
Durability
Brown Dwarf Level

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