What happened

Shares of apparel retailer Gap Inc. (GPS 5.59%) jumped on Thursday, along with much of the retail sector. There was no news specific to Gap, but with the stock having been beaten down over the past few years, any retail optimism is good news for investors. At 12:48 p.m. EDT, shares of Gap were up about 5%.

So what

Various retailers reported earnings between market close Wednesday and market open Thursday, and while the results were mixed, there was some good news. Bed Bath & Beyond managed to beat earnings expectations, and the stock jumped as a result. L Brands, while missing estimates for revenue, produced higher-than-expected earnings as well.

A display inside of a Gap store.

Image source: Gap Inc.

Gap won't report its first-quarter results until May 18, so investors will have to wait quite a while for an update on the company's performance. Gap reported decent results in February, beating estimates for revenue while matching estimates for earnings, but comparable sales at both its namesake stores and Banana Republic slumped.

Shares of Gap are down more than 40% over the past three years, with investors questioning the company's ability to grow earnings in a competitive retail environment. Gap's lower-end Old Navy brand has been a bright spot for the company, but meaningful earnings growth will be difficult with the higher-end brands performing poorly.

Now what

Gap's revenue has been stagnant for the past decade, its gross margin was 4 percentage points lower in 2016 than it was in 2009, and its operating margin has nearly been cut in half since 2013. Given this performance, it should be no surprise that the stock has slumped over the past few years.

While Gap investors are no doubt happy about the surge in the stock price on Thursday, Gap will need to produce tangible signs of progress for the stock to permanently move higher.