diff options
author | Reid Kleckner <rnk@google.com> | 2020-05-03 09:29:03 -0700 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2020-05-08 10:23:27 -0700 |
commit | 3b3e28a07cf5482db27581ecf23f6364b912f733 (patch) | |
tree | 36ae9bb5ecd5458cbb06c8a7dfc8dd9577d49003 /lldb/unittests/ScriptInterpreter/Python | |
parent | 8cb86ead77417f889bf32a8f83da299215f78545 (diff) | |
download | llvm-3b3e28a07cf5482db27581ecf23f6364b912f733.zip llvm-3b3e28a07cf5482db27581ecf23f6364b912f733.tar.gz llvm-3b3e28a07cf5482db27581ecf23f6364b912f733.tar.bz2 |
[PDB] Optimize public symbol processing
Reduces time to link PGO instrumented net_unittets.exe by 11% (9.766s ->
8.672s, best of three). Reduces peak memory by 65.7MB (2142.71MB ->
2076.95MB).
Use a more compact struct, BulkPublic, for faster sorting. Sort in
parallel. Construct the hash buckets in parallel. Try to use one vector
to hold all the publics instead of copying them from one to another.
Allocate all the memory needed to serialize publics up front, and then
serialize them in place in parallel.
Reviewed By: aganea, hans
Differential Revision: https://reviews.llvm.org/D79467
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions