OH, how St Johnstone came to rue the old adage of being made to pay for not taking your chances.

And how Hearts were thankful of that one about a good goalkeeper being worth an extra 10 points a season. The three earned here were most certainly down to the performance of Jon McLaughlin, and how Hearts will miss him at the end of the season when he, likely, moves back down south.

“It’s probably our best performance all season,” said St Johnstone manager Tommy Wright. “We’ve come here and totally dominated in terms of chances.”

The first of which saw McLaughlin scramble to save David Wotherspoon’s early free kick, and he was then called upon to sprint from his line to thwart the on-rushing Chris Kane, the striker stretching to reach Richard Foster’s ball over the top but the goalkeeper doing splendidly to remain big and paw away. There were other opportunities to come for Kane and he should have done better from the edge of the box than trundle into the keeper’s arms.

It was all St Johnstone. Connor Randall made a mess of a clearance at the back post, allowing Scott Tanser a drive McLaughlin did well to save but only turned into the path of Kane. Stretching again, the angle proved too tight and only the side netting rippled.

Kane’s golden opportunity though was a thudding volley from the edge of the box that rattled the crossbar shortly after the half-hour mark. The Hearts supporters took their ire out on Andrew Dallas as the half ticked away but in truth they were perhaps fortunate he hadn’t pointed to the spot when Steven Anderson’s header came off Christophe Berra’s arm.

Dallas was to infuriate Wright as the match progressed but the St Johnstone manager would have been pleased to see the only opportunities Hearts created in the first period follow a pattern of Joaquim Adao, David Milinkovic and Kyle Lafferty all shooting straight at Alan Mannus from distance.

But how the tables turned at the start of the second half – 39 seconds of it to be exact. Danny Amankwaa crossed from the left and when the ball reached Milinkovic, the Hearts No.11 pirouetted superbly and hooked into the net.

St Johnstone’s efforts were made even weightier when Wotherspoon saw two yellow cards in the space of six second-half minutes, first for persistent fouling then for a challenge on the halfway line on Adao.

Wright, who had to be ushered away from the referee at the end, dubbed the sending off “ridiculous”, and added: “There’s a lot of anger about the referee’s performance in the dressing room. I’m certainly not going to be ringing [SFA head of refereeing] John Fleming because I’ve lost count of the number of times I’ve called him about Andrew Dallas.”

Yet, Wright’s side managed the remaining 27 minutes better than anticipated and, despite Lafferty squandering two chances, continued to press for an equaliser they would have deserved, the final opportunity a Foster volley caught comfortably by McLaughlin.

And for Hearts manager Craig Levein, that ensured another clean sheet and three points. “I’ll never get bored of that,” Levein said.