Skip to content

Go to definition takes an unreasonably long time in a blank UWP app #25209

@minestarks

Description

@minestarks
  1. Create a UWP app in Visual Studio 2017 (comes with a 100K line generated winrtrefs.d.ts file)
  2. Type something that references the Windows APIs (I've been typing Windows.Perception.People.HeadPose, but any other type will work) and hit F12

EXPECTED:
Operation completes reasonably quickly (under 10 seconds?)

ACTUAL:
Took over 7 minutes on my machine

This is the offending loop.

The file is massive, but in TypeScript 2.8 the same operation only took a second or two. Go to definition should scale gracefully.

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issueHigh Priority

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions