The economy grew only slightly in the first three months of the year, as high prices kept purse strings tight.