A year ago , the company posted a profit of 12 cents a share .
The company also earned 14 cents a share a year earlier .
In midafternoon trading , the Nasdaq composite index was up 8.34 , or 0.5 percent , to 1,790.47 .