What happened

Shares of PetMed Express, Inc. (PETS -3.03%) jumped last month after the nation's largest pet pharmacy delivered a strong second-quarter earnings report. According to data from S&P Global Market Intelligence, the stock climbed 18% in July.

PETS Chart

PETS data by YCharts.

So what 

PetMed Express beat expectations again as revenue increased 10% to $79.7 million, topping the consensus at $77.3 million. A shift to higher-margin products drove gross margin up 350 basis points to 34.5%. That led EPS up from $0.32 to $0.45, which bested estimates at $0.38. Sales from new orders were up 14% in the period as the company added 169,000 new customers. Order value also increased from $82 to $87 in the quarter.

CEO Menderes Akdag said, "We were encouraged with increases in both new order and reorder sales during the quarter, along with an accelerated increase to net income for the second consecutive quarter."

Small dog standing behind a dog bowl full pills.

Image source: Getty Images.

Now what 

PetMed Express has been an under-the-radar winner recently, as the stock is up nearly 250% over the last three years and has more than doubled this year after posting back-to-back blowout earnings reports.

The company did not issue guidance, but I'd expect the stock to continue to outperform, as spending on pets continues to outgrow the greater economy and PetMeds' leading position in the industry gives it a competitive advantage.