Some stranger’s 5600x doesn’t randomly have the hardware to compile shaders at 10x the speed of top of the line CPUs. A game that suffers from shader compilation stutters will do so on all systems. To say it didn’t stutter for you means either that:
The game never compiled the shaders
You already had the shaders pre-compiled, which isn’t a thing on normals PCs
You never noticed
You’re lying
It’s impossible to avoid for games that suffer from it.