Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typing has gotten very slow, probably due to large files #53859

Closed
crucialfelix opened this issue Jul 9, 2018 · 2 comments
Closed

Typing has gotten very slow, probably due to large files #53859

crucialfelix opened this issue Jul 9, 2018 · 2 comments
Labels
info-needed Issue requires more information from poster

Comments

@crucialfelix
Copy link

crucialfelix commented Jul 9, 2018

Issue Type: Performance Issue

There is a folder with many mp3 audio files. This is probably what is causing the slow down. But the files are not being changed, not loaded into any editor. They are just sitting there. I can't think why

[note: it wasn't the files at all]

It's normal (fast) when disabling extensions. It is definitely some extension, but we need some way to quickly identify which one it is. Some performance analysis mode like Atom timecop but for runtime analysis.

VS Code version: Code 1.25.0 (0f080e5, 2018-07-05T13:02:28.333Z)
OS version: Darwin x64 17.4.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2900)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
video_decode: enabled
video_encode: enabled
vpx_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 16.00GB (0.71GB free)
Process Argv /Applications/Visual Studio Code.app/Contents/MacOS/Electron ./
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
   27	   131	  3255	code main
    5	   197	  3260	   gpu-process
    0	   229	  3261	   window (48.csv — textin)
    0	   147	  3262	     extensionHost
    0	    82	  3274	       electron_node htmlServerMain.js 
    0	    49	  3278	       electron_node jsonServerMain.js 
    0	    49	  3265	     watcherService
    0	    49	  3270	     searchService
    4	    98	  3266	   shared-process
   12	   639	  3419	   window (sites/crucial-systems/templates/Artist.js — matterminds)
    0	   262	  3420	     extensionHost
    0	   131	  3435	       electron_node jsonServerMain.js 
    0	    82	  3475	       electron_node eslintServer.js 
    0	   246	  3479	       electron_node electronForkStart.js tsserver.js 
    0	    66	  3489	         electron_node typingsInstaller.js tsserver.js typesMap.js 
    0	    49	  3480	       electron_node tslintServer.js 
    0	    49	  3421	     watcherService
    0	    49	  3425	     searchService
    0	    33	  3705	     terminal
    0	     0	  3706	       /bin/zsh -l
   79	    98	  4436	   window (Issue Reporter)
    0	     0	  4437	   /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
Workspace Info
|  Window (sites/crucial-systems/templates/Artist.js — matterminds)
|  Window (48.csv — textin)
|    Folder (textin): 1 files
|      File types: csv(1)
|      Conf files:
|    Folder (matterminds): 5698 files
|      File types: md(1585) yaml(1268) mp3(642) json(597) jpg(587) js(374)
|                  JPG(222) scss(168) DS_Store(140) png(43)
|      Conf files: package.json(1) tsconfig.json(1) settings.json(1);
Extensions (50)
Extension Author (truncated) Version
clipboard-history Anj 1.0.7
template-generator-vscode Den 0.4.1
EditorConfig Edi 0.12.4
vscode-docker Pet 0.0.27
lorem-ipsum Tyr 1.2.0
project-manager ale 8.0.0
vscode-color ans 0.4.5
django-html bib 1.2.0
django-snippets bib 1.1.0
vscode-opennewinstance chr 0.0.4
npm-intellisense chr 1.3.0
path-intellisense chr 1.4.2
bracket-pair-colorizer Coe 1.0.59
transformer dak 1.6.0
vscode-eslint dba 1.4.12
jupyter don 1.1.4
python-extension-pack don 1.0.1
xml Dot 2.3.1
gitlens eam 8.4.1
tslint eg2 1.0.33
vscode-npm-script eg2 0.3.5
prettier-vscode esb 1.5.0
vscode-open-in-npm fab 1.0.1
simple-new-file fay 0.1.0
gc-excelviewer Gra 2.1.24
vscode-react-typescript inf 1.0.17
hungry-delete jas 1.5.0
nbpreviewer jit 1.0.0
auto-comment-blocks kev 1.0.1
graphql-for-vscode kum 1.12.0
node-module-intellisense lei 1.5.0
restructuredtext lex 65.0.0
MagicPython mag 1.0.12
markdown-shortcuts mdi 0.8.1
rainbow-csv mec 0.4.2
dotenv mik 1.0.1
vscode-todo-parser min 1.9.1
python ms- 2018.6.0
autodocstring njp 0.2.1
typescript-hero rbb 2.3.2
vscode-yaml red 0.0.13
preview-vscode sea 1.4.2
git-merger sha 0.4.1
bash-beautify sha 0.1.1
vscode-fileutils sle 2.10.3
vs-code-node-require tgr 1.2.7
vim vsc 0.14.2
jinja who 0.0.8
markdown-pdf yza 1.2.0
markdown-all-in-one yzh 1.5.1

(7 theme extensions excluded)

@vscodebot vscodebot bot added the new release label Jul 9, 2018
@crucialfelix crucialfelix changed the title Typing has gotten very slow Typing has gotten very slow, probably due to large files Jul 9, 2018
@jrieken
Copy link
Member

jrieken commented Jul 9, 2018

Please use this guide to provide more information: https://github.com/Microsoft/vscode/wiki/Performance-Issues. Thanks.

@jrieken jrieken added the info-needed Issue requires more information from poster label Jul 9, 2018
@crucialfelix
Copy link
Author

Thanks that was exactly the type of profiling I was looking for. Will use that the next time.

I did use developer tools for a bit and I did isolate it:

  "vim.statusBarColorControl": false,

Closing, see VSCodeVim/Vim#2166 and VSCodeVim/Vim#2124

@vscodebot vscodebot bot locked and limited conversation to collaborators Aug 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants