And, really, you need to consider both of these factors together as they go hand-in-hand in determining what kind of a PC you can build. Because you may want to build a gaming PC that can run Starfield at 4K and maintain an average framerate of 60 FPS, but if your budget is only...
Running the in-game benchmarking tool on the “Steam Deck” settings preset (which includes high texture quality, among other things), the Legion Go averaged 40FPS. The same benchmark on a Steam Deck proper came out to about 30FPS.