[Lldb-commits] [PATCH] D32820: Parallelize demangling

Scott Smith via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon May 22 12:16:22 PDT 2017


scott.smith marked an inline comment as done.
scott.smith added a comment.

In https://reviews.llvm.org/D32820#759141, @emaste wrote:

> > Without tcmalloc, on Ubuntu 14.04, 40 core VM: 13%
> >  With tcmalloc, on Ubuntu 14.04, 40 core VM: 24% (built using cmake ... -DCMAKE_EXE_LINKER_FLAGS=-ltcmalloc_minimal, which amazingly only works when building with clang, not gcc...)
>
> Do you have a brief set of steps you use for benchmarking? I'd like to compare on FreeBSD using a similar test.


time lldb -b -o 'b main' -o 'run' /my/program
(sometimes I use 'perf stat' instead of time; I don't know if FreeBSD has something similar to Linux's perf - basically instruction count, cycle count, branch counts and mispredict rate, etc.)

my program happens to have a lot of symbols and a lot of libraries.  I tried this benchmark with lldb itself, and all but one of my changes have no effect because lldb only links in one large library, so YMMV depending on the application.


Repository:
  rL LLVM

https://reviews.llvm.org/D32820





More information about the lldb-commits mailing list