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

[lldb] Add information on swiftmodule load times to statistics dump command #5540

Closed

Conversation

bulbazord
Copy link
Collaborator

Note: I plan on submitting the first commit here to the llvm phabricator for review. I will link it back to this review to explain to upstream reviewers what I am doing and why.

At Meta, we make extensive use of the statistics dump command. One thing we want to track is how long each swiftmodule took to load. We've been using a version of these patches internally for a while and have found them to be useful enough to upstream.

@bulbazord
Copy link
Collaborator Author

@swift-ci please test

@bulbazord
Copy link
Collaborator Author

Upstream portion: https://reviews.llvm.org/D137191

@bulbazord
Copy link
Collaborator Author

@swift-ci please test

Context: I plan on using this change primarily downstream in the apple
fork of llvm to track swift module loading time.
@bulbazord
Copy link
Collaborator Author

@swift-ci please test

@bulbazord
Copy link
Collaborator Author

The first patch has been accepted and landed on llvm.org.

The second patch, specific to swift, still needs review. Not sure who would be best to review it. @adrian-prantl or @kastiglione maybe?

@bulbazord bulbazord closed this May 14, 2024
@bulbazord bulbazord deleted the swift-module-load-times branch May 14, 2024 18:39
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.

None yet

2 participants