-
Notifications
You must be signed in to change notification settings - Fork 19k
runtime: slowdown with green tea garbage collector #74923
Copy link
Copy link
Open
Labels
BugReportIssues describing a possible bug in the Go implementation.Issues describing a possible bug in the Go implementation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.compiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.
Milestone
Metadata
Metadata
Assignees
Labels
BugReportIssues describing a possible bug in the Go implementation.Issues describing a possible bug in the Go implementation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.compiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.
Type
Projects
Status
In Progress
Go version
go version go1.25rc3 darwin/arm64
Output of
go envin your module/workspace:What did you do?
Build Hugo in two versions:
Then build this project https://github.com/bep/many-big-json-in-assets with both binaries:
What did you see happen?
I have repeated the above multiple times, and I get consistently build times around 40 seconds with geentea enabled, and around 20 seconds with it disabled.
Note that this has been reported before using rc1, and closed as fixed in #74375 -- but that points at a particular issue with nil checks on Linux.
I have tested the above on my MacBook Pro M1 with 32 GB memory.
What did you expect to see?
I expected the new garbage collector to be more effective, and at least not twice as ineffective, for the above case.