[Webkit-unassigned] [Bug 9395] New: Make prepare-ChangeLog faster

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Jun 10 14:29:37 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9395

           Summary: Make prepare-ChangeLog faster
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tools
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: ddkilzer at kilzer.net


Currently, prepare-ChangeLog does the following time-consuming things:

1. Runs "svn stat" on the entire WebKit directory to find the files that have
changed.
2. Runs "svn diff" only on the files that were changed from Step 1 to find the
changed lines.
3. Runs "svn diff" on the entire LayoutTests directory if there are any changes
to WebCore to find out if any tests have been changed or been added.

Since "svn diff" runs much faster than "svn stat" on the entire WebKit
directory, the following speeds up prepare-ChangeLog from about 2.5 minutes to
just under 1 minute on a recent test (Bug 9394):

1. Run "svn diff" on the entire WebKit directory and save the output to a temp
file.  Then run "svn stat" only on the changed files from Step 1.
2. Use the the temp file from Step 1 to find the changed lines.
3. Set a variable ($changedLayoutTests) during "svn stat" for Step 1 to
determine if any changes have been made to LayoutTests, saving the need to run
"svn diff LayoutTests" later.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list