Skip to content

Investigate batching/streaming of AST transfer #63922

Description

In migrating towards the TS7 APIs for building VS Code, Dirk Bäumer (@dbaeumer) found a potential bottleneck in AST encoding/decoding - a significant amount of time is actually taken up on the server side.

We should look into the following:

  • Batching AST requests (client side)
  • Asynchrononous responses for AST encoding (async client side)
  • Possibly streaming responses? (async(?) client side)
  • Parallel AST encoding (server side)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Domain: APIRelates to the public API for TypeScriptDomain: PerformanceReports of unusually slow behaviorIn DiscussionNot yet reached consensusSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions