This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Remove scoped timer from high firing and fast running ExtractUnitDIENoDwoIfNeeded
ClosedPublic

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

Details

Summary

Profiles show that DWARFUnit::ExtractUnitDIENoDwoIfNeeded is both high firing (tens of thousands of calls) and fast running (15 µ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:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 29 2022, 4:17 PM
kastiglione requested review of this revision.Sep 29 2022, 4:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 29 2022, 4:17 PM
kastiglione edited the summary of this revision. (Show Details)Sep 30 2022, 9:00 AM
aprantl accepted this revision.Sep 30 2022, 5:31 PM

Yeah, it does not look like there would be a lot of time spent in here.

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