Skip to content

cmd/compile: performance regression in goawk #57563

Closed

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.

Activity

  1. added
    NeedsFixThe path to resolution is known, but the work has not been done.
    on Jan 3, 2023
  2. self-assigned this
    on Jan 3, 2023
  3. gopherbot commented on Jan 3, 2023

    @gopherbot
    Contributor

    Change https://go.dev/cl/460395 mentions this issue: cmd/compile/internal/inline: adjust isBigFunc to recognize unified IR codegen

  4. locked and limited conversation to collaborators on Jan 26, 2024
  5. added a commit that references this issue on Sep 29, 2026
    6f6276c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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