Binaryify / OneDark-Pro

Atom's iconic One Dark theme for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=zhuangtongfa.Material-theme
MIT License
1.5k stars 290 forks source link

Slow response vscode, scroll freeze, slow file navigation #755

Open induratized opened 2 years ago

induratized commented 2 years ago

Issue Type: Bug

Install the extension and open a JS large file ~1000LOC. Now scroll around, Cmd+Click a function to navigate to its declaration, open another such files and navigate around. Everything seems to run quite slow and this is irritating UX.

Extension version: 3.15.2 VS Code version: Code 1.69.2 (3b889b090b5ad5793f524b5d1d39fda662b96a2a, 2022-07-18T16:12:57.074Z) OS version: Darwin x64 21.2.0 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz (4 x 1600)| |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)|19, 19, 16| |Memory (System)|8.00GB (0.69GB free)| |Process Argv|--crash-reporter-id 1b654aa6-c989-4e2c-b14d-a372c2ec3eb5| |Screen Reader|no| |VM|0%|
Binaryify commented 2 years ago

had you test other themes

induratized commented 1 year ago

Other themes are working fine. I used vscode bisect feature to zero down on extensions slowing down navigation. and this beautiful theme was in the list too.

My current active list of themes working fine

image
Binaryify commented 1 year ago

have no idea now, maybe the reason is the big size theme.json, it have 2000+ lines, so many rules might cause performance issue

renwarkurd commented 1 year ago

Slow performance with Emmet.. I have to wait a bit to create from the keyword td