Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/compile: investigate performance regression vs Go 1.13 #37429

Open
dr2chase opened this issue Feb 24, 2020 · 2 comments
Open

cmd/compile: investigate performance regression vs Go 1.13 #37429

dr2chase opened this issue Feb 24, 2020 · 2 comments
Assignees
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Performance
Milestone

Comments

@dr2chase
Copy link
Contributor

What version of Go are you using (go version)?

go1.14-almost

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

Linux, AMD64, does not have the recent Intel microcode update (does not need it as far as I can tell).

What did you do?

This is a do-not-forget performance note.
Somewhere during 1.14 development, performance of the "bent" benchmark

github.com/ethereum/go-ethereum/common/bitutil
Encoding4KBVerySparse

got worse by about 9% (it varies). According to bisection this was linked to
insertion of a dead code phase in the compiler to improve debugging output but I have not tracked down the exact cause. It could be related to branch alignment, but superficially it "makes no sense".

@dr2chase dr2chase self-assigned this Feb 24, 2020
@dmitshur dmitshur added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Performance labels Feb 25, 2020
@dmitshur
Copy link
Contributor

/cc @aclements @randall77

@dmitshur dmitshur added this to the Go1.15 milestone Feb 25, 2020
@randall77 randall77 modified the milestones: Go1.15, Go1.16 May 21, 2020
@randall77 randall77 modified the milestones: Go1.16, Go1.17 Dec 14, 2020
@ianlancetaylor
Copy link
Contributor

Will we have time to look at this for the 1.17 cycle? Should we move this to the Backlog milestone? Thanks.

@dr2chase dr2chase modified the milestones: Go1.17, Backlog May 24, 2021
@dmitshur dmitshur changed the title cmd/compile: Investigate regression in vs 1.13 cmd/compile: investigate performance regression vs Go 1.13 Jul 25, 2021
@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Performance
Projects
Status: Triage Backlog
Development

No branches or pull requests

5 participants