RAM does perform but not utilized in graphical process.
if you have a dedicated gpu then there is nothing like more RAM , more performence.
but if you've an onboard GPU then it is more dependent on the amount and the speed of ram that you've installed.