DEV Community

Ali Alhajji
Ali Alhajji

Posted on

2

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.

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free