To improve performance, you must increase your throughput. Writing efficient queries and profiling your application during development to identify potential bottlenecks can save you time and money when you incorporate that code in the larger testing, staging, and production environments.