Not when the slow performance is caused by something other than the CPU. It doesn't matter how fast your CPU is if you pair it with medium to low end graphics.
RAM quantity only matters when you have an insufficient amount of it. Games that are not specifically coded to run in a 64-bit mode or be large address aware will not even be capable of addressing more than 2 GB of RAM. The extra RAM above what your game is using will be handy for Windows and other background tasks, but even at 6 GB, you likely won't be using it all during gaming. Only a few of the new games can take advantage of that much memory, and they will have more problems due to the limited graphics in most laptops long before the RAM becomes an issue.
The largest factor in your FPS is going to be your graphics card. There is no way around that. Your CPU, no matter how fast it may be, can not feed your graphics subsystem any faster than the graphics subsystem can accept the data. Once your GPU bottlenecks everything, the faster the CPU, the more time the CPU will sit idle.
A big factor in your lag is going to be the quality of your connection to the internet, and your ISP's connection to the broader internet's fabric. Provided your computer is not outright malfunctioning, or operating terribly, you can't do much for that on your end short of switching ISPs.