Skip to content

Emit signposts for request handling #951

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

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Oct 27, 2023

This allows you to trace sourcekit-lsp in Instruments to get a feeling for how long requests take to be handled. I’m not sure how useful this will be in practice but we can’t really know until we have it in a build that we see an issue with, so I’d propose we put it in and if we never use it in the next year or two, we can rip it back out again.

@ahoppen
Copy link
Member Author

ahoppen commented Oct 27, 2023

@swift-ci Please test

Copy link
Contributor

@hamishknight hamishknight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me

This allows you to trace sourcekit-lsp in Instruments to get a feeling for how long requests take to be handled.
@ahoppen
Copy link
Member Author

ahoppen commented Oct 30, 2023

@swift-ci Please test

@ahoppen
Copy link
Member Author

ahoppen commented Oct 30, 2023

@swift-ci Please test Windows

1 similar comment
@ahoppen
Copy link
Member Author

ahoppen commented Oct 31, 2023

@swift-ci Please test Windows

@ahoppen ahoppen merged commit 33fa4c5 into swiftlang:main Oct 31, 2023
@ahoppen ahoppen deleted the ahoppen/signpost branch October 31, 2023 15:27
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.

3 participants