Max Scherzer got his 3,000 strike out milestone and took a perfect game into the eighth inning as the Dodgers beat the San Diego Padres 8-0 Sunday to complete a three-game sweep.

"In the fifth or sixth, I realized I had something going there," he said. "Once I was able to get through the sixth, I was like, 'I got a chance to do this.'"

Scherzer retired his first 22 batters, including Fernando Tatis Jr. just before Eric Hosmer doubled to deep right with one out in the eighth. The crowd of 42,637, including his wife, three children and parents, saluted Scherzer with a standing ovation after he finished the inning, his second of the day.