Skip to content

[lldb] Cherry pick high firing scoped timer removals #4063

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 2 commits into from
Mar 12, 2022

Conversation

kastiglione
Copy link

Cherry pick two scoped timer updates: D121480 & D121226.

Removes the scoped timer from Target::ReadMemoryFromFileCache and moves the scoped timer from Module::FindTypes into SymbolFileDWARFDebugMap.

`ReadMemoryFromFileCache` can be called at a high rate, and has fast execution.
Signposts for high rate & brief duration can have a negative impact on tracing;
emitting a high volume signposts can lead to blocking, affecting performance,
and total volume makes human review of the trace harder because of the noise.

Differential Revision: https://reviews.llvm.org/D121226

(cherry picked from commit 94bda3a)
@kastiglione
Copy link
Author

@swift-ci test

@kastiglione kastiglione merged commit 14e8c9c into stable/20211026 Mar 12, 2022
@kastiglione kastiglione deleted the lldb-remove-scoped-timers branch March 12, 2022 02:15
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