Skip to content

Conversation

@jasonlyu123
Copy link
Member

Similar to #2902. The path normalisation and lowercasing can be expensive when there are a lot of files. This replaces the URI normalisation method with a custom function. A 100k times normalisation benchmark on my machine reduces the time from 85ms to 24ms. This also changed a few places to reduce normalisation when unnecessary.

@changeset-bot
Copy link

changeset-bot bot commented Dec 17, 2025

🦋 Changeset detected

Latest commit: e1c10fe

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
svelte-language-server Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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