FireEye Inc., the high-profile computer security company called in to investigate massive hacks at Sony Pictures and Anthem, reported fourth-quarter earnings Wednesday that show its business is growing but profit remains elusive.

The results were better than Wall Street had expected, however. Shares jumped 6 percent in after-hours trading.

Revenue nearly tripled from a year ago, as Milpitas, Calif.-based FireEye reported a jump to $143 million for the quarter that ended Dec. 31. But the company's losses also surged, to $105.7 million, from just $2.5 million a year ago. The 2013 period included a big tax gain on the purchase of cybersecurity firm Mandiant.

Excluding one-time items, FireEye's adjusted losses totaled 38 cents a share, just slightly bigger than the year before.