Changeset 95632 in webkit


Ignore:
Timestamp:
Sep 21, 2011 8:19:16 AM (13 years ago)
Author:
loislo@chromium.org
Message:

Web Inspector: make WebInspector a bit more timeline friendly.
https://bugs.webkit.org/show_bug.cgi?id=68534

I found that the maximum captured stack frame depth tracked by timeline is not
very convenient because the average depth of call stack considerably more than five.
Another useful trick is console.timeStamp for all backend calls.

Reviewed by Yury Semikhatsky.

  • inspector/CodeGeneratorInspector.pm:
  • inspector/front-end/TimelinePanel.js:

(WebInspector.TimelinePanel.prototype._toggleTimelineButtonClicked):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r95631 r95632  
     12011-09-21  Ilya Tikhonovsky  <loislo@chromium.org>
     2
     3        Web Inspector: make WebInspector a bit more timeline friendly.
     4        https://bugs.webkit.org/show_bug.cgi?id=68534
     5
     6        I found that the maximum captured stack frame depth tracked by timeline is not
     7        very convenient because the average depth of call stack considerably more than five.
     8        Another useful trick is console.timeStamp for all backend calls.
     9
     10        Reviewed by Yury Semikhatsky.
     11
     12        * inspector/CodeGeneratorInspector.pm:
     13        * inspector/front-end/TimelinePanel.js:
     14        (WebInspector.TimelinePanel.prototype._toggleTimelineButtonClicked):
     15
    1162011-09-21  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
    217
  • trunk/Source/WebCore/inspector/CodeGeneratorInspector.pm

    r94306 r95632  
    861861    sendMessageObjectToBackend: function(messageObject)
    862862    {
     863        console.timeStamp(messageObject.method);
    863864        var message = JSON.stringify(messageObject);
    864865        InspectorFrontendHost.sendMessageToBackend(message);
  • trunk/Source/WebCore/inspector/front-end/TimelinePanel.js

    r95404 r95632  
    348348        else {
    349349            this._clearPanel();
    350             WebInspector.timelineManager.start();
     350            WebInspector.timelineManager.start(30);
    351351            WebInspector.userMetrics.TimelineStarted.record();
    352352        }
Note: See TracChangeset for help on using the changeset viewer.