Find out system performance

Is it possible to find some kind of measure of the user's performance at runtime?

I want to set my game quality settings default according to the player's system configuration. Is it possible to find out the player's cpu and gpu?

Thank you

Sure. Check out the SystemInfo class.