Despite a wild burst of gunfire that wounded nine people at a party in Brooklyn over the weekend, the number of shootings across New York City was sharply lower last week compared with the same week in 2014, bringing the city effectively even with last year in total amount of gunfire.

Through Sunday, there had been 669 shooting episodes reported citywide in 2015 versus 674 at this time last year, Police Department statistics show. Those shootings resulted in 794 people struck by bullets — virtually the same number at this point last year, when 787 had been struck. The number from this year includes the nine hit, none fatally, at the party in the East New York neighborhood on Sunday.

The numbers are a sharp contrast to two months ago, when police commanders noted a rise in shootings and began to flood the most violent precincts with extra officers.

Chief James P. O’Neill, the department’s highest-ranking uniformed officer, said in June that gun violence was “our focus” and pledged to reverse the trend, beginning a summer antiviolence initiative one month early and extending overtime to keep more officers on the streets during high-crime weekend hours.