<div dir="ltr"><div><div><div><div><div><div>I worked on some performance improvements for lldb 3.9, and was about to forward port them so I can submit them for inclusion, but I realized there has been a major performance drop from 3.9 to 4.0.  I am using the official builds on an Ubuntu 16.04 machine with 16 cores / 32 hyperthreads.<br><br></div>Running: time lldb-4.0 -b -o 'b main' -o 'run' MY_PROGRAM > /dev/null<br><br></div>With 3.9, I get:<br>real    0m31.782s<br>user    0m50.024s<br>sys    0m4.348s<br><br></div>With 4.0, I get:<br>real    0m51.652s<br>user    1m19.780s<br>sys    0m10.388s<br><br></div>(with my changes + 3.9, I got real down to 4.8 seconds!  But I'm not convinced you'll like all the changes.)<br><br></div>Is this expected?  I get roughly the same results when compiling llvm+lldb from source.<br><br></div>I guess I can spend some time trying to bisect what happened.  5.0 looks to be another 8% slower.<br><br></div>