Superman technically destroyed the world forger’s multiverse, and DC multiverses have infinite universes, and each universe in DC is infinite.
So even if we want Goku, Superman is infinitely more powerful than that.
Breaking Time is only a 4D feat, while the Speedforce in DC is above dimensions altogether due to being above the bleed. Superman also once broke out of Hypertime, which is even beyond the Speedforce.
So Superman is infinitely higher than Goku in strength and is infinitely faster and above infinitely better in dimensional scaling.
That’s how I would want Superman to beat Goku.