optimising procedural rooms

Hello. I have created this procedural rooms generation. Once it is done making the rooms it tanks my fps. What would be the best ways to optimise something like this ?