This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Removed scoped timer from ReadMemoryFromFileCache
ClosedPublic

Authored by kastiglione on Mar 8 2022, 9:12 AM.

Details

Summary

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.

Diff Detail

Event Timeline

kastiglione created this revision.Mar 8 2022, 9:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 8 2022, 9:12 AM
kastiglione requested review of this revision.Mar 8 2022, 9:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 8 2022, 9:12 AM
JDevlieghere accepted this revision.Mar 8 2022, 1:18 PM

LGTM. These are not meant to be on hot code paths.

This revision is now accepted and ready to land.Mar 8 2022, 1:18 PM
aprantl accepted this revision.Mar 8 2022, 5:44 PM
kastiglione closed this revision.Mar 11 2022, 12:43 PM
This comment was removed by kastiglione.
kastiglione reopened this revision.Mar 11 2022, 12:44 PM

Ignore previous comment, wrong diff.

This revision is now accepted and ready to land.Mar 11 2022, 12:44 PM