brianolson
17 days ago
"In select GC-heavy microbenchmarks ... we observed anywhere from a 10–50% reduction in GC CPU costs"
- Yay!
"The Go compiler benchmarks appear to inconsistently show a very slight regression (0.5%)"
- Boo
"Green Tea is available as an experiment at tip-of-tree and is planned as to be available as an opt-in experiment in Go 1.25"
I definitely know some application code that spends 30% of CPU time in GC that needs to try this.
Imustaskforhelp
17 days ago
Regarding "The Go compiler benchmarks appear to inconsistently show a very slight regression (0.5%)"
Let the golang developers "cook", I am pretty sure that they are going to do what would be right for the language.
"The Go compiler benchmarks appear to inconsistently show a very slight regression (0.5%). Given the magnitude and inconsistency of the regression, these benchmarks appear to be rather insensitive to this change. One hypothesis is that the occasional regression may be due to an out-of-date PGO profile, but remains to be investigated."
So they are going to be investigated and definitely a reason why this occurs and how to fix it would also come before you or I would use it in 1.26 (since they are saying it would most likely be shipped in 1.26)(If I remember correctly?) so there is no need to boo I guess.
Great job from the golang team.