There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-8614baad-19b7-47c8-b8b0-c541555e58f6 XWIKI-25421 Closed

Avoid Velocity for UI extension parameters that don't need it

 
View issue   ·   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-1c9be3f4-849d-4371-b22c-9f09e10e3000 Michael Hamann on 22/Oct/26 15:03
 

Performance measurement of https://github.com/xwiki/xwiki-platform/pull/7022 on a running instance, following the "Reload" tests of the manual QA performance tests:

  • Setup: the Jetty/HSQLDB demo distribution 18.10.0-20261022.101236-17 (pre-installed flavor), with only xwiki-platform-uiextension-default replaced by the JAR built from the PR for the "after" runs. Rounds alternated before, after, before, after, with a restart for each. Each round ran on an idle instance (no background work left), logged in as Admin.
  • Method: sequential requests, a new connection per request (like the QA wget calls), 50 warm-up requests and then 200 timed requests per URL.
  • Full page views are 10–15% faster, while get requests (no UI) are unchanged. For the three view pages, both "after" rounds are faster than both "before" rounds, on median and on lowest value. The missing page without UI varies between rounds as much as the difference measured.

Results, both rounds combined (median / lowest, in ms):

Test Before After Change in median
Not existing page, with UI (view/NoSpace/NoPage) 95.7 / 72.4 81.1 / 65.5 -15%
Empty page, with UI (view/EmptySpace/EmptyPage) 107.6 / 88.9 96.8 / 76.9 -10%
Main.WebHome, with UI (view/Main/WebHome) 112.1 / 90.0 100.4 / 80.3 -10%
Not existing page, no UI (get/NoSpace/NoPage) 98.3 / 76.1 95.1 / 65.4 -3% (noise)
Empty page, no UI (get/EmptySpace/EmptyPage) 6.3 / 4.4 6.2 / 4.3 none
Main.WebHome, no UI (get/Main/WebHome) 8.4 / 5.8 8.1 / 5.6 none