This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Remove scoped timer from high firing and fast running SymbolFileDWARF::FindFunctions
ClosedPublic

Authored by kastiglione on Sep 29 2022, 4:34 PM.

Details

Summary

Profiles show that SymbolFileDWARF::FindFunctions is both high firing (many thousands of calls) and fast running (35 µs mean).

Timers like this are noise and load for profiling systems, and can be removed.

rdar://100326595

Diff Detail

Event Timeline

kastiglione created this revision.Sep 29 2022, 4:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 29 2022, 4:34 PM
kastiglione requested review of this revision.Sep 29 2022, 4:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 29 2022, 4:34 PM
kastiglione edited the summary of this revision. (Show Details)Sep 30 2022, 9:00 AM
aprantl accepted this revision.Sep 30 2022, 5:21 PM

Probably because it just queries m_index.

Thanks!

This revision is now accepted and ready to land.Sep 30 2022, 5:21 PM