question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Significant lag and performance degradation in VSCode with Volar on

See original GitHub issue

Issue Type: Bug

This issue is a recent one, perhaps related to the recent update?

Extension version: 0.38.9 VS Code version: Code 1.69.1 (b06ae3b2d2dbfe28bca3134cc6be65935cdfea6a, 2022-07-12T08:22:10.822Z) OS version: Darwin arm64 21.5.0 Restricted Mode: No

System Info
Item Value
CPUs Apple M1 Pro (10 x 24)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 8, 10, 10
Memory (System) 16.00GB (0.09GB free)
Process Argv –crash-reporter-id 2999e9bf-ef35-4154-bed3-74f44259cdaf
Screen Reader yes
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
pylanb8912:30529769
vsclangdf:30486550
841h4636:30531698

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:7
  • Comments:40 (13 by maintainers)

github_iconTop GitHub Comments

14reactions
johnsoncodehkcommented, Sep 5, 2022

For peoples who still has performance issue with latest version, you can try:

  1. Disable javascript.suggest.autoImports and typescript.suggest.autoImports in workspace settings.
  2. Try enable volar.vueserver.useSecondServer in workspace settings for better performance, or disable it for less memory usage.
  3. Delete node_modules and check did problems gone or not. If yes, delete package.json dependencies / devDependencies one by one to see which package lead to problems. (If this is the reason, the package usually has lot of .d.ts files.)
  4. Try Takeover mode.
  5. (Advanced) Investigate (Performance Tracing)[https://github.com/microsoft/TypeScript-wiki/blob/main/Performance-Tracing.md] use vue-tsc.

Close this issue because do not have anymore helpful information, if you can confirm the performance from plugin, please open a new issue with append repro case or profiling record.

4reactions
yanbowecommented, Jul 25, 2022

It’s too slow to use

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is Your VS Code Extension Slow? Here's How to Speed it Up!
One possible cause is the number of files or the size of the extension. Some extensions have so much functionality in them that...
Read more >
Here's How to Make VSCode Faster
Are extensions causing the poor performance? We all love extensions. They're what make VS Code so great. The possibilities are endless.
Read more >
VS Code Performance – How to Optimize Visual Studio Code ...
VS Code has trouble with GPU (graphics processing unit) hardware acceleration on some systems. You can see if this is the case by...
Read more >
تويتر \ Tweet - Twitter
Significant lag and performance degradation in VSCode with Volar on · Issue #1615 · johnsoncodehk... Issue Type: Bug This issue is a recent...
Read more >
Volar: The Official Language Feature Extension for VS Code ...
In this lesson, we learn about the official Vue.js language feature extension for VS Code called Volar. Volar gives single file components the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found