What exact tasks are you doing? If you're doing rendering with blender, for example, you can scroll down to the blender chart here:
AMD's Ryzen 7 7800X3D is everything that gamers want: eight fast cores, in a single CCD, with 3D VCache stacked on top at a price point of $450. In our review we can confirm that 7800X3D is indeed the fastest gaming CPU available, beating Intel's 13900K and even the 7950X3D.
www.techpowerup.com
It includes a 5700X, right up to a 7950X, but as said above, not everything will scale to cores in the same way.