code-server startup and load very slow #6596
-
Hello! I successfully launched code-server in Ubuntu22.04 (virtual-machine), but the startup process was very slow (took about 2 minutes), and the resource loading on the page was also very slow.
It doesn't seem to be a memory issue. How can I speed up the page loading?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
It looks like code-server is reaching 100% usage of the CPU. Does this mean that my CPU performance is a bottleneck? |
Beta Was this translation helpful? Give feedback.
-
Development can be pretty resource-intensive, but CPU usage should only go up while it is compiling the first time. Do you need dev mode or can you run an optimized build instead? |
Beta Was this translation helpful? Give feedback.
Unfortunately dev mode loads thousands of files in sequence due to how Microsoft architectured it so the slow load is unavoidable. A complete refactor upstream would be ideal.