Check hardware spec in PC?

is there any way to check hardware spec of PC ? I want to replace simple mesh when user PC has not enough power.

Easiest way would be to run a quick test to capture frames per second and if fps > 60, increase the detail.