Changeset 81448 in webkit


Ignore:
Timestamp:
Mar 18, 2011 12:09:55 AM (13 years ago)
Author:
Adam Roben
Message:

Address a review comment I missed in r81445

  • BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParserWorker.js:

(LeaksParserWorker.prototype._parseLeaks): Anchor the RegExp used to find the number of
leaked bytes to speed up searching on long lines.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParserWorker.js

    r81446 r81448  
    3737        var currentSize = 0;
    3838        text.split("\n").forEach(function(line) {
    39             var match = /Leak:.*\ssize=(\d+)\s/.exec(line);
     39            var match = /^Leak:.*\ssize=(\d+)\s/.exec(line);
    4040            if (match) {
    4141                currentSize = parseInt(match[1], 10);
  • trunk/Tools/ChangeLog

    r81447 r81448  
     12011-03-17  Adam Roben  <aroben@apple.com>
     2
     3        Address a review comment I missed in r81445
     4
     5        * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParserWorker.js:
     6        (LeaksParserWorker.prototype._parseLeaks): Anchor the RegExp used to find the number of
     7        leaked bytes to speed up searching on long lines.
     8
    192011-03-17  Adam Roben  <aroben@apple.com>
    210
Note: See TracChangeset for help on using the changeset viewer.