Bug 136799

Summary: Web Inspector: incrementally create gradient and color markers for CodeMirror
Product: WebKit Reporter: Brian Burg <burg>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: graouts, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
profiler output none

Brian Burg
Reported 2014-09-12 23:09:10 PDT
A source of unresponsiveness when inspecting the inspector is that all the source code markers are created underneath handling of one backend message. I think it should be straightforward to use requestAnimationFrame to split up marker creation. I haven't looked too hard at the code, but we could do something like add markers for the region we anticipate to be initially visible, then mark the rest on later frames.
Attachments
profiler output (275.55 KB, image/png)
2014-09-12 23:09 PDT, Brian Burg
no flags
Radar WebKit Bug Importer
Comment 1 2014-09-12 23:09:22 PDT
Brian Burg
Comment 2 2014-09-12 23:09:53 PDT
Created attachment 238080 [details] profiler output
Note You need to log in before you can comment on or make changes to this bug.