summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2015-12-11 23:21:38 +0000
committerDiego Novillo <dnovillo@google.com>2015-12-11 23:21:38 +0000
commit10cf124bb920b85efcea7f7b313f7e3053f2b87c (patch)
tree41ca48fb38260c74bc34618019e5e025e7fbbbf1 /lldb/packages/Python/lldbsuite/test
parentfabab4b7dd7d4ccefec2bb6cd405044429637ba6 (diff)
downloadbcm5719-llvm-10cf124bb920b85efcea7f7b313f7e3053f2b87c.tar.gz
bcm5719-llvm-10cf124bb920b85efcea7f7b313f7e3053f2b87c.zip
SamplePGO - Reduce memory utilization by 10x.
DenseMap is the wrong data structure to use for sample records and call sites. The keys are too large, causing massive core memory growth when reading profiles. Before this patch, a 21Mb input profile was causing the compiler to grow to 3Gb in memory. By switching to std::map, the compiler now grows to 300Mb in memory. There still are some opportunities for memory footprint reduction. I'll be looking at those next. llvm-svn: 255389
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud