[COMPASS-4919] Attempting to edit an element in a sub-array containing thousands of elements makes Compass app unresponsive Created: 01/Jul/21  Updated: 09/Aug/22

Status: Open
Project: Compass
Component/s: Performance
Affects Version/s: 1.26.1
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Albert Pomortsev Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MacOS Catalina 10.15.7, Windows 10.


Story Points: 5

 Description   

Problem Statement/Rationale

Bad Compass UI performance when woking with documents containing large arrays.

Steps to Reproduce

  • Create a document containing an array field with a couple thousand string elements:

{{{}}

  _id: "test",

  arr_field: [

    "elt1", "elt2", ... "elt2000"  

  ]

}

  • Open the document in Compass
  • Expand the array
  • Scroll to the last element and double-click the value to enter the element editing mode
  • The application UI freezes for significant amount of time (10s of seconds)
  • Same happens when clicking either "Cancel" or "Update" after the app finally unfreezes.

 Expected Results

Application should not freeze.

Actual Results

Application freezes.

Additional Notes

Any additional information that may be useful to include.


Generated at Wed Feb 07 22:37:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.