AI OnAI Off
The most common way to move forward in this case is to use a profiler like dotTrace to see what is the bottleneck. if it's something we can improve from our side, we'd like to hear about it.
Don't you have an infinite loop here? Shouldn't path != eventPage.ContentLink
be path != eventPage.ParentLink
? Or even better path.Equals(eventPage.ParentLink, ignoreVersion: true)
.
Hello, im having problems with the performance for a EventListner. I want to speed up the performance, currently it takes around 10 seconds to publish the PageType, in the eventListner I automatically create a map structure. At maximum it creates 3 containers/maps with a hierarchy order and moves the PageType in the bottom of the hierrarchy. After debugging I discover that the IContentRepository.Move slows the method down. Here is my code:
Let me know if you need more information