Skip to content

"Extension causes high cpu load" at startup #1961

Closed

Description

@sephirothtbm
  • Issue Type: Performance
  • Extension Name: dart-code
  • Extension Version: 3.3.0
  • OS Version: Darwin x64 17.7.0
  • VSCode version: 1.37.1

⚠️ Make sure to attach this file from your home-directory:
⚠️/Users/sephirothtbm/Dart-Code.dart-code-unresponsive.cpuprofile.txt

Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

Activity

  1. added
    awaiting infoRequires more information from the customer to progress
    on Sep 3, 2019
  2. DanTup commented on Sep 3, 2019

    @DanTup
    Member

    Is it possible you can attach this file for me to take a look? Thanks!

    ⚠️ Make sure to attach this file from your home-directory:
    ⚠️/Users/sephirothtbm/Dart-Code.dart-code-unresponsive.cpuprofile.txt

  3. sephirothtbm commented on Sep 5, 2019

    @sephirothtbm
    Author

    Sure, sorry for not attaching it before, and Thanks.

    Dart-Code.dart-code-unresponsive.cpuprofile.txt

  4. DanTup commented on Sep 9, 2019

    @DanTup
    Member

    Thanks!

    Was the folder you had open when you got this quite large? And what sort of disk is it on (spinning HDD or SSD?).

    The message from VS Code is very misleading, it isn't high CPU but rather just blocking the thread (on synchronous file system access). I've tried making this async in the past but it made the whole thing slower (though because it didn't block the thread, it would eliminate this message). In this case it was only for prompting to run pub get though, so maybe having it take a little longer in the background wouldn't be a big deal.

  5. added this to the v3.5.0 milestone on Sep 9, 2019
  6. sephirothtbm commented on Sep 11, 2019

    @sephirothtbm
    Author

    Hi,

    No, the folder was quite small, actually I'm learning flutter so the folder was the very basic tutorial in the site, my disk is an HDD.

  7. DanTup commented on Sep 17, 2019

    @DanTup
    Member

    Thanks for the info, I'll see if I can make some improvements.

    Do you see this message frequently?

  8. removed
    awaiting infoRequires more information from the customer to progress
    on Sep 17, 2019
  9. changed the title [-]Extension causes high cpu load[/-] [+]"Extension causes high cpu load" at startup[/+] on Sep 18, 2019
  10. added 2 commits that reference this issue on Sep 18, 2019
    e8f1d5b
    6fd1cfc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions