LiteiDE slowed down, slows down linux
What version of LiteIDE are you using (LiteIDE About - Version and Build Qt Version)?
x38, 5.15.5
What version of Go are you using (go version)?
go1.18.4 linux/amd64
What operating system and processor architecture are you using(go env)?
GO111MODULE="auto" GOARCH="amd64" GOBIN="" GOCACHE="/home/someuser/.cache/go-build" GOENV="/home/someuser/.config/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/home/someuser/go/pkg/mod" GOOS="linux" GOPATH="/home/someuser/go" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/lib/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64" GOVCS="" GOVERSION="go1.18.4" GCCGO="gccgo" GOAMD64="v1" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="" GOWORK="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2271925332=/tmp/go-build -gno-record-gcc-switches"
What did you do?
Upgraded to a recent version, because saving a file couldn't format new generics syntax
Since the upgrade, my LiteIDE slowed down a lot, even it slows down my system. It's a low-end laptop with 16GB ram, but it was working fine before the upgrade. I don't use debugging, just the "editor". Generally I blame gocode and gotools running continuously in the background, showing up in top with a lot of CPU and RAM usage. Maybe disk usage too.
What did you expect to see?
Just run fine.
What did you see instead?
Totally slows down my linux.
I tried x36.2 with latest gocode, and it looks like working fine. gotools doesn't seem to run continuously, and gocode is using much less CPU, RAM, so it doesn't slow down the system.
It looks okay with x38.3