I decide by looking at real world benchmarks for the workloads I'll be using the computer for.
Yeah, this is a good way. Think about what you're going to be doing with the hardware that you want to buy, and then look at how the various items within your price range perform in those specific categories.