Best Practices for Performance Testing and Optimization