Balancing performance and privacy