Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime: decreasing heap makes performance worse #27545
Hello, I'm trying to mitigate #18155 - trying to remove some persistent buffers, and encountered something that I don't understand.
What version of Go are you using (
Hi @LK4D4. Could you post the output of GODEBUG=gctrace=1 for both benchmark configurations?
I'm particularly wondering about the heap size and how it compares. If the heap is relatively small, there's a known amortization failure (#19839 and #23044) that can make GC more expensive on smaller heaps.