UE5 Taking long to compile shaders

I have a problem compiling shaders in ue5, a single mesh with material that takes 10 seconds to compile in ue4.26 takes 5 minutes in ue5. This happening with all my assets and even quixel ones.

Even in a new project with raytracing, nanite and lumen disable. This is killing me in terms of time.

Can anyone help me solve this?

Would you please attach your log file? You can remove all sensitive strings from there (like project, file and user names).