Bug 89693

Summary: Web Inspector: timeline instrumentation for screen update
Product: WebKit Reporter: Andrey Kosyakov <caseq>
Component: Web Inspector (Deprecated)Assignee: Andrey Kosyakov <caseq>
Status: RESOLVED INVALID    
Severity: Normal CC: abarth, apavlov, bweinstein, dglazkov, fishd, jamesr, joepeck, keishi, loislo, nduca, pfeldman, pmuellr, rik, tkent+wkapi, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 116924    
Attachments:
Description Flags
Patch
pfeldman: review-, webkit.review.bot: commit-queue-
Archive of layout-test-results from ec2-cr-linux-01 none

Andrey Kosyakov
Reported 2012-06-21 14:58:38 PDT
This adds a new timeline record and instrumentation interface for "Update Screen" events, designating time spent pushing rendered bitmaps to the screen.
Attachments
Patch (12.23 KB, patch)
2012-06-21 15:01 PDT, Andrey Kosyakov
pfeldman: review-
webkit.review.bot: commit-queue-
Archive of layout-test-results from ec2-cr-linux-01 (614.58 KB, application/zip)
2012-06-21 20:07 PDT, WebKit Review Bot
no flags
Andrey Kosyakov
Comment 1 2012-06-21 15:01:57 PDT
WebKit Review Bot
Comment 2 2012-06-21 15:18:08 PDT
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
WebKit Review Bot
Comment 3 2012-06-21 20:07:50 PDT
Comment on attachment 148894 [details] Patch Attachment 148894 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/13036301 New failing tests: inspector/timeline/timeline-enum-stability.html
WebKit Review Bot
Comment 4 2012-06-21 20:07:54 PDT
Created attachment 148948 [details] Archive of layout-test-results from ec2-cr-linux-01 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: ec2-cr-linux-01 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Pavel Feldman
Comment 5 2012-06-21 20:21:41 PDT
Comment on attachment 148894 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=148894&action=review > Source/WebCore/ChangeLog:8 > + Added TimelineRecordType::UpdateScreen and plumbed it all the way through to InspectorInstrumentation. What does UpdateScreen mean? > Source/WebCore/inspector/front-end/TimelineModel.js:54 > + UpdateScreen: "UpdateScreen", Make sure you fix the test for this?
James Robinson
Comment 6 2012-06-22 13:32:10 PDT
I'm also curious about what "screen update" means and how it relates to our various other instrumentation points.
Andrey Kosyakov
Comment 7 2012-06-22 17:04:54 PDT
(In reply to comment #6) > I'm also curious about what "screen update" means and how it relates to our various other instrumentation points. That was meant as a time we spend in the renderer waiting for browser to flush the composited bitmap to the screen -- basically, time between DidInitiatePaint() and DidFlushPaint(). I reckon this is somewhat difficult to express in terms that would make sense to a user. Besides, this is an async event, so rather than visualizing the entire duration of event, we probably want to just show the time the beginning of the next frame was delayed by waiting for DidFlushPaint. The bottom line -- scratch that implementation, I'll think a bit and have another approach.
Brian Burg
Comment 8 2014-12-12 14:37:07 PST
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests. Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.
Note You need to log in before you can comment on or make changes to this bug.