Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bug: coder binary starts really slowly on Windows #17717

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

Open
1 task done
spikecurtis opened this issue May 8, 2025 · 0 comments
Open
1 task done

bug: coder binary starts really slowly on Windows #17717

spikecurtis opened this issue May 8, 2025 · 0 comments
Labels
needs-triage Issue that require triage s3 Bugs that confuse, annoy, or are purely cosmetic

Comments

@spikecurtis
Copy link
Contributor

spikecurtis commented May 8, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Running coder on Windows takes a long time, even for what should be an instantaneous result like parsing arguments. I measure it as over 1 second.

This results in a poor user experience: CLI commands are needlessly slow, and things that depend on it, like the IDE extensions or Coder Desktop take a long time to connect to workspaces.

It is unclear why there is this delay, and it appears mainly on Windows. It also isn't just some Go thing, as a minimal "hello world" Go app completes in tens of ms.

Relevant Log Output

C:\Users\micha> Measure-Command { coder something }
Encountered an error running "coder", see "coder --help" for more information
error: unrecognized subcommand "something"

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 1
Milliseconds      : 326
Ticks             : 13266690
TotalDays         : 1.53549652777778E-05
TotalHours        : 0.000368519166666667
TotalMinutes      : 0.02211115
TotalSeconds      : 1.326669
TotalMilliseconds : 1326.669

Expected Behavior

coder should add a negligible (< 100ms) overhead compared with the actual command being run.

Steps to Reproduce

Run a coder command on Windows

Environment

  • Host OS: Windows 11
  • Coder version: Coder v2.20.0-devel+17f8e93d0

Additional Context

No response

@spikecurtis spikecurtis added needs-triage Issue that require triage s3 Bugs that confuse, annoy, or are purely cosmetic labels May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Issue that require triage s3 Bugs that confuse, annoy, or are purely cosmetic
Projects
None yet
Development

No branches or pull requests

1 participant