bug-make
[Top][All Lists]
Advanced

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

[bug #16140] make 3.81rc2: performance decrease when searching builtin i


From: anonymous
Subject: [bug #16140] make 3.81rc2: performance decrease when searching builtin implicit rules compared to 3.80
Date: Tue, 21 Mar 2006 14:33:04 +0000
User-agent: Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.7.2) Gecko/20040803

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/





reply via email to

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