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.

SCM shows changes in two unrelated repos at the same time, and scrolling is VERY slow

See original GitHub issue

Issue Type: Performance Issue

In the last couple nightlies the SCM become unusable. it’s very very slow when scrolling, and when refreshing a repo, it will show it actually refreshing in two different repos at the same time, even changing the name of the branch on unrelated repo, causing serious confusing.

I could also not run the regular updater and had to download the nightly and update manually

o load source map: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/4fbe0344a0cedaf2a04edef728c9a3f27777cc6c/core/vs/workbench/workbench.desktop.main.js.map: Load canceled due to load timeout
workbench.desktop.main.js:69 [72e] potential listener LEAK detected, having 175 listeners already. MOST frequent listener (1):
check @ workbench.desktop.main.js:69
_event._event @ workbench.desktop.main.js:69
r @ workbench.desktop.main.js:679
_event._event @ workbench.desktop.main.js:69
b @ workbench.desktop.main.js:1197
o @ workbench.desktop.main.js:1197
renderElement @ workbench.desktop.main.js:2408
renderElement @ workbench.desktop.main.js:185
renderElement @ workbench.desktop.main.js:184
renderElement @ workbench.desktop.main.js:152
insertItemInDOM @ workbench.desktop.main.js:134
render @ workbench.desktop.main.js:134
onScroll @ workbench.desktop.main.js:134
fire @ workbench.desktop.main.js:69
(anonymous) @ workbench.desktop.main.js:130
fire @ workbench.desktop.main.js:69
_setState @ workbench.desktop.main.js:69
setScrollPositionNow @ workbench.desktop.main.js:69
_onMouseWheel @ workbench.desktop.main.js:130
S @ workbench.desktop.main.js:130
workbench.desktop.main.js:69     at Object.r [as onFirstListenerAdd] (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:679:9945)
    at Bi._event._event [as onDidChange] (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:69:826)
    at b (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1197:6984)
    at o (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1197:7082)
    at ol.renderElement (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2408:7940)
    at E.renderElement (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:185:7484)
    at S.renderElement (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:184:30566)
    at H.renderElement (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:152:1753)
    at p.insertItemInDOM (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:134:18574)
    at p.render (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:134:17629)
    at p.onScroll (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:134:23686)
    at l.fire (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:69:1732)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:130:16143
    at l.fire (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:69:1712)
    at D._setState (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:69:52342)
    at D.setScrollPositionNow (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:69:50769)
    at s._onMouseWheel (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:130:21384)
    at HTMLDivElement.S (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:130:20016)
check @ workbench.desktop.main.js:69
_event._event @ workbench.desktop.main.js:69
r @ workbench.desktop.main.js:679
_event._event @ workbench.desktop.main.js:69
b @ workbench.desktop.main.js:1197
o @ workbench.desktop.main.js:1197
renderElement @ workbench.desktop.main.js:2408
renderElement @ workbench.desktop.main.js:185
renderElement @ workbench.desktop.main.js:184
renderElement @ workbench.desktop.main.js:152
insertItemInDOM @ workbench.desktop.main.js:134
render @ workbench.desktop.main.js:134
onScroll @ workbench.desktop.main.js:134
fire @ workbench.desktop.main.js:69
(anonymous) @ workbench.desktop.main.js:130
fire @ workbench.desktop.main.js:69
_setState @ workbench.desktop.main.js:69
setScrollPositionNow @ workbench.desktop.main.js:69
_onMouseWheel @ workbench.desktop.main.js:130
S @ workbench.desktop.main.js:130
workbench.desktop.main.js:603 
Version: 1.61.0-insider (Universal)
Commit: 4fbe0344a0cedaf2a04edef728c9a3f27777cc6c
Date: 2021-09-29T05:28:54.500Z
Electron: 13.5.0
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 20.6.0

VS Code version: Code - Insiders 1.61.0-insider (Universal) (4fbe0344a0cedaf2a04edef728c9a3f27777cc6c, 2021-09-29T05:28:54.500Z) OS version: Darwin x64 20.6.0 Restricted Mode: No

System Info
Item Value
CPUs Intel® Core™ i7-8850H CPU @ 2.60GHz (12 x 2600)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 3, 3, 3
Memory (System) 16.00GB (0.24GB free)
Process Argv –disable-extensions
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
   19	   164	 68584	code-insiders main
    1	    82	 68585	   gpu-process
    0	    33	 68587	   utility
    6	  1737	 68589	   window (Version: 1.61.0-insider (Universal) • Untitled-2 — Untitled (Workspace))
    0	   147	 68591	     extensionHost
    0	    33	 68747	       /Applications/Visual Studio Code - Insiders.app/Contents/Frameworks/Code - Insiders Helper (Renderer).app/Contents/MacOS/Code - Insiders Helper (Renderer) /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=68591
    0	    33	 68592	     watcherService
    0	   131	 68590	   shared-process
    0	    33	 68593	     ptyHost
    0	     0	 72645	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	   311	 69146	   window (undefined)
    0	    66	 72641	   window (Issue Reporter)
Workspace Info
|  Window (Version: 1.61.0-insider (Universal) • Untitled-2 — Untitled (Workspace))
|    Folder (DS9): 0 files
|      File types:
|      Conf files:
|    Folder (Data): 0 files
|      File types:
|      Conf files:
|    Folder (cygnus): 0 files
|      File types:
|      Conf files:
|    Folder (githubcom): 1 files
|      File types:
|      Conf files:
|    Folder (gitlab): 98 files
|      File types: tf(38) tfvars(29) gitignore(2) md(2) sample(2) yml(1)
|                  hcl(1)
|      Conf files: makefile(2)
|    Folder (CM): 580 files
|      File types: yml(151) template(85) sh(81) yaml(61) json(20) md(11)
|                  rb(11) pem(9) properties(7) crt(7)
|      Conf files:
|    Folder (azuredevops): 332 files
|      File types: tf(73) md(26) yml(24) png(23) gitattributes(18) tfvars(18)
|                  gitignore(17) terraform-version(13) ps1(10) sh(5)
|      Conf files: makefile(13)
|    Folder (DI2Infrastructure): 4221 files
|      File types: yaml(3234) rb(419) json(182) sh(68) erb(37) md(15)
|                  ctmpl(15) gitignore(14) gitattributes(9)
|                  properties(5)
|      Conf files:
|    Folder (TF-Modules): 659 files
|      File types: tf(230) md(52) yaml(31) tpl(30) terraform-version(28)
|                  gitignore(18) sh(7) json(7) tfvars(5) tf_(2)
|      Conf files: makefile(43) settings.json(1)
|    Folder (datagenic): 727 files
|      File types: xml(132) txt(57) java(54) cli(33) yml(30) gitignore(25)
|                  properties(19) sh(10) tf(8) jar(7)
|      Conf files: makefile(1)
|    Folder (SRE): 11701 files
|      File types: yaml(2729) ctmpl(2596) tf(1827) tfvars(1685)
|                  terraform-version(367) yml(166) xml(118) pem(117) json(93)
|                  sh(81)
|      Conf files: makefile(8)
|    Folder (terraform-provider): 7407 files
|      File types: go(4875) md(221) tf(182) markdown(179) yml(95) mod(94)
|                  s(93) sh(59) sum(55) gitignore(50)
|      Conf files: makefile(22) launch.json(1) settings.json(1);
Extensions disabled

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
lszomorucommented, Oct 25, 2021

Thanks @FernandoMiguel! Will take a look at this issue next milestone.

0reactions
FernandoMiguelcommented, Dec 21, 2022

@lszomoru here’s a video recording of the issue initially with the repos closed, it performs ok. once you expand them all, it slows a bit , and gets slower as you scroll down. once there are repos with uncomitted files, it becomes even far worse.

https://user-images.githubusercontent.com/168366/208913648-061edd73-88f1-4736-b7ed-2d74da1324fe.mov

HTH

Read more comments on GitHub >

github_iconTop Results From Across the Web

Source Tree is EXTREMELY slow for any action
The issue affects both Git and Mercurial repositories because it is most likely the in-built diff functionality that is causing the lock ups...
Read more >
Plastic SCM version control · GUI guide
This is a complete guide about how to use Plastic SCM version control. ... The Workspace Explorer shows both items (files and directories...
Read more >
How to combine two unrelated git repositories, preserving ...
Goal. My goal is to "zipper up" the overlapping timestamps so that the two repos look like a single, unbroken history: REPO A...
Read more >
Multi-repo Support in Visual Studio - Microsoft Developer Blogs
The easiest way to enable multi-repo support is to use CTRL+Q, type “preview” and open the preview features pane. Scroll to “Enable multi-repo...
Read more >
git-clean Documentation - Git
Cleans the working tree by recursively removing files that are not under version control, starting from the current directory. Normally, only files unknown...
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