Surely San Francisco’s massive $9.6 billion annual budget is enough to pay for top-of-the-line services, like police arriving in a snap when beckoned for help, 911 call operators answering the phones promptly, the trauma hospital having plenty of space and buses coming — gasp — on time.

Well, one can dream.

The city controller recently released a scorecard for how various departments performed in the 2015-16 fiscal year, and while some goals were met, others certainly weren’t.

The Controller’s Office has long worked with departments to set their goals and track whether they are achieved. But the mass of data has been something only a wonk could love.

“It’s almost incomprehensible for members of the public,” said Controller Ben Rosenfield. “There’s way too much detail.”

Last year Rosenfield’s crew began compiling the most essential metrics — those his staff believes the public cares most about — into easy-to-read, online scorecards. Like a traffic signal, the metrics marked green mean things are going well, yellow means improvement is needed, and red means the goals aren’t being met.

We’ll get to the green bits later, but you know we cynical reporters like to start with the bad news.

Public safety: If you’re having an emergency in San Francisco, you had better hope you’re one of the lucky ones. Dispatchers at the 911 call center are supposed to answer 90 percent of calls within 10 seconds. Over the course of the past year, the average was 78 percent, but that’s been dropping recently. In July, just 71 percent of calls were answered in 10 seconds.

Francis Zamora, spokesman for the Department of Emergency Management, said call volume has increased 37 percent in the past five years, and the dispatch center is now answering more than 3,400 calls every day. He said the department will hire 40 to 45 new dispatchers in the next year.

“Our goal is to make sure we have the dispatchers to meet the increasing demand,” he said.

But even if you get through to 911 quickly, you might still be waiting for help. Police are supposed to respond to high-priority calls within four minutes, but have been taking an average of four minutes and 57 seconds, according to the controller.

The same problems that plague the 911 call center — more emergency calls and short-staffing — are blamed for the police delays. Sgt. Michael Andraychak said the department has a multiyear hiring plan in place to increase staffing.

A bright spot? After major problems with the Fire Department’s ambulance response time in recent years, ambulances are arriving at life-threatening emergencies within 10 minutes 91.1 percent of the time, surpassing the goal of 90 percent.

Transportation: Like the traffic lights on my commute home, the Muni page on the city scorecard is a sea of red and yellow.

The San Francisco Municipal Transportation Agency’s goal is that its vehicles will arrive on time 85 percent of the time, but the average over the past year has been 59 percent.

It also has a goal of vehicles on the same route arriving evenly spread out — not, say, two 38-Geary buses arriving back-to-back and then another not coming for ages. Known in Muni lingo as “bunching and gapping,” this problem last year occurred on 22.6 percent of transit trips, while the goal is 10.6 percent.

John Haley, the agency’s director of transit, said a shortage of operators and more congested streets are to blame.

The controller’s office reports the average vehicle speed on major downtown arteries during the evening commute is 12.7 miles an hour, 3.3 miles slower than in 2013. That’s because of the economic boom bringing more workers to the city, many of whom live elsewhere and drive in, the controller says.

Haley said this means the city needs to rejigger traffic signals to give Muni priority and to paint more bus-only red lanes, like the controversial one on Mission Street.

“This would make transit move along at a more predictable pace and also bring up the on-time performance,” he said, adding that more operators will be on board by the end of this month, which will also help.

Bunching and gapping is obviously better than crashing, another big problem for Muni. The agency has a goal of 3.67 collisions per 100,000 miles, but averaged 6.6 collisions over the past fiscal year. Haley said there are now 35 collisions a week, a major issue the agency is analyzing in an attempt to reduce the number.

Public health: San Francisco General Hospital has a goal of maintaining an average occupancy rate of 85 percent, which represents the number of admitted patients who are occupying beds at midnight each night. Too low an occupancy rate means there’s too much capacity, and too high an occupancy rate can mean there’s a risk of not having enough beds in an emergency.

The hospital last year had an average of 97 percent occupancy. The overall diversion rate — the percentage of days in the past year the hospital was so crowded, it directed ambulances elsewhere — was 61.6 percent.

Brent Andrew, spokesman for the hospital, said demand for hospital services has increased significantly since the passage of the Affordable Care Act. To cope, the hospital is working to admit and discharge patients more quickly.

The 284-bed hospital will have enough space in an earthquake, plane crash or other major disaster, Andrew said. He said the hospital is capable of handling far more patients than the number of beds it maintains on a regular day.

So what in San Francisco is working well? Despite conventional wisdom, the Department of Public Works is cleaning streets and sidewalks within 48 hours of learning of a problem 94 percent of the time and is filling potholes within 72 hours 92 percent of the time.

San Franciscans are signing up for recreation courses in big numbers, filling 80 percent of classes offered by the Recreation and Park Department. We’re also checking out nearly 900,000 items from the library every month, surpassing the goal of 875,000.

There’s plenty more to learn about your city’s report card, too. Check out www.sfgov.org/scorecards, and let us know what you think.