Melbourne - Six-time champion Novak Djokovic survived a brutal fitness examination to overcome Gael Monfils in intense heat and stagger into the third round at the Australian Open on Thursday.
Djokovic stretched his unbeaten record over Monfils to 15-0, one of the longest at Tour level, after dropping the opening set but just managed to get to the finish line.
He just did enough at the end to carve out a 4-6, 6-3, 6-1, 6-3 win in 2 hours and 45 minutes on baking Rod Laver Arena.
The 12-time Grand Slam champion has a day to recover for his third round encounter with Spanish 21st seed Albert Ramos-Vinolas.
The extreme elements made it a survival of the fittest with Monfils looking the worse for wear early before Djokovic had enough in the tank to win on his fourth match point in a gruelling eight-minute final game.
"It was brutal conditions and we both suffered, it was a big challenge for both of us," Djokovic said on-court.
"Gael is one of the best athletes in our sport but he was not at his best in the second and third sets. It was about just hanging in there and try to use every opportunity."
Asked about the state of his right elbow, Djokovic added: "It's still not 100 percent, but it's building. I have a lot of faith and belief in what I am capable of."
It was another step forward for the Serbian former world number one, who had been out of action for six months with elbow trouble.
A decade after winning his first Melbourne Park title Djokovic has slipped to 14 in the world, his lowest in 10 years, but he has survived the opening two rounds in his comeback Grand Slam.
Monfils broke Djokovic's opening two service games to get off to a flyer, only to give back a break with a double-fault on break point.
Djokovic's greater consistency yielded a second break when Monfils hit a wild backhand, but the Serb 14th seed was broken a third time.
Monfils fought off a couple of break points as he served for the set before he took it in 47 minutes with a put away at the net.
The Frenchman began showing the debilitating effects of the searing on-court temperatures and often was hunched with his hands on knees in between points.
He was broken in the eighth game and Djokovic served out for the set as the distressed Monfils sought the doctor and trainer during the changeover.
He complained of dizziness and left the court before returning for the third set.
Monfils went down a double break as he looked to be running on empty and Djokovic doing his best to keep things together.
Djokovic, showing the effects of the struggle, beat off Monfils' renewed late effort and the Serb needed his fourth match point to claim victory.
Results from the Australian Open on Thursday:
Albert Ramos (ESP x21) bt Tim Smyczek (USA) 6-4, 6-2, 7-6 (7/2)
Marton Fucsovics (HUN) bt Sam Querrey (USA x13) 6-4, 7-6 (8/6), 4-6, 6-2
Nicolas Kicker (ARG) bt Lukas Lacko (SVK) 6-2, 7-5, 1-6, 7-5
Dominic Thiem (AUT x5) bt Denis Kudla (USA) 6-7 (6/8), 3-6, 6-3, 6-2, 6-3
Tomas Berdych (CZE x19) bt Guillermo Garcia-Lopez (ESP) 6-3, 2-6, 6-2, 6-3
Fabio Fognini (ITA x25) bt Evgeny Donskoy (RUS) 2-6, 6-3, 6-4, 6-1
Adrian Mannarino (FRA x26) bt Jiri Vesely (CZE) 6-3, 7-6 (7/4), 5-7, 6-3
Novak Djokovic (SRB x14) bt Gael Monfils (FRA) 4-6, 6-3, 6-1, 6-3
Chung Hye-On (KOR) bt Daniil Medvedev (RUS) 7-6 (7/4), 6-1, 6-1
Julien Benneteau (FRA) bt David Goffin (BEL x7) 1-6, 7-6 (7/5), 6-1, 7-6 (7/4)
Juan Martin Del Potro (ARG x12) bt Karen Khachanov (RUS) 6-4, 7-6 (7/4), 6-7 (0/7), 6-4
Bernarda Pera (USA) bt Johanna Konta (GBR x9) 6-4, 7-5
Barbora Zahlavova Strycova (CZE x20) bt Lara Arruabarrena (ESP) 6-3, 6-4
Maria Sharapova (RUS) bt Anastasija Sevastova (LAT x14) 6-1, 7-6 (7/4)
Agnieszka Radwanska (POL x26) bt Lesya Tsurenko (UKR) 2-6, 7-5, 6-3
Caroline Garcia (FRA x8) bt Marketa Vondrousova (CZE) 6-7 (3/7), 6-2, 8-6
Lauren Davis (USA) bt Andrea Petkovic (GER) 4-6, 6-0, 6-0
Lucie Safarova (CZE x29) bt Sorana Cirstea (ROM) 6-2, 6-4
Karolina Pliskova (CZE x6) bt Beatriz Haddad Maia (BRA) 6-1, 6-1
Hsieh Su-wei (TPE) bt Garbine Muguruza (ESP x3) 7-6 (7/1), 6-4
Aliaksandra Sasnovich (BLR) bt Mirjana Lucic-Baroni (CRO x28) 6-3, 6-1
Angelique Kerber (GER x21) bt Donna Vekic (CRO) 6-4, 6-1
Ana Bogdan (ROM) bt Yulia Putintseva (KAZ) 1-6, 6-2, 6-3
Naomi Osaka (JPN) bt Elena Vesnina (RUS x16) 7-6 (7/4), 6-2
Madison Keys (USA x17) bt Ekaterina Alexandrova (RUS) 6-0, 6-1