Amazon hit all time high in 1999 during the dot com bubble. During that time it wasn't profitable. When the bubble finally popped it started a string of 8 consecutive quarters of big beats across the board and was blowing up. Stock price fell all the way to the single digits losing 90% of it's value. It took a decade to recover all time highs.