There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-470d6da9-ae65-432d-ac9a-fe3f657d982f XWIKI-22861 Open

Performance in XWiki 16.10.3 is significantly lower than previous cycle

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-d7aa7718-d45c-422c-8e48-d1507fcf3676 Michael Hamann on 06/Feb/25 18:59
 

First, I can largely reproduce at least the difference for "Reload of not existing page with UI" (I didn't check anything else). The main difference seems to be that ServletEnvironment.getResource() became a lot more expensive. I don't know if this accounts for the whole difference, but the difference seems high:

  • For 17.0.0, IntelliJ tells me that this line that calls ServletContext.getResource() is responsible for 46% of the CPU time.
  • For 16.10.3 this line that calls ServletContext.getResource() is even 50% of the CPU time.
  • In contrast to that, in 15.10.16, it is only 10% of the CPU time.

I don't know if this accounts for all of the differences listed above, but it doesn't seem unlikely that a significant number of them is caused by it. While this is all with the Jetty demo package, we currently recommend the Jetty Debian package so this is most likely also relevant for production instances. It would be interesting to also check how this behaves in Tomcat.