URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16140>

                 Summary: make 3.81rc2: performance decrease when searching
builtin implicit rules compared to 3.80
                 Project: make
            Submitted by: None
            Submitted on: Di 21.03.2006 um 14:33
                Severity: 3 - Normal
              Item Group: Enhancement
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
       Component Version: CVS
        Platform Version: Any
           Fixed Release: None

    _______________________________________________________

Details:

make 3.81rc2 shows a performance decrease of a factor 3 (at least in my case)
compared to make 3.80 in the "everything up to date" case. This can be
narrowed to the part searching the builtin implicit rules. Running 'make -r'
(because the builtins are not necessary in my case) produces identical times
for 3.80 and 3.81rc2.

A significant amount of time is spent in set_file_variables() inside
pattern_search() which has not been called in 3.80 before. OTOH, less time is
spent in file_impossible_p() and file_exists_p() (see attached gprof
reports).









    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Di 21.03.2006 um 14:33  Name: gprof-reports.tar.gz  Size: 21,19KB   By:
None
gprof reports for make 3.80 and 3.81rc2
<http://savannah.gnu.org/bugs/download.php?item_id=16140&item_file_id=3511>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16140>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/



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

Reply via email to