By Nathaniel Meyersohn, CNN Business

(CNN) — Walmart, America’s largest retailer, reported subpar holiday sales Tuesday, reflecting a weak holiday shopping season for the brick-and-mortar retail industry.

Sales at stores and websites open for at least one year — a key measure of the retailer’s health— increased only 1.9% during its final quarter of 2019. That included a 35% spike in online sales. Wall Street expected a stronger performance.

READ MORE: More Than 485,000 Lose Power As Nor'easter Hits Massachusetts

“In the few weeks before Christmas, we experienced some softness” in toys, video games and clothing, Walmart chief financial officer Brett Biggs said in a news release. The holiday “wasn’t as good as expected,” he said.

The shorter holiday season last year also contributed to the slowdown, according to Walmart. There were six fewer days this year between Thanksgiving and Christmas than last year.

The company missed Wall Street’s expectations for sales and profit, sending shares of Walmart down slightly in pre-market trading. Heading into Tuesday, Walmart’s stock has rallied 19% over the past 12 months.

Walmart and Target have been two of the strongest traditional retailers in recent years, weathering the rise of Amazon and the shift to online shopping that has upended the retail industry. But Target also had a disappointing holiday.

Other retailers struggled during the holidays, including Macy’s, Kohl’s and Bed Bath & Beyond. Macy’s last week announced it will close 125 stores over the next three years — nearly one fifth of its total locations — and lay off 10% of its corporate staff. Costco and TJMaxx parent TJX were two outliers in the retail industry, reporting robust holiday sales.

Amazon also had a blowout holiday stretch and announced a record 150 million people now subscribe to its Prime membership program.

Strength in grocery

READ MORE: Nor'easter Blows Down Tree And Power Lines Onto SUV, Trapping Driver In Barnstable

Despite a weak season for toys and clothes, Walmart said that groceries, its largest business, performed well over the holidays.

Walmart has rapidly built out an online grocery pickup and delivery infrastructure, an advantage over Amazon, which owns around 500 Whole Foods stores, and rival retailers that don’t sell groceries.

Walmart ended the year with around 3,200 grocery pickup locations and more than 1,600 delivery locations. The company plans to continue expanding this year.

Walmart on Tuesday said that it expected a strong 2020.

Some companies, including Under Armour, Nike and Apple, said that they expected to be hurt by the outbreak of coronavirus in China. Apple said Monday that the coronavirus is hurting its business more than previously expected by limiting how many devices it can make and sell in China.

Walmart said it was monitoring the impact from the coronavirus, but did not include any financial effects from the outbreak in its guidance to investors.

MORE NEWS: 'When I Finally Got To Be Elvira, That's When My Life Calmed Down': Mistress Of The Dark Peels Back The Curtain

™ & © 2020 Cable News Network, Inc., a WarnerMedia Company. All rights reserved.