There are different ways of measuring if something is better/worse. Generally higher clockspeed is better and of course more RAM is better than less RAM. If you want to learn the specifics, you can start reading around this site and work your way forward googling specifics. Ask specific questions in the forum.
Easier is to find a comparison site, there's things like cpuboss and gpuboss, which give you a combined score. At a very basic level that will tell you exactly that. For purposes of min/recommended specs they'll do the job.
Or you could use a site like
this one
At Tom's we have these lists:
CPU hierarchy
GPU hierarchy
If the minimum requirement of the game is a CPU/GPU above you in the hierarchy you will have...