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

Make symbol_by_id a salsa query #15080

Closed
wants to merge 1 commit into from
Closed

Conversation

MichaReiser
Copy link
Member

Summary

I'm just curious what this does to performance.

Test Plan

@MichaReiser MichaReiser added the red-knot Multi-file analysis & type inference label Dec 20, 2024
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@MichaReiser
Copy link
Member Author

@sharkdp this might be an easy enough fix... Should I just land it?

@AlexWaygood
Copy link
Member

I'm just curious what this does to performance.

Looks like a 2% speedup on the incremental benchmark https://codspeed.io/astral-sh/ruff/branches/micha%2Fsymbol_by_id_query

@sharkdp
Copy link
Contributor

sharkdp commented Dec 21, 2024

Thank you @MichaReiser. I included this in #15019

@sharkdp sharkdp closed this Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
red-knot Multi-file analysis & type inference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants