the ONLY way to tell what is slow is to actually profile each of the operations, that said, start with examining object creation / memory allocation. string concationation usually does both . . .