Not sure I would route according to the lounge but since you ask i'd go for SFO
The actual SFO IFL lounge is much nicer and has the major plus of showers. The food in my limited experience is better at SFO but the staff are reputed to be far better at LAX (i've not experienced this)
Jeff