[Webkit-unassigned] [Bug 153633] New: Web Inspector: Switching between Timeline and Resources tab is slow (100ms)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 28 20:34:25 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=153633

            Bug ID: 153633
           Summary: Web Inspector: Switching between Timeline and
                    Resources tab is slow (100ms)
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: joepeck at webkit.org
                CC: bburg at apple.com, graouts at webkit.org,
                    joepeck at webkit.org, mattbaker at apple.com,
                    nvasilyev at apple.com, timothy at apple.com,
                    webkit-bug-importer at group.apple.com

Created attachment 270174
  --> https://bugs.webkit.org/attachment.cgi?id=270174&action=review
[IMAGE] Profile of switching tabs

* SUMMARY
Switching between Timeline and Resources tab is slow (100ms).

* STEPS
1. Open inspector
2. Resources > Select a resource
3. Show both sidebars
4. Show Timelines Tab
5. Show Resources Tab
  => 100ms switch

* NOTES
- See attached screenshot. We refresh CodeMirror 3 times, each time results a 30ms layout => ~100ms

  => _tabBarItemSelected
    => showDetailsSidebarPanelsForTabContentView
      => ... collapsed changed recalculate width ...
        => dispatchEvent => sidebarWidthDidChange => synchronous layout => CodeMirror refresh
    => showNavigationSidebarPanelsForTabContentView
      => ... changed recalculate width ...
        => dispatchEvent => sidebarWidthDidChange => synchronous layout => CodeMirror refresh
    => showContentView
      => ... TextEditor.shown
        => CodeMirror refresh

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160129/3238b737/attachment.html>


More information about the webkit-unassigned mailing list