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



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to