Desi comedy nights in the Bay have been growing a real circuit — this isn't a one-off open mic situation. HellaSecret formats tend to run tight (90 minutes, maybe a little over), with a handful of comics on a proper bill rather than a long amateur-hour lineup. The 7pm slot is the easier one if you have dinner plans or a BART cutoff to worry about; the 9pm crowd tends to be looser.
Because the venue is mystery until registration, snag tickets before the location announcement drops — that's usually when the remaining seats go fast. Grab tickets at the SFFuncheap link, bring a valid ID, and don't assume the venue has parking just because it's in SF.
If I had two hours, I'd take the 7pm slot, eat beforehand, and be out by 9 with the night still open.