Skip to content

_removePropertiesWithPossibleUserInfo is ~10% of the cost of loading a renderer #138153

@jrieken

Description

@jrieken
  • have a VS Code window
  • start CPU Profiler
  • select reload window
  • stop profiling, show by "Heavy (Bottom Up)"
  • 🐌 there is a single regex which costs ~150ms, ~3-4% of all JavaScript execution, ~10% of the overall renderer startup time

CPU-20211130T143002.cpuprofile.txt

Screen Shot 2021-11-30 at 14 30 32

Metadata

Metadata

Labels

importantIssue identified as high-priorityinsiders-releasedPatch has been released in VS Code Insidersperf-startupverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions