I just bought a new high-end PC and am having long processing lags on Photoshop 22.4.2
The problem happens when I add adjustment layers (I've noticed it in particular with Exposure and Vibrance layers) and zoom into image. Changes to adjustment layers, or even toggling visibility on pixel layers, lags 1 sec or more. If I turn off visibility on the adjustment layers or zoom out to full size the problem goes away.
Do not have problem on my 5 yr old Dell with the version of Photoshop and a NVIDIA Quadro K4200 graphics card.
Photoshop 22.4.2 (I also tried rolling back to 22.4.1 - same problem)
First, try disabling GPU in the preferences (Preformance tab). Any better? If turning OFF GPU works, it's a GPU bug and you need to contact the manufacturer or find out if there's an updated driver for it. Also see: https://helpx.adobe.com/photoshop/kb/acr-gpu-faq.html
Author “Color Management for Photographers" & "Photoshop CC Color Management" (pluralsight.com)