« All posts

Green Tea Garbage Collector: A New Feature in Go 1.25

The Green Tea garbage collector in Go 1.25 offers up to 40% time savings for certain workloads.

Go 1.25 introduces a new experimental garbage collector called Green Tea, which can be activated with the GOEXPERIMENT=greenteagc setting. This collector reduces garbage collection time by up to 40% for some workloads, while generally saving around 10%. It is already in production at Google, and user feedback is essential for further development.

This synthesis was produced from its source by AI; there is no human editor or manual review step. How we work