Magic has a lot more on the spot potential but Science typically wins the day with extended prep on the average.
A great example of this is Dr. Doom as a person who uses both Science and Magic.
His Science feats generally far outshine his magic feats and his magic is definitely no joke considering he was a contender for sorcerer supreme.
Furthermore the super high end cosmic threats generally tend to be resolved via tech i.e. Galactus, Celestials, Abstract entites (Pre-Ret Beyonder), Marquis of Death, MJJ(Via Fury who was tech based)
Of course once you get to a certain level things tend to blend i.e. any sufficiently advanced technology is indistinguishable from magic. So Magic users who are essentially manipulating reality with a high degree of control is technically using a system of science beyond what most can comprehend imo.