The economy sank at a pace of just 1 percent in the second quarter of the year, a new government report shows. It was a better-than-expected showing that provided the strongest signal yet the longest recession since World War II is finally winding down.The dip in gross domestic product for the April-to-June period, reported by the Commerce Department today, comes after the economy was in a free fall, tumbling at an annual rate of 6.4 percent in the first three months of this year. That was the sharpest downhill slide in nearly three decades. The economy now has contracted for a record four straight quarters for the first time on records dating to 1947. That underscores the grim toll of the recession on consumers and companies. Many economists were predicting a slightly bigger 1.5 percent annualized contraction in second-quarter GDP. It’s the total value of all goods and services — such as cars and clothes and makeup and machinery — produced within the United States and is the best barometer of the country’s economic health. “The recession looks to have largely bottomed in the spring,” said Joel Naroff, president of Naroff Economic Advisors. “Businesses have made most of the adjustments they needed to make, and that will set up the economy to resume growing in the summer.” Less drastic spending cuts by businesses, a resumption of spending by federal and local governments and an improved trade picture were key forces behind the better performance. Consumers, though, pulled back a bit. Rising unemployment, shrunken nest eggs and lower home values have weighed down spending. A key area where businesses ended up cutting more deeply in the spring was inventories. They slashed spending at a record pace of $141.1 billion. There was a silver lining to that, though: With inventories at rock-bottom, businesses may need to ramp up production to satisfy customer demand. That would give a boost to the economy in the current quarter. The Commerce Department also reported today the recession inflicted even more damage on the economy last year than the government had previously thought. In revisions dating back to the Great Depression, it estimates the economy grew 0.4 percent in 2008. That’s much weaker than the 1.1 percent growth the government earlier calculated. Also today, the government reported employment compensation for U.S. workers has grown during the past 12 months by the lowest amount on record, reflecting the severe recession that has gripped the country. Federal Reserve Chairman Ben Bernanke has said he thinks the recession will end later this year. And many analysts think the economy will start to grow again — perhaps at around a 1.5 percent pace — in the July-to-September quarter. That would be anemic growth by historical measures, but it would signal the downturn has ended. Naroff said he now thinks growth in the third quarter could turn out to be much stronger because companies will need to replenish bare-bone stockpiles of goods. “You could get a huge swing in inventories that could create a much bigger growth rate than anybody expects,” he said. If that were to happen, it’s possible the economy’s growth could clock in around 4 percent in the current quarter, he said. Obama’s stimulus package of tax cuts and increased government spending provided some support to second-quarter economic activity. But it will have more impact through the second half of this year and will carry a bigger punch in 2010, economists said. Even if the recession ends later this year, the job market will remain weak. Companies are expected to keep cutting payroll through the rest of this year, but analysts say monthly job losses likely will continue to narrow. Still, unemployment — now at a 26-year high of 9.5 percent — will keep rising. The Fed says it will top 10 percent at the end of this year. Businesses will be unlikely to boost hiring until they’re certain the recovery has staying power. In the second quarter, businesses continued to cut all kinds of spending, but not nearly as much as they had been, one of the reasons the economy didn’t contract as much. For instance, they trimmed spending on equipment and software at a 9 percent pace in the second quarter, compared with an annualized drop of 36.4 percent in the first quarter. Similarly, they cut spending on plants, office buildings and other commercial construction at a rate of 8.9 percent, an improvement from the annualized drop of 43.6 percent in the first quarter. Housing — which led the country into recession — continued to be a drag on the economy. Builders cut spending at a rate of 29.3 percent, also an improvement from the 38.2 percent annualized drop reported in the first quarter. Consumers, meanwhile, did a slight retreat in the spring. They sliced spending at a rate of 1.2 percent in the second quarter, after nudging up purchases at a 0.6 percent pace in the first quarter. It turns out that consumers didn’t nearly have the appetite to spend in the first quarter as the government previously thought, according to revisions released Friday. With consumers spending less on everything from cars to clothes, Americans’ savings rate rose sharply — to 5.2 percent in the second quarter, the highest since 1998. A return to spending by governments helped economic activity in the spring. The federal government boosted spending at pace of 10.9 percent, the most since the third quarter of 2008. And state and local governments increased spending at a pace of 2.4 percent, the most since the second quarter of 2007. An improved trade picture also added to economic activity in the spring. Although exports fell, imports fell more, narrowing the trade gap. That added 1.38 percentage points to second-quarter GDP. The convergence of a collapse in the housing market, a near shutdown of credit and a financial crisis created what Bernanke and others have called a perfect storm for the economy. Those negative forces — the scale of which hasn’t been seen since the 1930s — plunged the country into a recession in December 2007. It is the longest since World War II.