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

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
Author

@swift-ci please test

@bulbazord
Copy link
Author

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

@bulbazord bulbazord force-pushed the swift-module-load-times branch from e5e61ab to ff68bbe Compare November 2, 2022 00:38
@bulbazord
Copy link
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 bulbazord force-pushed the swift-module-load-times branch from ff68bbe to 3bbb050 Compare November 2, 2022 17:48
@bulbazord
Copy link
Author

@swift-ci please test

@bulbazord
Copy link
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?

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.

2 participants