There’s probably too many factors beyond CPU and GPU to give you a definitive answer.
Best option is to enable Dev Mode and turn on the FPS counter. It will tell you what you’re limited by. Whichever limitation you see the most is what you need to upgrade.