What effect does upgrading RAM or the Processor have on the performance of a computer?
You should definitely upgrade your RAM.

The performance improvement of replacing your CPU is minor, and will only be seen while running tasks that require consistent processing, which most modern uses do not.

You can check for yourself how many times your CPU reaches 100% of its usage.

Upgrading your RAM will enable your computer to cache more stuff, hence run a lot faster, and in addition, you will be able to hold much more programs running while still not getting any significant slowdown.