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

Investigate startup performance when parsing sourcemap file #827

Open
JohnnyMorganz opened this issue Nov 10, 2024 · 1 comment
Open

Investigate startup performance when parsing sourcemap file #827

JohnnyMorganz opened this issue Nov 10, 2024 · 1 comment
Labels
performance Performance issues with the language server

Comments

@JohnnyMorganz
Copy link
Owner

On startup in my example codebase, it takes 11s to call WorkspaceFolder::setupWithConfiguration, where 8s is the cost to update the sourcemap. We will pay this sourcemap cost whenever the sourcemap changes. We should see if there are any performance gains from sourcemap parsing.

image

@JohnnyMorganz JohnnyMorganz added the performance Performance issues with the language server label Nov 10, 2024
@JohnnyMorganz
Copy link
Owner Author

Seems to mainly come from writePathsToMap

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance issues with the language server
Projects
None yet
Development

No branches or pull requests

1 participant