On Sat, 2011-03-19 at 20:47 +0300, Kirill Smelkov wrote:

>                         1000    2000    4000    5000    6000    7000
> 
> 3.82.90 (with patch,    2.2s    4.8s    14.0s   23.5s   31.6s   44.4s
>      -O3, no asserts)
> 3.81 -O3                2.5s    5.2s    11.5s   14.1s   18.3s   23.8s

I suspect it's to do with all the extra stuff added into the strcache;
as I mentioned before, it turns out that every temporary filename we
construct for pattern rule searches goes into the strcache even if they
don't match anything: that's a lot of extra memory.

I wonder, if you run make (both old and new) with the "-r" flag, if
you'll see similar divergence in performance.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psm...@gnu.org>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to