nasa / openmct

A web based mission control framework.
https://nasa.github.io/openmct/
Other
12.05k stars 1.25k forks source link

Import from JSON is extremely slow with large imports #7612

Closed akhenry closed 6 months ago

akhenry commented 7 months ago

Summary

Importing very large JSON files (on the order of megabytes) is extremely slow. This would be less of an issue if Open MCT gave the user some feedback that it was doing something, but it doesn't.

Expected vs Current Behavior

Import from JSON has some inefficiencies which could be improved to speed up the import process. The user should be informed that an import is in progress.

Environment

Impact Check List

Additional Information

akhenry commented 7 months ago

Assigning severity of critical. This issue significantly impairs the usage of this functionality, and functionally blocks it for large imports.

scottbell commented 7 months ago

To test:

  1. Use the attached Big Test Folder (2).json.zip to initiate an import.
  2. Ensure the import finishes in a timely manner and the progress bar appears
  3. Create your own folder, with nested objects and folders. Export it.
  4. Ensure that import works properly too.
davetsay commented 6 months ago

verified

ozyx commented 6 months ago

Verified