Don't worry people; I am sure the CEO will be okay.
Mayer will be walking away with a $158M golden parachute[0], and will undoubtedly have another nice executive position lined up in no time. It's amazing how much respect she's garnered in the tech community. From all the public info on her, she doesn't seem to have much product vision - rather, she's just a manager who's good at making data-driven decisions (the infamous "41 shades of blue"[1]) to incrementally optim…
That being said, if you ARE going to judge her by contemporary CEO standards, the question is, would anyone else have done better? And of the set of people who could have done better, how many would take an offer to fix yahoo contingent on performance? I think the answer is probably zero.
The whole system is rigged, companies feel like they have to pick someone out of a relatively narrow talent pool, and since they are (wrongly) in such demand, they can all command extremely high salaries.