Google turned a profit every year since 2001 and earned a profit of $105.6 million on revenues of $961.8 million during 2003. They IPO'd August 2004.
Re:A few points about the “tech bubble” debate
by nikcub on Sunday March 27, 2011 @09:19PM
(#2376681)
and Twitter has revenue of $150M and is probably 2 years away from an IPO. Just because it hasn't made a profit each year, like Google, doesn't mean that you can compare its current 50x PE to Google's current 6x
I would suggest that Twitter are likely waiting to book an entire year of profits and 3-4 years of revenue growth before they file
If you want a proper comparison, Google's PE ratio was 150 at IPO (and 300 at the high range of estimates, and it eventually reached that)
A lot of smart people thought that was a bad buy at the time, as well:
http://nikcub.appspot.com/the-google-ipo-skeptics