SEATTLE — If there are jitters in the economy, Microsoft isn’t feeling them.

Microsoft’s quarterly earnings can give indications of whether companies and consumers around the world are cooling their spending, because the business taps into so many markets. Apple reported on Tuesday that its revenue was down in part because consumers are buying new phones less frequently, and the chipmakers NVIDIA and Intel both indicated weakening demand for the components they build for data centers.

But on Wednesday, Microsoft showed solid performance across its commercial and consumer businesses, reporting revenue of almost $32.5 billion in the last quarter, and a profit of almost $8.6 billion, both increases of more than 10 percent over the same period a year ago.

Microsoft had handily beat analyst expectations recently. In the last quarter, the results fell mostly in line with what investors expected, and shares fell about 2.5 percent in aftermarket trading, wiping out most of the gains made earlier in the day.

The company continued its shift to cloud computing, which allows businesses to store and analyze their data in remote centers. Its offering is now widely seen as the strong No. 2 in the market that had once been dominated only by Amazon.