Federer will play Ivo Karlovic or Jan-Lennard Struff in the fourth round.
Federer said that he hoped to get his famous "RF" logo back from Nike "sooner than later".
The Swiss defending champion has now won 26 consecutive sets at the All England Club.
Serena raced away with the first set and although Tomova, ranked 135 in the world, hung around slightly longer in the second, Serena completed a comprehensive 6-1, 6-4 win. Next, an uncontrolled effort from Lacko gave a 4-3 advantage to the 36-year-old Swiss.
He won 93 per cent of points won on his first serve, winning all of them in the second and third sets.
"I think I can be very happy today", said Federer, who will next face France's Adrian Mannarino.
"The first point is as important as a breakpoint, so the concentration is the same".
In total, he lost just nine of 61 points on his serve and broke Lacko five times, including with a dynamic forehand victor to close out the match.
The third set was one-way traffic.
The women's draw suffered another seed shock as No. 2 Caroline Wozniacki fell in three sets to Russian Ekaterina Makarova 6-4, 1-6, 7-5.
Baltusrol to host Women's PGA and PGA Championship
Park In-bee, the world No.1 in the women's world ranking, missed the cut after shooting five over par in the first two rounds. The last time a Japanese player earned a million dollars in a single-season was 2016 when Haru Nomura pocketed seven figures.
"I fought as hard as I could".
"I haven't played her in a while".
Also with Marin Cilic taking an unexpected premature exit Thursday, Federer's run to the final is looking pretty straightforward. shall we just call number nine now? "She got a little lucky and played well when she needed to".
American Madison Keys has backed England to bring home the World Cup after becoming a supporter of the Three Lions during their round-of-16 victory over Colombia Tuesday.
Five-time champion Venus was a 4-6, 6-0, 6-1 victor against Alexandra Dulgheru while seven-time winner Serena defeated Viktoriya Tomova 6-1, 6-4.
In this picture, Switzerland's Federer reacts after winning against Slovakia's Lukas Lacko during their men's singles second round match on the third day of the 2018 Wimbledon Championships at The All England Lawn Tennis Club on July 4, 2018, in Wimbledon, southwest London.
Two straightforward, straight-sets victories sets up her third round contest with World No. 120, Rodina.
Azarenka lost 6-3, 6-3 as she returns to regular action after a custody dispute involving her son which restricted her travel.
However, Swan crashed out of the tournament losing 6-0, 6-3 to Mihaela Buzarnescu. Canadian Raonic won the match 7-6 (7-4), 7-6 (7-4), 7-6 (7-4) and he will play qualifier Dennis Novak next.
Five-time champion Venus Williams did better with her comeback attempt.