Roger Federer lavished praise on swimming superstar Michael Phelps as the American became the greatest Olympian of all time on Wednesday.

Federer said he appreciated the effort and sacrifices which have gone into the 23-year-old's march to a record 11 Olympic golds, more than any other athlete in history.

"What he's doing is quite incredible. He's been doing it for so many years," said Federer who is seeking a first Olympic tennis gold and is desperately chasing down his own piece of history — Pete Sampras's record of 14 Grand Slam titles.

"He's doing it in different competitions at different lengths. He's very impressive and he's one of the greatest athletes out there at the moment."

Phelps started on Wednesday with a career nine Olympic golds to stand alongside greats Paavo Nurmi, Carl Lewis, Mark Spitz and Larysa Latynina.

But the man from Baltimore clinched his place in the history books when he won the 200m butterfly in a new world record time of 1min 52.03sec, shaving six-hundredths of a second off the world mark of 1:52.09 he set in winning the world title in Melbourne last year.

An hour later he returned to lead the United States to victory in the 4x200m freestyle relay in 6:58.56 — crushing the previous world mark of 7:03.24 set by a US squad at the world championships in Melbourne last year.

He has now won five golds in Beijing's Water Cube, to go with six he collected in Athens four years ago.

If Phelps can win all eight of his Beijing events, he will surpass the record of seven gold medals at one Games set by US swimmer Spitz at Munich in 1972.

His fellow countrymen were dazzled by his achievements.

"He's one of the greatest swimmers of all time," said Dwayne Wade, part of the United States' powerful men's basketball squad.