Skip to content
Snippets Groups Projects
Commit d8d9d61b authored by Brett Wilson's avatar Brett Wilson Committed by CQ bot account: commit-bot@chromium.org
Browse files

[debugger] Improve indexing performance.

Performance improves by ~7% by optimizing allocation of vectors and strings
iin module_symbol_index and module_symbol_index_node before doing the indexing.

Performance improves by ~15% by optimizing the allocation of the "seen_attrs"
vector in the DwarfDieDecoder.

This was measured by running the normall-commented-out test
ModuleSymbolIndex.BenchmarkIndexing and giving it an ELF binary of a fully
symbolized release build of Chrome.

There should be no functional change.

Change-Id: I107a3d651ac05e9b2959da88a06e463173eae199
parent 7ccbb8f8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment