The Book of Lists for many major metropolitan areas in the U.S. - including San Francisco - is available in BizJournals.
The Book of Lists is an annual compilation of a variety of lists (e.g. Best Places to Work; Staffing Firms; Highest Paid Nonprofit Execs, etc.) representing business and non-profit activity in a city/region. These lists are detailed and often include specific firm revenue information.
Note: The Book of Lists is not available for all locations. Also note specifically the ability to toggle between cities in the upper left corner of BizJournals.
If the Book of Lists is available for that location, a link will appear on the page for that city. Look for the "Book of Lists" under "Digital Edition."