Agreed. When dealing with low hanging fruit, you often improve both.
Later though… once your system is somewhat optimized, you will tend to make latency vs throughput decisions. For most people though, slight changes to latency are the cost to large increases in throughput, but that may just be my experience.
Please do read a bit about history of TCP and how latency impacts the overall throughout. It's a classic thing and applies to any processing where you need results of some steps to proceed.
Latency and thruput are never the same, they don't even have the same units so they can't be the same.
Advice to OP. Learn how to make measurements, and you'll never make mistakes like these.