DEV Community

Ali Alhajji
Ali Alhajji

Posted on

Go is so slow on my machine

I'm having a problem with Go on my machine. Suddenly it became so slow to run (Go run file.go) and build. A simple code takes 5 to 10 seconds to run (and build). I didn't have this problem before.

Does anyone have an idea about what could be the problem?

Top comments (2)

Collapse
 
alialhajji profile image
Ali Alhajji •

Windows 10, 64 bit

Collapse
 
ladydascalie profile image
Benjamin Cable •

How big is your GOPATH, and is this reproducible to more than one project?

If you can reproduce it elsewhere, I would encourage you to first: seek help on the Gophers Slack, and secondly raise an issue on GitHub.