For Visual Studio 2022 performance tips and tricks see following link in learn.microsoft.com:
Visual Studio performance tips and tricks
I did and it really got better.