Is it Sourcerer that is causing the issue?
Or whatever you are doing through Sourcerer?
Sourcerer is not a component, it is a plugin.
I have not seen any speed issues with Sourcerer in Joomla 4.
I am therefor assuming that the performance issues you are seeing, are down to the custom code you are placing through Sourcerer.