Skip to content

[refactoring] reduce size of execute rewrite recipes messages #897

Closed

Description

@martinlippert

The message for the command sts/rewrite/execute contains lots of data and has a size of about 500Kb (in my tests). This doesn't seem to be reasonable and we should reduce the size down to the data that is really needed to identify the selected recipes and their params (as a first guess).

Activity

  1. added
    for: eclipse
    for: vscode
    on Nov 21, 2022
  2. added this to the 4.17.1.RELEASE milestone on Nov 21, 2022
  3. BoykoAlex commented on Oct 16, 2023

    @BoykoAlex
    Contributor

    The sts/rewrite/list needs improvements in this area as well. Likely we need to flatten the recipe tree such that when navigating inside the recipe we'd load more data for sub-recipes rather than load everything at once.
    There is going to be quite a bit of work. Size of the recipe descriptor json has grown thus we'd need to address this rather soon.

  4. BoykoAlex commented on Dec 19, 2023

    @BoykoAlex
    Contributor

    Should be fixed with d6ff60a
    Instead of loading. all recipes and sub-recipes lazy load sub-recipes on demand. Instead of sending recipe descriptors to instatiate recipes on the LS side send selected recipes json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

for: eclipsefor: vscodetheme: refactoringtype: enhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions