I suspect the Function.Apply node is a big delay here. Try running the TuneUp view extension and see which node is running slowest.
if that doesn’t work, you could just grab all titleblocks instead of all sheets, and work backwards to the sheet so you’d an set the parameters.