The Ender Dragon is more tedious to fight in general, but the Wither imo is a bigger threat. I can accidentally nearly die to the wither all the time just because I'm not paying attention to my health and take massive hits to the Wither effect it gives. It's handy to bring potions of healing just to fight the wither and make sure you don't die.