Fredrikvictorhugo, I'm not sure if this is related to the new changes with live meshes on by default.
Can you try the suggestions in my previous post (https://render.otoy.com/forum/viewtopic.php?p=362741#p362741) and see if it makes it faster?
If so, then we need to figure out why live meshes cause a slow down refreshing materials.