PARIS — Only 23 years old, Ashleigh Barty flashed back regularly during this French Open.

To her first overseas trip to Paris at age 13 a decade ago. To another long-haul journey full of uncertainty at age 20 to Eastbourne, England, where she arrived with no ranking but the realization that tennis was truly the sport for her after a sabbatical spent as a professional cricketer.

“Feels like yesterday we were there, but in the same breath, it also feels like it was a lifetime ago,” she said on Saturday, the French Open trophy shimmering by her side.

It has been quite a revival in just three years. But the key for Barty over these two unexpectedly successful weeks at Roland Garros has been her new, hard-won ability to remain focused on the present: to ignore the doubts swirling in her head, concentrate on the task and shot at hand, and let her remarkable talent flow from the baseline to the net.

She has worked with a mental coach regularly for the past year, and it has given her a new perspective under tennis duress.