[lldb] Remove some trivial scoped timers
authorDave Lee <davelee.com@gmail.com>
Mon, 6 Dec 2021 21:04:27 +0000 (13:04 -0800)
committerDave Lee <davelee.com@gmail.com>
Mon, 6 Dec 2021 23:22:28 +0000 (15:22 -0800)
commit13278efd0c95a8b589bbd7dbbf17680a03b6eb77
tree412157a6e0ec3ebd27fe848f75b1aad56ceef2f9
parente4eb6216c2ebeac5203ff9cab8fe96f092d08c0f
[lldb] Remove some trivial scoped timers

While profiling lldb (from swift/llvm-project), these timers were noticed to be short lived and high firing, and so they add noise more than value.

The data points I recorded are:

`FindTypes_Impl`: 49,646 calls, 812ns avg, 40.33ms total
`AppendSymbolIndexesWithName`: 36,229 calls, 913ns avg, 33.09ms total
`FindAllSymbolsWithNameAndType`: 36,229 calls, 1.93µs avg, 70.05ms total
`FindSymbolsWithNameAndType`: 23,263 calls, 3.09µs avg, 71.88ms total

Differential Revision: https://reviews.llvm.org/D115182
lldb/source/Core/Module.cpp
lldb/source/Symbol/Symtab.cpp