Ambulances responded to 8,804 cardiac arrests in the first four months of the fiscal year — a 10 percent increase from the same period a year ago — and it took longer to get to those needing help, according to figures released Tuesday.

The latest Mayor’s Management Report, which assesses the performance of city agencies, found ambulances required an average of 6 minutes and 45 seconds to reach the most urgent medical emergencies between July 1 and Oct. 31, 2014.

In the same period in 2013, it took 6 minutes and 39 seconds.

Every second is critical in cardiac cases — a detail made more worrisome because the longer response times came as the number of cardiac calls jumped sharply from 8,026 a year earlier.

The numbers explain why Mayor de Blasio is adding 32 ambulances to the city fleet in his upcoming budget.

There was better news at the NYPD, which dispatched patrol cars to crimes in progress in an average of 8.4 minutes, down from 9.3 minutes the previous year.

The Transportation Department reported it took an average 6.7 days to close a pothole work order, up from 4.3 days, because of an “exceptionally harsh winter” that left so many of the craters.