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

perf: set branch weight metadata instead of cold blocks #12

Merged
merged 1 commit into from
Apr 27, 2024

Conversation

DaniPopes
Copy link
Member

No description provided.

@@ -324,20 +340,18 @@ impl<'a> Bytecode<'a> {
self.insts[inst].is_diverging(self.is_eof())
}

// TODO: is it worth it to make this a map?
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is, it gets pretty slow

@DaniPopes DaniPopes changed the title perf: set branch weight metadata instead of cold branches perf: set branch weight metadata instead of cold blocks Apr 27, 2024
@DaniPopes DaniPopes merged commit 4fc9e25 into main Apr 27, 2024
12 checks passed
@DaniPopes DaniPopes deleted the dani/prof-metadata branch April 27, 2024 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant