[PATCH] D27960: Use exact vector capacities to store DWARF line tables

Simon Que via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 21 13:31:09 PST 2016


sque added a comment.

Dry run max RSS (kB) and duration (s):
314544 5.64
314564 5.36
314544 5.71

shrink_to_fit() max RSS (kB) and duration (s):
318796 5.89
318816 5.57
318796 4.54

With dry run it uses about 1.5% less memory than calling shrink_to_fit(). But the runtime durations are about the same.


https://reviews.llvm.org/D27960





More information about the llvm-commits mailing list