[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slow libunwind performance with my build

From: Borges, Matt
Subject: Re: Slow libunwind performance with my build
Date: Tue, 16 Mar 2021 15:40:07 +0000
User-agent: Microsoft-MacOutlook/16.46.21021202

Hi Dave,


Thanks a lot for the quick reply.  Your suggestion below worked 😊.





From: Dave Watson <>
Date: Monday, March 15, 2021 at 6:22 PM
To: Matt Borges <>
Cc: "" <>
Subject: Re: Slow libunwind performance with my build


Probably a configure flag, try some combination of







On Mon, Mar 15, 2021 at 3:17 PM Borges, Matt <> wrote:



Sorry if this gets sent twice...


I grabbed the 1.5.0 source and built libunwind myself on a linux SUSE system.  On this linux machine there already exists libunwind in /usr/lib64 but I want to build it myself.  To build I’m running, then configure and finally make.  When I run my test program which gets callstacks once a millisecond, I see that the libunwind I built takes 4 times longer than the one installed on the system.


I’ve also tried adding -O2 -m64 to CFLAGS and CXXFLAGS but it doesn’t make a difference.


Is there anything obvious in the above steps that would indicate why there is this huge difference in performance with the version I am building?  For example, do I have to pass any options to, configure, or make to perform an optimized production build?


Thanks in advance,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]