SAN FRANCISCO (MarketWatch) -- Krispy Kreme Doughnuts Inc. kkd said late Wednesday it swung to a third-quarter profit of $2.4 million, or 3 cents a share, from a net loss of $2.4 million, or 4 cents a share, in the same quarter last year. Revenue for the Winston-Salem, N.C.-based company rose 7.9% to $90.2 million. Analysts polled by FactSet expected the company's earnings to break even on revenue of $87.8 million. Krispy Kreme's shares were up 1.5% in after-hours trade.