I know several people who worked with her at Google, and she was fairly disliked there. She got frozen out and would have been eventually run out of the company had Yahoo not foolishly come calling. I WAS at Yahoo with her and I can verify that she did a terrible job there. Random decision making, company-wide initiatives that whipsawed from quarter to quarter, billion-dollar impulse acquisitions that almost immediately got written down. And let's not forget Polyvore - the 200m indulgence that she paid to her former assistant against the recommendations of the M&A team; that was just straight cronyism and corporate malfeasance.
True, Yahoo would have been a challenge for any CEO. But there were rational strategies that could have yielded some success. Marissa, on the other hand, went in the opposite direction and recklessly destroyed billions in shareholder value while pocketing hundreds of millions herself. Read the Kara Swisher articles on her at Recode. They were spot on. I heard a Business School professor on MSNBC argue that Marissa Mayer was the single most overpaid CEO in history. As a Yahoo employee who got to observe her tenure up close, I can't disagree. She's a terrible example for women in tech.