5.0 Bad FPS, editor and executable

Hello!

I need to do some small school projects with Unreal Engine and I’m having some huge performance issues.
I used to run computer with GTX 1060 6Gb, i5 7600k and 16Gb RAM.

Recently upgraded my CPU to Ryzen 5 5600X and RAM to faster 32Gb but kept the same GPU.

In the editor I only have 20-25 FPS (used to have 40+ with the old setup), have checked and tried messing with all of the scalability settings, project settings and editor settings. Today I finally got to a stage where I could package my project but after packaging the FPS gets even worse. While running the packaged standalone I only get like 2 FPS.
After packaging I tried to edit the config files of the package and change the resolution from 1440p to 1080p, which only makes it worse.

What else is there to do other than upgrading the GPU aswell?