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
which cuts the time for updateGraphWorker in half. However there are still some GCs going on and a lot of time is now spent in verifyCompilerOptions / getNormalizedPathComponents.
π Actual behavior
Takes 300ms to update on key stroke
π Expected behavior
Adding a new line should be even in large project only cost a couple of ms :-)
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered:
π Search Terms
UpdateProjectIfDirty language server slow
π Version & Regression Information
β― Playground Link
No response
π» Code
Steps to reproduce:
_ignoreEventForUpdateRunningTasksCount
Observe:
updateGraphWorker
takes roughly 300ms on my machineI took a performance trace and a lot of time is spent in GC and
getNormalizedAbsolutePath
. I added a simply unbound cache to the method likewhich cuts the time for
updateGraphWorker
in half. However there are still some GCs going on and a lot of time is now spent inverifyCompilerOptions
/getNormalizedPathComponents
.π Actual behavior
Takes 300ms to update on key stroke
π Expected behavior
Adding a new line should be even in large project only cost a couple of ms :-)
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: