You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
DanTup commentedon Sep 3, 2019
Is it possible you can attach this file for me to take a look? Thanks!
sephirothtbm commentedon Sep 5, 2019
Sure, sorry for not attaching it before, and Thanks.
Dart-Code.dart-code-unresponsive.cpuprofile.txt
DanTup commentedon Sep 9, 2019
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 getthough, so maybe having it take a little longer in the background wouldn't be a big deal.sephirothtbm commentedon Sep 11, 2019
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.
DanTup commentedon Sep 17, 2019
Thanks for the info, I'll see if I can make some improvements.
Do you see this message frequently?
[-]Extension causes high cpu load[/-][+]"Extension causes high cpu load" at startup[/+]Make all scanning for projects async
Make all scanning for projects async