Skip to content

Make symbol_by_id a salsa query#15080

Closed
MichaReiser wants to merge 1 commit intomainfrom
micha/symbol_by_id_query
Closed

Make symbol_by_id a salsa query#15080
MichaReiser wants to merge 1 commit intomainfrom
micha/symbol_by_id_query

Conversation

@MichaReiser
Copy link
Member

Summary

I'm just curious what this does to performance.

Test Plan

@MichaReiser MichaReiser added the ty Multi-file analysis & type inference label Dec 20, 2024
@github-actions
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

ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants