loading...

Go is so slow on my machine

alialhajji profile image Ali Alhajji ・1 min read

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?

Discussion

pic
Editor guide
Collapse
artemis profile image
Diane

Which OS are you using ? and which machine/specs ?

Collapse
alialhajji profile image
Ali Alhajji Author

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.