Performance optimization techniques