Skip to content

NavTo seems slower #38491

Closed
Closed
@weswigham

Description

@weswigham

We talked about this briefly after our design meeting last week, but editor navTo responses using the latest nightly seem much slower than on 3.8.3.

Opening up checker.ts and searching for #isRelatedTo in the editor yields a log fragment similar to:

  {"seq":40,"type":"request","command":"navto","arguments":{"searchValue":"isRelatedTo","maxResultCount":256}}
Info 941  [12:13:54.230] Search path: d:/Github/TypeScript/src/compiler
Info 942  [12:13:54.230] For info: d:/Github/TypeScript/src/compiler/checker.ts :: Config file name: d:/Github/TypeScript/src/compiler/tsconfig.json
Info 943  [12:13:54.230] Search path: d:/Github/TypeScript/src/compiler
Info 944  [12:13:54.230] For info: d:/Github/TypeScript/src/compiler/checker.ts :: Config file name: d:/Github/TypeScript/src/compiler/tsconfig.json
Info 945  [12:13:54.230] Search path: d:/Github/TypeScript/src/compiler
Info 946  [12:13:54.230] For info: d:/Github/TypeScript/src/compiler/checker.ts :: Config file name: d:/Github/TypeScript/src/compiler/tsconfig.json
Info 947  [12:13:54.230] Search path: d:/Github/TypeScript/src/compiler
Info 948  [12:13:54.230] For info: d:/Github/TypeScript/src/compiler/checker.ts :: Config file name: d:/Github/TypeScript/src/compiler/tsconfig.json
Perf 949  [12:13:54.230] 40::navto: elapsed time (in milliseconds) 1793.8614

It's possible this is an (un)intended outcome of the multi-project symbol search released with 3.9.

Metadata

Metadata

Assignees

Labels

Domain: PerformanceReports of unusually slow behaviorDomain: Symbol NavigationRelates to go-to-definition, find-all-references, highlighting/occurrences.Fix AvailableA PR has been opened for this issueNeeds InvestigationThis issue needs a team member to investigate its status.Scenario: Monorepos & Cross-Project ReferencesRelates to composite projects (a.k.a references between "medium sized projects")

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions