go-thrust icon indicating copy to clipboard operation
go-thrust copied to clipboard

Severe CPU Overuse

Open miketheprogrammer opened this issue 9 years ago • 2 comments

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 avatar Feb 11 '16 14:02 miketheprogrammer

@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.

tehbilly avatar Feb 29 '16 14:02 tehbilly

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.

miketheprogrammer avatar Mar 09 '16 12:03 miketheprogrammer