Skip to content

cmd/compile: performance regression in goawk #57563

@mdempsky

Description

@mdempsky

As reported at https://groups.google.com/g/golang-dev/c/8blU7CnuhZ4/m/d21xuN8hAQAJ, goawk sees a performance slowdown with 1.20 previews.

@randall77 identified that the likely cause is isBigFunc not liking the extra IR generated for a, b = f() style multi-value assignments.

We have logic in the inliner's heuristics already to account for this. I think we just need to repeat the logic in isBigFunc.

Metadata

Metadata

Assignees

Labels

FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.compiler/runtimeIssues related to the Go compiler and/or runtime.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions