Yusmeiro Petit was a study in efficiency as the Giants solidified their hold on the top wild card slot in the National League and pulled to within two and a half of the Dodgers.