Power plan

I was getting like 30 fps on farcry 6 with a 4060 but then I had a look at my power plan which was on power saving mode. Switched it to high performance and low and behold it shot up to 90fps on ultra settings