The first baseman hit a pair of two-run homers Friday night as the Dodgers continued their incredible run with a 9-2 victory over the Padres before 51,769 at Dodger Stadium.

Gonzalez — a graduate of Chula Vista’s Eastlake High who hit .288 with 161 homers and 501 RBIs for the Padres from 2006-2010 — is hitting .387 against the Padres since being traded to the Boston Red Sox in December of 2010.

Gonzalez is 36-for-93 against the Padres with five doubles and six homers for 23 RBIs. His batting average is the highest among active players (with 75 or more at-bats) against the Padres. All six of his homers And 13 of the RBIs have come this season.

The Dodgers were ahead 2-1 thanks to starting pitcher Hyun-Jin Ryu when Gonzalez connected for his 18th homer of the season off Padres starter Eric Stults in the third. His second homer came off Anthony Bass during a five-run seventh that broke the game open.

Each of Gonzalez’s homers followed a double by Hanley Ramirez, whose seventh-inning hit drove in the first two runs of the inning. Catcher A.J. Ellis followed Gonzalez with a second straight homer off Bass.

Ryu beat the Padres with his arm and bat. Facing the Padres for the first time, Ryu gave up one run on eight hits over 6 1/3 innings on a hot and steamy night. Ryu issued one walk while striking out six.

Ryu, who entered the game with a .191 average, doubled home Dodgers second baseman Mark Ellis to tie the game at 1-1 in the bottom of the second then scored the go-ahead run on Yasiel Puig’s looping single just over the glove of Ronny Cedeno in short left.

Stults allowed four runs on eight hits over 5 1/3 innings as he suffered his fifth straight loss over his last eight starts with a 4.91 earned-run average.

The Padres took a short-lived lead in the top of the second Jesus Guzman singled with one out and scored on Logan Forsythe’s double to the wall in left-center.

The single was Guzman’s fourth straight hit on the trip as he raised his average on the road this season to .304 with 11 doubles and all eight of his homers for 23 RBIs. By comparison he is hitting .171 at home with five doubles, no homers and seven RBIs.

The Padres’ best opportunity came in the top of the seventh while they trailed by three runs. Nick Hundley, Cedeno and Alexi Amarista opened the inning with successive singles. But Hundley was thrown out at the plate on Amarista’s single to center and two groundouts kept the Padres off the board.

The Dodgers are 49-13 starting with their 6-1 win over the Padres on June 22 at Petco Park. The Padres are 22-38 starting with that loss.

Notable

For the second time in three days, the Padres announced a starting outfielder is done for the season. Padres manager Bud Black said Cameron Maybin won’t play again in 2013, although he will not need surgery to repair the PCL in his right knee. Maybin likely will play winter ball.