honestly, i don't have a good baseline to really say.
i spent 1 month in SF recently and it was kind of similar to NYC tbh. mostly safe but you gotta watch out during late nights in some areas.
i could be ignorant here since i am pretty new to the bay. wdyt?