Domain to XML mapping takes too long

I have a domain to XML mapping which takes too long to execute!(>4 mins) The mapping has to cope with a 4 level domain structure) and is has no mapping MFs. So a straight forward mapping to XML. I want to debug this and wanted to know which lognode can be used to track if 1 of the elements of the mapping is causing this slow performance. or do you have another idea or getting an XML out of domain model?(java perhaps!)
1 answers

It was due to the shear size of the Domain model which was causing this issue. I found a work around. Closing!