SAN DIEGO -- Carlos Gonzalez hit two two-run homers and drove in five runs,Jon Gray struck out a career-high 12 and the Colorado Rockies beat the San Diego Padres 10-3 on Sunday night to snap a four-game losing streak.
Both of Gonzalez's shots were to center field. His first, in the first inning, was estimated at 444 feet, and his second, in the ninth, went 409 feet. He has 13 on the season and eight in his past 10 games.
Nolan Arenado also hit a two-run homer. He had three hits, missing the cycle by a triple, and reached base five times. He was hit on the left elbow by a pitch from Brandon Maurer in the ninth inning.
Arenado was aboard for both of Gonzalez's homers.
Arenado's shot and Gonzalez's first homer were off rookie Luis Perdomo (1-2), who started in place of James Shields. Shields was traded to the Chicago White Sox on Saturday.
Arenado extended his NL lead with his 18th homer, a line shot to left with one out in the fifth. Trevor Story was aboard on a double.
Gray (4-2) struck out the first five batters, becoming the second Rockies pitcher to do so. Bruce Ruffin did it on June 13, 1993, against Houston. Gray is the first to do it in the majors this season.
Gray's previous career high was 11 strikeouts, also against the Padres on May 2 at Petco Park. He allowed two runs and five hits in seven innings and walked one.
Gray allowed Wil Myers' RBI double in the fourth and solo homer in the sixth, his 10th.
Perdomo allowed six runs and eight hits in 4 1/3 innings, struck out three and walked one.
San Diego's Brett Wallace homered with one out in the ninth, his third.
Rockies: RHP Tyler Chatwood (6-4, 2.99) is scheduled to start the opener of a three-game series at the Los Angeles Dodgers, who will counter with RHP Mike Bolsinger (1-2, 4.20).
Padres: LHP Christian Friedrich (2-1, 2.53) is scheduled to start the opener of a three-game home series against Atlanta, which will start RHP Williams Perez(2-1, 3.86).