Skip to content

Optimize caching for TypeScript context provider to support time budgets < 20ms #255371

@dbaeumer

Description

@dbaeumer

Currently the time budget for a TS context request is 150ms. From telemetry we know that inline completion requests that take longer than 120 ms have a higher tendency to be cancelled. We did quite some work to get under 50ms but numbers show that this is not enough. A caching implementation that targets 20ms is in Insiders but needs some final polish.

Metadata

Metadata

Assignees

Labels

plan-itemVS Code - planned item for upcoming

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions