go-thrust
go-thrust copied to clipboard
Severe CPU Overuse
A while back I had switched from time.Sleep to runtime.GoSched to lock thread to keep application open. As GoLang has evolved it seems that now results in a huge amount of CPU Churn.
@miketheprogrammer Point out the spots where pprof shows churn, if you can? I'm scheduling some downtime later today to work on some issues, and will take a look at this one asap.
I think i fixed this, must not have actually commented on it @tehbilly btw we should chat soon.
Ill mark this as closed once i review, but pretty sure i fixed it.