Yusmeiro Petit pitched a four-hitter for his second career complete game, and the San Francisco Giants beat the Arizona Diamondbacks 5-1 on Tuesday night. Making his third start since replacing Tim Lincecum in the rotation, Petit (5-3) faced just two more than the minimum and matched his season high of nine strikeouts. The right-hander needed only 84 pitches to finish the gem, the fewest in a nine-inning complete game by any pitcher in the majors this season. Petit, who threw 26 first-pitch strikes, came within one out of a perfect game against the Diamondbacks on Sept. 6, 2013.