Blender constantly 'Optimizing Shaders'

On a scene (Big scene, with many linked assets) I’m working on, if I hit spacebar to play, Blender is constantly optimizing shaders - this gets down to 1 remaining and then starts again. While this is going on, this slows my machine down massively
image
0

Any idea what could be causing this and how to optimize?

It looks like you’re playing an animation.
This happens when you run a material preview.
It usually runs once, but it will continue to run if there is a material change.
Try a rendering preview

Text info says that your scene has a huge amount of shaders to optimize.
What does your scene represent to contain so many shaders ?