Skip to content

Async import 'windows-process-tree' can load even more lazy #107028

Closed

Description

I see that await import('windows-process-tree') is called very early here:

windowsProcessTree = await import('windows-process-tree');

Even though only used in some method later. Can we please move it where it is being used only to ensure we do not block startup?

Activity

  1. Tyriar commented on Sep 18, 2020

    @Tyriar
    Contributor

    Sure this can move it further down. It will only save ~5ms on Windows and only if the terminal is restored on start up.

  2. added
    terminal
    on Sep 18, 2020
  3. locked and limited conversation to collaborators on Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

debtperf-startupterminal

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions