This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-76838606-2d09-4548-8fa8-f6d2a5ecc6eb XWIKI-23212 Open

Performance issues when editing a page with many tables and macros, especially while using Realtime Collaboration

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-2d5c367f-d67c-492c-959a-5b30d5a77733 Ilie Andriuta created this issue on 19/May/25 13:49
 
Summary: Performance issues when editing a page with many tables and macros, especially while using Realtime Collaboration
Issue Type: cid:jira-generated-image-avatar-76838606-2d09-4548-8fa8-f6d2a5ecc6eb Bug
Affects Versions: 16.10.5
Assignee: Unassigned
Attachments: Disabled_Realtime_Single_User.mp4, Enabled_Realtime_Key_Shortcuts_Interpretation.mp4, Enabled_Realtime_Single_User.mp4, Enabled_Realtime_Two_Users.mp4, RealtimeTablesMacros.WebHome.xar
Created: 19/May/25 13:49
Environment: Windows 11 Pro, Edge 136, using an instance of XWiki 16.10.8 on MariaDB 11.6, Tomcat 9.0.104
Priority: cid:jira-generated-image-static-critical-b1d6042c-1fe6-47e7-a8e9-38eb00d1a7fa Critical
Reporter: Ilie Andriuta
Description:

Steps to reproduce

  1. Disable the Realtime feature (from Administer Wiki > Editing > WYSIWYG Editor, by adding xwiki-realtime to the Disabled Plugins)
  2. Create a page with many tables (app. 200) and macros (Info, Success, Error, Warning, Box and some Display macros, or use the .xar file attached)
  3. Edit the page using in-place WYSIWYG mode
  4. Edit a cell from a table by writing some text (e.g. This is a test)
  5. Observe the responsiveness (initial time for loading the edit mode, how fast the typed text is displayed)
  6. Enable back the Realtime feature
  7. Edit the same page with 1 user, then with 2 users using in-place edit mode
  8. Edit a cell from a table by writing some text (e.g. This is a test)
  9. Observe the responsiveness of the page and how fast the text is being displayed for both users

Expected results

The time to load the page in edit mode is short. The page is responsive and the text is displayed as it's been typed.

Actual results

The time taken to load the page to edit mode until the user can type is long (app. 8 seconds in average).

The typed text is displayed with quite a long delay.

After having the Realtime feature enabled, the time taken to load the page to edit mode until the user can type is greatly increased.

The typed text has a much longer delay to be displayed (in fact I could not type This is a test because the browser interpreted the typed characters as key shortcuts, see the attached videos).

When the page is edited with 2 or more users, the times are further increased.

The issue was reproduced by Lucian Chevereseanu on another user's instance.

 
 

2 updates

 
cid:jira-generated-image-avatar-2d5c367f-d67c-492c-959a-5b30d5a77733 Changes by Ilie Andriuta on 19/May/25 13:49
 
Component: CKEditor
Labels: performance