[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

eric at webkit.org eric at webkit.org
Wed Dec 22 15:11:23 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit b546c7a6276bdf761a8daf97660059cf5075ba32
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Oct 28 21:56:23 2010 +0000

    2010-10-28  Eric Seidel  <eric at webkit.org>
    
            Reviewed by Adam Barth.
    
            Make suggest-reviewers slightly faster
            https://bugs.webkit.org/show_bug.cgi?id=48562
    
            Add @memoized to one more common call.
    
            * Scripts/webkitpy/common/checkout/api.py:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70815 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index d5e8d5f..398b56e 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -2,6 +2,17 @@
 
         Reviewed by Adam Barth.
 
+        Make suggest-reviewers slightly faster
+        https://bugs.webkit.org/show_bug.cgi?id=48562
+
+        Add @memoized to one more common call.
+
+        * Scripts/webkitpy/common/checkout/api.py:
+
+2010-10-28  Eric Seidel  <eric at webkit.org>
+
+        Reviewed by Adam Barth.
+
         webkit-patch suggest-reviewers -g 260550a6e30b7bf34f16bdb4a5396cf26264fc1c is still very slow
         https://bugs.webkit.org/show_bug.cgi?id=48536
 
diff --git a/WebKitTools/Scripts/webkitpy/common/checkout/api.py b/WebKitTools/Scripts/webkitpy/common/checkout/api.py
index 90663dc..becc7b9 100644
--- a/WebKitTools/Scripts/webkitpy/common/checkout/api.py
+++ b/WebKitTools/Scripts/webkitpy/common/checkout/api.py
@@ -32,6 +32,7 @@ import StringIO
 from webkitpy.common.checkout.changelog import ChangeLog
 from webkitpy.common.checkout.commitinfo import CommitInfo
 from webkitpy.common.checkout.scm import CommitMessage
+from webkitpy.common.memoized import memoized
 from webkitpy.common.net.bugzilla import parse_bug_id
 from webkitpy.common.system.executive import Executive, run_command, ScriptError
 from webkitpy.common.system.deprecated_logging import log
@@ -59,6 +60,7 @@ class Checkout(object):
         changed_files = self._scm.changed_files_for_revision(revision)
         return [self._latest_entry_for_changelog_at_revision(path, revision) for path in changed_files if self._is_path_to_changelog(path)]
 
+    @memoized
     def commit_info_for_revision(self, revision):
         committer_email = self._scm.committer_email_for_revision(revision)
         changelog_entries = self.changelog_entries_for_revision(revision)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list