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

vscodium 1.85.2.24019+ extremely slow startup time #1823

Open
PTomalak opened this issue Mar 5, 2024 · 4 comments
Open

vscodium 1.85.2.24019+ extremely slow startup time #1823

PTomalak opened this issue Mar 5, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@PTomalak
Copy link

PTomalak commented Mar 5, 2024

At some point between 1.85.2.24019 and 1.86.2.24053 vscodium got abnormally slow to startup

To Reproduce

  1. Install 1.85.2.24019 or below and run time vscodium --verbose --disable-extensions, CTRL-C when window loaded
  2. Install 1.86.2.24053 or above and run time vscodium --verbose --disable-extensions, CTRL-C when window loaded

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop environment:

  • OS: [Archlinux]
  • Architecture [x64]
  • Kernel [6.7.8-arch1-1 (64bit)]
  • DE: [KDE plasma 5.27.10]
  • QT: [5.15.12]
  • Graphics Platform: [X11]
  • App Manager [AUR]
  • Sandboxed [no]

Additional context
The startup times from past recent versions:
(accurate to +/- 1 second as manually stopped with CTRL+C when everything loads)

1.87.0
________________________________________________________
Executed in   15.67 secs      fish           external
   usr time  351.29 millis    1.21 millis  350.08 millis
   sys time   98.20 millis    0.00 millis   98.20 millis

1.86.2.24054
________________________________________________________
Executed in   14.09 secs      fish           external
   usr time  177.31 millis    1.41 millis  175.90 millis
   sys time   63.84 millis    0.00 millis   63.84 millis

1.86.2.24053
________________________________________________________
Executed in   12.49 secs      fish           external
   usr time  191.11 millis    1.07 millis  190.04 millis
   sys time   49.38 millis    0.41 millis   48.98 millis

1.85.2.24019
________________________________________________________
Executed in    5.45 secs      fish           external
   usr time  153.32 millis  819.00 micros  152.51 millis
   sys time   50.93 millis  320.00 micros   50.61 millis

1.85.0
________________________________________________________
Executed in    4.82 secs      fish           external
   usr time  156.83 millis  936.00 micros  155.89 millis
   sys time   41.22 millis  359.00 micros   40.86 millis

logs from 1.87.0

ek@archY ~/build> time vscodium --verbose --disable-extensions
^C
________________________________________________________
Executed in   15.67 secs      fish           external
   usr time  351.29 millis    1.21 millis  350.08 millis
   sys time   98.20 millis    0.00 millis   98.20 millis

ek@archY ~/build> vscodium -s
Version:          VSCodium 1.87.0 24060 (5695cc889d3d0500fa6c7983468a699185fce828, 2024-02-29T23:06:19.600Z)
OS Version:       Linux x64 6.7.8-arch1-1
CPUs:             13th Gen Intel(R) Core(TM) i7-1355U (12 x 400)
Memory (System):  15.35GB (10.26GB free)
Load (avg):       3, 2, 3
VM:               0%
Screen Reader:    no
Process Argv:     --verbose --disable-extensions
GPU Status:       2d_canvas:                              enabled                                  
                  canvas_oop_rasterization:               disabled_off                             
                  direct_rendering_display_compositor:    disabled_off_ok                          
                  gpu_compositing:                        enabled                                  
                  multiple_raster_threads:                enabled_on                               
                  opengl:                                 enabled_on                               
                  rasterization:                          enabled                                  
                  raw_draw:                               disabled_off_ok                          
                  skia_graphite:                          disabled_off                             
                  video_decode:                           enabled                                  
                  video_encode:                           disabled_software                        
                  vulkan:                                 disabled_off                             
                  webgl:                                  enabled                                  
                  webgl2:                                 enabled                                  
                  webgpu:                                 disabled_off                             
                                                                                                   
CPU %   Mem MB     PID  Process                                                                
    0      173   64063  codium main                                                              
    0       47   64066     zygote                                                                
    0      220   64093       gpu-process
    0       47   64067     zygote
    0        0   64069       zygote
    0      299   64115  window [1] (old.txt - build - VSCodium)
    0       63   64098     utility-network-service
    0      126   64223  extensionHost [1]
    0      126   64233  shared-process
    0       94   64234  fileWatcher [1]
    0       94   64271  ptyHost
    0        0   64293       /usr/bin/fish

Workspace Stats: 
|  Window (old.txt - build - VSCodium)
|    Folder (build): 2677 files
|      File types: json(690) js(226) svg(172) png(133) pak(116) md(76) txt(43)
|                  woff2(40) mp3(40) css(36)
|      Conf files: package.json(188) launch.json(4)

logs from 1.85.0

ek@archY ~/build> time vscodium --verbose --disable-extensions
^C
________________________________________________________
Executed in    4.82 secs      fish           external
   usr time  156.83 millis  936.00 micros  155.89 millis
   sys time   41.22 millis  359.00 micros   40.86 millis

ek@archY ~/build> vscodium -s
Version:          VSCodium 1.85.0 23343 (00c993f9b9a2a07730235274df02f05bd76575f7, 2023-12-09T23:17:48.814Z)
OS Version:       Linux x64 6.7.8-arch1-1
CPUs:             13th Gen Intel(R) Core(TM) i7-1355U (12 x 1244)
Memory (System):  15.35GB (9.88GB free)
Load (avg):       2, 3, 2
VM:               0%
Screen Reader:    no
Process Argv:     --ms-enable-electron-run-as-node --verbose --disable-extensions
GPU Status:       2d_canvas:                              enabled
                  canvas_oop_rasterization:               disabled_off
                  direct_rendering_display_compositor:    disabled_off_ok
                  gpu_compositing:                        enabled
                  multiple_raster_threads:                enabled_on
                  opengl:                                 enabled_on
                  rasterization:                          enabled
                  raw_draw:                               disabled_off_ok
                  video_decode:                           enabled
                  video_encode:                           disabled_software
                  vulkan:                                 disabled_off
                  webgl:                                  enabled
                  webgl2:                                 enabled
                  webgpu:                                 disabled_off

CPU %   Mem MB     PID  Process
    0      157   39612  codium main
    0       47   39615     zygote
    0      204   39643       gpu-process
    0       47   39616     zygote
    0        0   39618       zygote
    0      236   39669  window [1] (old.txt - build - VSCodium)
    0       63   39649     utility-network-service
    0       79   39728  ptyHost
    0        0   39791       /usr/bin/fish
    0      110   39729  extensionHost [1]
    0      110   39730  shared-process
    0       79   39731  fileWatcher [1]

Workspace Stats: 
|  Window (old.txt - build - VSCodium)
|    Folder (build): 2658 files
|      File types: json(688) js(224) svg(172) png(133) pak(116) md(76) txt(42)
|                  woff2(40) mp3(40) css(36)
|      Conf files: package.json(188) launch.json(4)

Any idea what might have caused it, how to diagnose it further?
Is it specific to my setup or was something introduced across those versions that slows down the startup?

@PTomalak PTomalak added the bug Something isn't working label Mar 5, 2024
@daiyam
Copy link
Member

daiyam commented Mar 5, 2024

Which aur are you using?

@PTomalak
Copy link
Author

PTomalak commented Mar 5, 2024

Which aur are you using?

I tried newest versions of both vscodium-bin and vscodium (using yay), both shared the same long startup delay.
For looking up the performance of the older versions I used modified PKGBUILD of vscodium-bin

@mkmaslov
Copy link

Came here to say that I encounter the same behavior with Arch+Gnome+Wayland.
After the latest update, both native Wayland and XWayland versions display slow startup ( more than 10 sec, while before it loaded instantaneously).
I also have this error in journalctl -b at every startup:

gnome-shell[1148]: value "nan" of type 'gfloat' is invalid or out of range for property 'width' of type 'gfloat'
gnome-shell[1148]: value "nan" of type 'gfloat' is invalid or out of range for property 'width' of type 'gfloat'

@RashadGasimli
Copy link

same here on both of aur and flatpak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants