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

Potential compile time regression in item-types checking #36947

Closed
Mark-Simulacrum opened this issue Oct 4, 2016 · 3 comments
Closed

Potential compile time regression in item-types checking #36947

Mark-Simulacrum opened this issue Oct 4, 2016 · 3 comments
Assignees
Labels
A-codegen Area: Code generation regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@Mark-Simulacrum
Copy link
Member

Diff: 1cdc0fb...144af3e

Perf.rlo graph, though it basically just shows that item-types checking regressed from 0.67 to 1.006.

cc @brson (the commits in the range are from #36807).

IRC discussion has led @brson to believe that this is a result of memchr changes.

@brson brson added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. A-codegen Area: Code generation A-libs T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. and removed T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 4, 2016
@brson brson self-assigned this Oct 4, 2016
@brson
Copy link
Contributor

brson commented Oct 4, 2016

The only thing in that patch that looks remotely performance sensitive to me is the inlining around memchr. If I accidentally switched the memchr implementation to the slow version, that would also explain it.

@brson
Copy link
Contributor

brson commented Oct 4, 2016

The regression disappeared.

@Mark-Simulacrum
Copy link
Member Author

I guess this can then be closed, probably just noise.

@brson brson closed this as completed Oct 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-codegen Area: Code generation regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

2 participants