Regardless of the opposition’s own failings, the Padres had never needed a win more than they did Saturday. Their losing streak had sprawled to five games in a season overwhelmed by an unmatched lack of offense. Worse, in the deflating process, they were wasting their pitcher’s arms.

Amid swirling winds at Citi Field, Jesse Hahn stepped into the void. To his name, he had one big-league start and a career-high of 5 ⅔ innings, that set earlier in the week in a Double-A game.

Too, he possessed rare poise for a 24-year-old. In San Diego’s 5-0, skid-snapping victory, Hahn one-hit the Mets over a full six innings, delivering his finest professional start just two hours from his hometown of Groton, Conn.

Said Padres third baseman Chase Headley: “He showed a lot of composure for a young guy, in a spot where, frankly, we really needed it.”

Said manager Bud Black: “He doesn’t scare off. He’s a guy that doesn’t back down. … Sometimes you have to throw a shutout to win a game, and today we did.”

Said first baseman Yonder Alonso: “I think it was very difficult with the circumstances. Obviously, it was very windy today, and he was getting ahead of guys … and pounding the zone. That’s all we can ask for.”

The Padres, 13 ½ games out of first in the National League West, can only hope this is the start of something, of anything, really. Saturday, they were largely content to praise Hahn.

Nearly four years removed from Tommy John surgery, the right-hander with the basketball frame and the knee-buckling curveball allowed an infield single to the first batter he faced. The Mets never got another hit off Hahn, who walked three and struck out seven.

“I was very relaxed this time. Last time, the adrenaline wore off and I got tired,” said Hahn, referring to the June 3 start he made against the Pirates, in which he started strong only to sputter out in the fourth inning. “This time, I went out there, stayed focused, stayed calm and pitched my game.”

Hahn’s most strenuous inning might have been his most impressive. After retiring eight consecutive batters from the first to the third, he opened the bottom of the fourth by hitting David Wright in the back and walking Bobby Abreu. He then struck out Lucas Duda and Chris Young, both of them flailing at a mid-70s curveball for strike three. He issued another walk to load the bases.