Skip to content

Perf: registerTerminalActions is taking quite some time #170827

@bpasero

Description

@bpasero

On startup I notice how many terminal actions are registered:

register-terminal-actions

I am not entirely sure there is something to do about it, but thought I would file it anyway. Not surprisingly given the amount of calls all registerAction2 contributes quite significantly to the startup:

image

But maybe the terminal actions can only be registered after editor has restored?

//cc @jrieken

The following profile:

  • was taken on Windows
  • with a non-minified / non-mangled build to aid reading
  • has the ellapsed event at 6755ms

prof-QIBV4was.main.zip

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions