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

Add function barrier to orchestrate diagnostics #2834

Merged
merged 3 commits into from
Mar 23, 2024

Conversation

charleskawczynski
Copy link
Member

@charleskawczynski charleskawczynski commented Mar 22, 2024

This PR adds a function barrier to orchestrate diagnostics, in hopes to fix some of the diagnostics allocations (#2831.)

I actually kind of like this better anyway, since it's more clear what variables we're using in closures.

@charleskawczynski charleskawczynski marked this pull request as ready for review March 22, 2024 20:33
@charleskawczynski
Copy link
Member Author

It looks like this had a pretty big impact.

@charleskawczynski
Copy link
Member Author

Before:

Screen Shot 2024-03-22 at 4 53 20 PM

After:

Screen Shot 2024-03-22 at 4 53 56 PM

(this change is from the first commit)

@charleskawczynski charleskawczynski added this pull request to the merge queue Mar 23, 2024
@Sbozzolo
Copy link
Member

Indeed, this is much nicer!

Merged via the queue into main with commit 0def329 Mar 23, 2024
9 of 11 checks passed
@charleskawczynski charleskawczynski deleted the ck/diag_func_bar branch March 23, 2024 04:07
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.

2 participants