5700x3D, it's note even a debate. It will perform better in gaming. Not only it will be faster, it will be smoother (0.1% fps metrics).
The jump from a 3600 will be insane. Don't forget to put an undervolt (Curve Optimizer in PBO settings of you UEFI), it's free performance. You can start with -10mV then keep lowering further by 5mV until it crashes. It weeks time to find the right CO voltage.
You can also set a max temperature in PBO settings but it's optional.
My 5700x3D is running with -24mV (perfectly stable for months) and 70°C as the temperature ceiling (PBO limit).