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

Saving a file takes Insance amount of time (never saves). #102956

Closed
vickylance opened this issue Jul 20, 2020 · 4 comments
Closed

Saving a file takes Insance amount of time (never saves). #102956

vickylance opened this issue Jul 20, 2020 · 4 comments
Assignees
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)

Comments

@vickylance
Copy link

vickylance commented Jul 20, 2020

Issue Type: Performance Issue

I use Go Extension and I have a huge Go lang project repo ~1500+ files I think. Any time I modify a file and save it I see this popup with this text "Saving 'filename.go': Getting code actions from "Go"" and its just loads indefinitely to save the file but it never saves the file

VS Code version: Code 1.47.2 (17299e4, 2020-07-15T18:18:50.054Z)
OS version: Darwin x64 18.7.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) 1, 2, 2
Memory (System) 16.00GB (0.02GB free)
Process Argv .
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    2	   131	  1632	code main
   15	    82	  1678	   gpu-process
    0	    33	  1699	   utility
    0	    98	  1718	   shared-process
    0	     0	  5800	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
   18	   557	  2889	   window (insurance_service.go — wealth-api)
    0	   492	  2894	     extensionHost
    0	    82	  2902	       electron_node serverMain.js 
    0	    82	  2904	       electron_node server.js 
    0	   279	  2906	       electron_node server.js 
    0	  1163	  2965	       /Users/vickylance/go/bin/gopls -mode=stdio
    0	    16	  5776	         go list -e -json -compiled=true -test=true -export=false -deps=true -find=false -- /Users/vickylance/go/src/api/.gopath/pkg/mod/gopkg.in/goracle.v2@v2.24.1/conn_test.go
    0	     0	  5808	         (go)
    0	    66	  4671	       /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app/Contents/MacOS/Code Helper (Renderer) /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=2894
    0	    49	  2895	     watcherService
    0	    33	  2903	     searchService
    0	    82	  5763	   window (Issue Reporter)
Workspace Info
|  Window (service.go — api)
|    Folder (api): more than 20349 files
|      File types: go(11847) mod(422) md(311) lock(272) s(263) dat(172)
|                  json(166) zip(153) golden(153) gitignore(117)
|      Conf files: makefile(27) package.json(3) launch.json(2) tasks.json(2)
|                  tsconfig.json(2) tslint.json(2) gulp.js(1)
|      Launch Configs: go;
Extensions (27)
Extension Author (truncated) Version
html-snippets abu 0.2.1
npm-intellisense chr 1.3.0
path-intellisense chr 2.2.1
bracket-pair-colorizer-2 Coe 0.2.0
vscode-eslint dba 2.1.8
es7-react-js-snippets dsz 2.8.2
gitlens eam 10.2.2
prettier-vscode esb 5.1.3
vscode-go-test-adapter eth 0.1.3
vscode-jest-runner fir 0.4.22
auto-close-tag for 0.5.8
auto-rename-tag for 0.1.4
go gol 0.15.1
vscode-test-explorer hbe 2.19.1
vscode-import-formatter hen 0.1.8
vscode-styled-components jpo 0.0.29
vscode-colorize kam 0.8.17
vscode-react-native msj 0.16.1
indent-rainbow ode 7.4.0
material-icon-theme PKi 4.2.0
gotestexplorer pre 0.1.11
vscode-yaml red 0.9.1
partial-diff ryu 1.4.1
code-spell-checker str 1.9.0
vscode-stylelint sty 0.84.0
errorlens use 3.1.1
highlight-matching-tag vin 0.9.9

(1 theme extensions excluded)

@ronilaukkarinen
Copy link

Getting the same when saving SCSS... have been monitoring logs and disabled extensions but have not figured out what's causing this. This problem did not occur before the two of the latest updates.

Version: 1.47.2
Commit: 17299e4
Date: 2020-07-15T18:18:50.054Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.6.0

Screenshot

@vickylance
Copy link
Author

Anyone any update on this?

@heemoe
Copy link

heemoe commented Aug 6, 2020

related issues
microsoft/vscode-eslint#999 (comment)

@jrieken
Copy link
Member

jrieken commented Aug 10, 2020

Getting code actions from "Go"

⬆️ It's likely the go extension and that you have configured to run code actions before saving. So, please follow up with the go extension authors.

@jrieken jrieken closed this as completed Aug 10, 2020
@jrieken jrieken added the *question Issue represents a question, should be posted to StackOverflow (VS Code) label Aug 10, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Sep 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)
Projects
None yet
Development

No branches or pull requests

5 participants