Changeset 150009 in webkit


Ignore:
Timestamp:
May 13, 2013 7:03:57 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: Get rid of native-memory-snapshot in performance test
https://bugs.webkit.org/show_bug.cgi?id=116013

Patch by Seokju Kwon <Seokju Kwon> on 2013-05-13
Reviewed by Andreas Kling.

Remove native-memory-snapshot.html from PerformanceTests.

  • inspector/native-memory-snapshot.html: Removed.
  • inspector/performance-test.js:

(initialize_TimeTracker.Timer):
(initialize_TimeTracker.Timer.prototype._dump):
(initialize_TimeTracker.InspectorTest.runPerformanceTest):

Location:
trunk/PerformanceTests
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/PerformanceTests/ChangeLog

    r148159 r150009  
     12013-05-13  Seokju Kwon  <seokju.kwon@gmail.com>
     2
     3        Web Inspector: Get rid of native-memory-snapshot in performance test
     4        https://bugs.webkit.org/show_bug.cgi?id=116013
     5
     6        Reviewed by Andreas Kling.
     7
     8        Remove native-memory-snapshot.html from PerformanceTests.
     9
     10        * inspector/native-memory-snapshot.html: Removed.
     11        * inspector/performance-test.js:
     12        (initialize_TimeTracker.Timer):
     13        (initialize_TimeTracker.Timer.prototype._dump):
     14        (initialize_TimeTracker.InspectorTest.runPerformanceTest):
     15
    1162013-04-10  Benjamin Poulain  <bpoulain@apple.com>
    217
  • trunk/PerformanceTests/inspector/performance-test.js

    r120618 r150009  
    88        this._test = test;
    99        this._times = {};
    10         this._sizes = {};
    1110        this._testStartTime = new Date();
    1211        this._heapSizeDeltas = [];
     
    2625                this._times[cookie.name] = [];
    2726            this._times[cookie.name].push(endTime - cookie.startTime);
    28         },
    29 
    30         reportSize: function(name, size)
    31         {
    32             if (!this._sizes[name])
    33                 this._sizes[name] = [];
    34             this._sizes[name].push(size);
    3527        },
    3628
     
    8375            for (var testName in this._times)
    8476                InspectorTest.dumpTestStats(groupName, testName, this._times[testName], "ms");
    85 
    86             for (var testName in this._sizes)
    87                 InspectorTest.dumpTestStats(groupName, testName, this._sizes[testName], "kB", 1024);
    8877
    8978            var url = WebInspector.inspectedPageURL;
Note: See TracChangeset for help on using the changeset viewer.